Capital Gains Tax Calculator
Estimate 2025 & 2026 US federal short-term vs. long-term capital gains tax, 3.8% NIIT, and state tax.
Enter your marginal state rate on this gain. Top state rates (e.g., CA 13.3%) apply only above $1M+.
NIIT & MAGI settingsEst. from taxable
The 3.8% Net Investment Income Tax (NIIT) threshold ($200,000 for Single) is based on MAGI (before standard/itemized deductions), not Taxable Income.
- Federal Tax
- $5,786
- State Tax (5%)
- $1,250
- 3.8% NIIT
- $0
Estimated tax difference: $2,036 lower under long-term rates, assuming the same realized gain and ordinary income (market price changes during a longer hold are not modeled).
Tax-Lot Optimization Platforms
Partner disclosure · Affiliate links (no impact on calculations)Supports specific tax-lot matching (FIFO/LIFO/Highest Cost) and institutional routing.
Frequently Asked Questions
Are stock options profits taxed as short-term or long-term capital gains?
Most equity option trades held for 1 year or less are taxed as short-term capital gains at ordinary income tax rates. Long LEAPS options held longer than 12 months before closing qualify for long-term rates, while certain broad-based index options (Section 1256 contracts like SPX) receive 60/40 long-term/short-term treatment.
When does the 3.8% Net Investment Income Tax (NIIT) apply?
The 3.8% NIIT applies to the lesser of net investment income or Modified Adjusted Gross Income (MAGI) above $200,000 for Single/Head of Household filers or $250,000 for Married Filing Jointly. Because MAGI is measured before standard or itemized deductions, use the NIIT & MAGI settings if your deductions put you near the threshold.
How does capital gain bracket stacking work?
Capital gains stack on top of your taxable ordinary income. Only the dollars crossing into a higher bracket are taxed at that higher rate — not your entire gain.