Social Security Tax Calculator: How Much of Your Benefit Is Taxable?
Short answer: between 0% and 85% of your Social Security benefit is taxable, depending on your provisional income: your other income, tax-exempt interest and half of your benefit. The thresholds are $25,000 and $34,000 for a single filer and $32,000 and $44,000 for a married couple, and they have never been indexed for inflation.
Yes, a capital gain counts. A one-time sale pushes provisional income up, which can make a lot more of your benefit taxable in that one year. This calculator shows your taxable Social Security with and without the gain, what the extra costs in tax, and what it does to your Medicare premiums.
By Hans Goldstein, EA, Enrolled Agent, enrolled to practice before the IRS. Updated December 2026.
2027 federal brackets (IRS Rev. Proc. 2026-35), SSA Section 86 thresholds, CMS 2027 Medicare premiums and IRMAA tiers, state rates as of December 2026. Estimates, not tax advice.
Worked example
A single retiree, age 67, collects $36,000 a year of Social Security and has $28,000 of other income. They sell an investment and realize a $150,000 long-term gain.
| Worked example | Amount |
|---|---|
| Taxable Social Security without the gain | $14,700 |
| Taxable Social Security with the gain | $30,600 |
| Extra federal tax caused by the extra taxable benefit | $4,620 |
| Tax most calculators show (on the gain itself) | $31,158 |
| Medicare surcharge two years later | $4,788 |
| Real cost | $40,566 |
How Social Security benefits become taxable
The IRS does not tax your benefit dollar for dollar. It compares provisional income to two thresholds. Provisional income is your adjusted gross income (not counting Social Security), plus tax-exempt interest, plus half of your annual benefit.
| Filing status | Up to 50% taxable above | Up to 85% taxable above |
|---|---|---|
| Single, head of household | $25,000 | $34,000 |
| Married filing jointly | $32,000 | $44,000 |
Between the two thresholds, 50 cents of each extra dollar of provisional income makes 50 cents of benefit taxable. Above the second threshold it is 85 cents of benefit per dollar, until 85% of your total benefit is taxable. The taxable amount is added to your other income and taxed at ordinary rates from 10% to 37%.
Does a capital gain affect Social Security?
Your benefit check does not shrink. But a capital gain, including the taxable gain from selling a home, rental, land, stock or a business, is part of adjusted gross income, so it raises provisional income dollar for dollar. For a retiree who was at 50% taxable, a large gain can move the benefit to the 85% cap in a single year.
That cost is rarely in a capital gains calculator, because the extra taxable benefit is ordinary income, not gain. Between roughly provisional income of $34,000 and the point where 85% of the benefit is taxable, each extra dollar is taxed more than it looks. People call this the tax torpedo.
What the gain does to Medicare
Adjusted gross income, including the taxable gain and the taxable part of your benefit, also sets your Medicare Part B and Part D premium two years later (IRMAA). The 2027 tiers start at $112,000 single and $224,000 married and climb in five steps to $500,000 and $750,000. The calculator adds that surcharge to your real cost, using the CMS 2027 premium table.
Looking for payroll tax (FICA) instead?
The Social Security payroll tax is 6.2% for the employee and 6.2% for the employer on wages up to the 2027 wage base of $192,300, plus 1.45% Medicare each. Self-employed people pay both halves, 12.4% on the first $192,300 of net earnings. This page is about the income tax on benefits you receive.
Frequently asked questions
How much of my Social Security is taxable?
None, up to 50% or up to 85%, depending on provisional income (other income, tax-exempt interest and half your benefit). Single filers start at $25,000 and hit the 85% tier above $34,000. Married couples filing jointly start at $32,000 and hit 85% above $44,000. Use the calculator above for your own numbers.
Does capital gains affect Social Security?
A capital gain does not change your benefit amount, but it is included in the income that decides how much of the benefit is taxable. A large gain in one year can raise your taxable benefit to the 85% maximum and push your Medicare premiums higher two years later.
What is provisional income?
Provisional income equals your adjusted gross income (without Social Security), plus tax-exempt interest, plus half of your annual Social Security benefit. It is the figure compared to the $25,000/$34,000 and $32,000/$44,000 thresholds.
Are the Social Security tax thresholds indexed for inflation?
No. The $25,000 and $34,000 (single) and $32,000 and $44,000 (joint) thresholds were set in 1983 and 1993 and have never been adjusted, which is why more retirees pay tax on benefits every year.
Do states tax Social Security benefits?
Most do not. A small number of states tax benefits in part, often with age or income exemptions. This calculator treats Social Security as a federal tax item only; state tax on the gain itself is included.
Can I avoid tax on my Social Security?
You cannot avoid the rules, but you can manage the income that feeds them. Spreading a gain over several years, qualified charitable distributions from an IRA, and timing the sale into a lower-income year can all reduce how much of your benefit is taxed. Ask your CPA what fits your situation.
Run it on your real return
A free 15-minute call with Hans Goldstein: which levers fit your sale, what the Social Security and Medicare effects look like on your actual numbers, and what to ask your CPA.
Book 15 minutes 213-414-2808Educational estimate, not tax, legal or financial advice. Figures use 2027 federal brackets and thresholds (IRS Rev. Proc. 2026-35), the Social Security benefit-taxation rules in IRC Section 86, CMS 2027 Medicare premiums and IRMAA tiers, and state rates as of December 2026 (California uses the FTB 2026 schedule until the 2027 schedule is published). Later Medicare years hold the 2027 tiers flat. Your CPA should confirm any figure before you act. By Hans Goldstein, EA, Enrolled Agent (enrolled to practice before the IRS), reviewed December 2026.