Capital Gains Tax Calculator
Estimate capital gains tax: short vs long-term rates, 2026 0%/15%/20% thresholds, the 3.8% NIIT and the $250k/$500k home-sale exclusion.
Results appear instantly as you type — nothing is sent to any server.
Selling stocks, funds, crypto or property? Long-term gains (held over a year) are taxed at 0/15/20% depending on total taxable income; short-term gains are taxed as ordinary income up to 37%. High earners also owe the 3.8% Net Investment Income Tax. This calculator applies the 2026 thresholds, including the Section 121 exclusion for primary residences.
The stacking mechanic that surprises everyone
Long-term gains do not get their own bracket ladder — they sit on top of ordinary income. A married couple with $80,000 taxable wages pays 0% on the first $18,900 of gains (filling the space to the $98,900 0% ceiling) and 15% beyond. The 2026 ceilings: 0% up to $49,450 single / $98,900 MFJ / $66,200 HoH; 15% up to $545,500 / $613,700 / $579,600; 20% above. NIIT adds 3.8% on investment income above $200,000/$250,000 MAGI (not indexed for inflation). Primary-residence exclusion: $250,000/$500,000 if you lived there 2 of the last 5 years.
Frequently asked questions
What is the capital gains rate for 2026?
Long-term: 0% / 15% / 20% based on taxable income (ceilings $49,450/$545,500 single). Short-term: ordinary rates 10–37%. Plus 3.8% NIIT for high earners.
How is crypto taxed?
Same rules as stocks: over a year = long-term rates; under = ordinary. Every disposal is a taxable event — track basis per lot.
How do I reduce capital gains tax?
Hold past one year, harvest losses against gains, realize gains in 0%-bracket years, use tax-advantaged accounts, or step-up basis at death.