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.
Worked example (2026, single)
- Other income $60,000 − standard deduction = ordinary taxable income $43,900.
- The 0% band for single filers ends at $49,450 of taxable income, so $5,550 of the gain is untaxed and the other $14,450 is taxed at 15% = $2,168.
- The extra tax from the gain, $2,168 (10.84% of the gain).
| Filing status | 0% rate up to | 15% 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
- Internal Revenue Service (IRS): Rev. Proc. 2025-32: 2026 tax figures
- Internal Revenue Service (IRS): Topic no. 409: capital gains and losses
- Internal Revenue Service (IRS): Topic no. 559: net investment income tax
Related calculators
- Federal income tax calculator: Tax, bracket and refund from wages and deductions
- Tax bracket calculator: Your bracket, tax and effective rate
- Investment calculator: Growth of a lump sum and monthly deposits
- ROI calculator: Return on investment and annualised return
- Paycheck calculator: Federal take-home pay by pay period
- Self-employment tax calculator: Social Security and Medicare on freelance income
- Quarterly estimated tax calculator: Payments and due dates that avoid the penalty
- 1099 vs W-2 calculator: Take-home pay compared after tax
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.