Capital Gains Tax Calculator 2025 (Federal + NIIT)
This calculator works out your 2025 federal capital gains tax — the 0% / 15% / 20% long-term rates on the IRS 2025 thresholds, ordinary rates for short-term gains, and the 3.8% Net Investment Income Tax for high earners.
Federal long-term gains (assets held over one year) are taxed at 0%, 15%, or 20% by total taxable income. For 2025 the 0% band runs to $48,350 (single) or $96,700 (married filing jointly), 15% up to $533,400 (single) or $600,050 (joint), and 20% above. Short-term gains are taxed at ordinary federal rates. High earners also owe the 3.8% Net Investment Income Tax (NIIT) on the lesser of the gain and modified AGI over $200,000 (single) / $250,000 (joint) / $125,000 (married filing separately).
Enter your gain, other taxable income, filing status and holding period below. Everything runs in your browser — no amounts or personal data are transmitted. For your state’s tax on the same gain, open the matching 2025 state capital-gains page.
Estimate, not tax advice. Excludes state and local taxes and special-rate assets (collectibles, qualified small-business stock, depreciation recapture). Verify at irs.gov.