Capital gains tax on $1,000,000
On a $1,000,000 long-term gain in 2026, federal tax runs from $192,488 (single, no other income) to $222,420 (single, $250,000 income). Selling within a year can cost much more.
Calculate with my incomeFederal tax on a $1,000,000 gain
| Situation | Capital gains tax | NIIT (3.8%) | Total federal | Effective rate |
|---|---|---|---|---|
| Single, no other income | $162,088 | $30,400 | $192,488 | 19.2% |
| Single, $50,000 income | $172,088 | $32,300 | $204,388 | 20.4% |
| Single, $100,000 income | $176,920 | $34,200 | $211,120 | 21.1% |
| Single, $250,000 income | $184,420 | $38,000 | $222,420 | 22.2% |
| Married filing jointly, $100,000 income | $168,040 | $32,300 | $200,340 | 20.0% |
| Married filing jointly, $250,000 income | $180,205 | $38,000 | $218,205 | 21.8% |
| Single, $100,000 income, held under a year | $343,830 | $34,200 | $378,030 | 37.8% |
Long-term gains are taxed at 0%, 15% or 20% depending on where the gain lands on top of your other taxable income, after the standard deduction. The 3.8% Net Investment Income Tax applies to the part of the gain that takes your income above $200,000 (single) or $250,000 (married filing jointly). Short-term gains are taxed as ordinary income at up to 37%.
State tax comes on top in most states. See the rate for California, New York, Texas, Florida or any other state from the list on the home page.
Your details
$
Income before capital gains. The 2026 standard deduction is subtracted automatically$
Sale price minus your cost basis (what you originally paid)2026 IRS rates — Rev. Proc. 2025-32
Your tax estimate
Estimated total tax on the gain
$208,920
on a $1,000,000 long-term gain
Effective rate: 20.9%
79%you keep
Net gain (you keep)$791,080
Federal CGT$175,670
NIIT (3.8%)$33,250
| Capital gain | $1,000,000 |
| Federal long-term rate | 17.6% |
| Federal CGT | $175,670 |
| Net Investment Income Tax (3.8%) | $33,250 |
| Total federal tax | $208,920 |
| Total tax | $208,920 |
| Net gain after tax | $791,080 |
Ways to reduce this bill
- You owe the 3.8% NIIT because your income exceeds the threshold. Tax-loss harvesting other positions this year can directly offset it.
Estimate only — 2026 IRS federal rates plus approximate state top marginal rates. Consult a tax professional before acting on these numbers.