wiseowlcalc
Country: United StatesUSA

Capital gains tax calculator

A single filer with $60,000 of other income who sells for a $20,000 long-term gain pays $2,168 of federal tax on it for 2026: $5,550 falls in the 0% band and $14,450 is taxed at 15%.

$
Wages and other ordinary income this year.
$
Held more than a year (and qualified dividends).
$
Held a year or less, taxed as ordinary income.

Tax on capital gains

$2,168

The extra federal tax caused by $20,000 of gains is $2,168, 10.84% of the gains. $5,550 falls in the 0% band, $14,450 at 15% and $0 at 20%.

  • At 0%$5,550
  • At 15%$14,450
Gain taxed at 0%
$5,550
Gain taxed at 15%
$14,450
Gain taxed at 20%
$0
Tax on long-term gains
$2,168
Rate on the next gain dollar
15%
Tax on gains$2,168

How is capital gains tax calculated?

Gains on assets held more than a year are long-term and taxed at 0%, 15% or 20% depending on taxable income. Gains on assets held a year or less are short-term and taxed as ordinary income. The long-term rate depends on where the gain sits on top of your other taxable income.

tax = gain in 0% band × 0% + gain in 15% band × 15% + gain in 20% band × 20% (+ 3.8% net investment income tax)

Worked example (2026, single)

2026 long-term capital gains rate thresholds (taxable income)
Filing status0% rate up to15% rate up to (20% above)
Single$49,450$545,500
Married filing jointly$98,900$613,700
Married filing separately$49,450$306,850
Head of household$66,200$579,600

When does the 3.8% net investment income tax apply?

Higher earners also pay 3.8% on investment income above $200,000 of modified AGI ($250,000 joint). A married couple with $500,000 of income and a $300,000 gain pays $52,705 of gains tax plus $11,400 of net investment income tax. Collectibles, depreciation recapture and small business stock have other rates that are not modelled. Rules: 2026. Figures last checked 2026-11-25.

Results are estimates from the numbers you enter, not tax advice. Your return is what counts.

Questions people ask

What is the long-term capital gains tax rate?

0%, 15% or 20% depending on taxable income. For 2026 a single filer pays 0% up to $49,450, 15% up to $545,500 and 20% above.

How long must I hold an asset for the long-term rate?

More than one year: the day after the first anniversary of buying it. Use the holding period check in the calculator.

Are short-term gains taxed more?

Yes. They are added to ordinary income and taxed at your regular bracket rates, up to 37%, rather than at 0%, 15% or 20%.

Can I pay zero capital gains tax?

Yes, if your total taxable income including the gain stays within the 0% band ($49,450 single, $98,900 joint for 2026).

Sources

Published by wiseowlcalc · Last updated · United States, 2026 · Checked by wiseowlcalc against the sources above; not yet reviewed by a named professional (editorial policy). 25% and 28% gain rates and state tax are not modelled.

Calculators give estimates for planning only. They are not financial, tax, legal or medical advice. Check important decisions with a qualified professional.