Capital Gains Tax Calculator (2026)
Estimate federal tax on short- and long-term capital gains using 2026 brackets, including the 3.8% net investment income tax.
Your results
Total tax on gains
$4,850
Long-term gains tax
$3,750
Short-term gains tax
$1,100
Net investment income tax
$0
Effective rate on gains
16.2%
- 2026 long-term rates for your filing status: 0% up to $49,450 of taxable income, 15% up to $545,500, 20% above.
- NIIT is estimated using taxable income plus the standard deduction as a proxy for MAGI. Collectibles and some real estate gains are taxed at different rates.
Explore taxes
Put your result to work with our taxes guides and comparisons.
How this calculator works
Short-term gains are added to your ordinary income and taxed at your regular brackets. Long-term gains are stacked on top of ordinary taxable income and taxed at 0%, 15% or 20% depending on where they fall. If your modified AGI exceeds $200,000 (single) or $250,000 (married filing jointly), the 3.8% net investment income tax may also apply.
How to use your result
- Hold investments more than a year to qualify for lower long-term rates.
- Harvest losses to offset gains; up to $3,000 of net losses can offset ordinary income.
- Low-income years may let you realize gains at the 0% rate.
Frequently asked questions
How are capital gains taxed?
Do I pay capital gains tax when I sell my home?
Related calculators
- Federal Income Tax Calculator (2026)Estimate your 2026 federal income tax, effective and marginal rates, with a bracket-by-bracket breakdown.
- Tax Refund EstimatorEstimate whether you will get a federal tax refund or owe for 2026, based on income, withholding, deductions and credits.
- Self-Employment Tax CalculatorCalculate 2026 self-employment tax (Social Security and Medicare) on freelance or 1099 income, plus estimated income tax.
- Quarterly Estimated Tax Calculator (1099)Work out your quarterly estimated tax payments for 1099 or side income, including safe-harbor amounts to avoid penalties.
This calculator provides educational estimates only and is not financial, tax, legal or investment advice. Results depend on the inputs you enter and simplified assumptions, and they are not a quote or offer from any provider. Tax figures use published IRS amounts for the stated tax year. Confirm details with the provider or a qualified professional before you act. We do not store your inputs. They are kept in this page’s web address so you can bookmark or share your results, which means anyone you send the link to can see the numbers in it.