Skip to main content
Free calculatorUpdated:

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 numbers

$
$
$

Default values are examples only, not current market rates or offers. Replace them with your own figures. Your numbers are saved in this page's address, so you can bookmark it or use Share results to send it.

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.

Go to Taxes
Advertising disclosure: TheSavvyAmericans may receive compensation when you apply for or open a product through links on this page. This does not influence our editorial evaluations. Products are reviewed using a documented methodology. Learn how we make money.

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?
Long-term gains get preferential rates of 0%, 15% or 20%. Short-term gains are taxed as ordinary income.
Do I pay capital gains tax when I sell my home?
You may exclude up to $250,000 of gain ($500,000 for married couples) on a main home you owned and lived in for two of the last five years.

Browse all calculators

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.

Smarter money choices for everyday Americans.