US Capital Gains Tax Calculator (2025)
Estimate federal tax on a capital gain for 2025. Long-term gains use the 0/15/20% rates based on your income; short-term gains are taxed as ordinary income.
Eligibility & Estimate Tool
2025 RulesProfit from the sale (sale price minus cost basis).
Your taxable income before this gain (after deductions). Long-term gains stack on top of this.
Federal only. Excludes the 3.8% Net Investment Income Tax and state tax.
Official sources
Disclaimer: Estimate only. Federal capital gains tax based on the 2025 brackets. Excludes the 3.8% NIIT, state tax, the qualified-dividend interaction, and loss carryovers. Not tax advice.
Frequently Asked Questions
What are the long-term capital gains rates?expand_more
For 2025, long-term gains are taxed at 0%, 15%, or 20% depending on your total taxable income and filing status. The gain stacks on top of your other income to decide which rates apply.
How are short-term gains taxed?expand_more
Assets held one year or less are short-term and taxed as ordinary income at your marginal federal rate, which this calculator estimates as the increase in your income tax.
Does this include the 3.8% NIIT?expand_more
No. The Net Investment Income Tax of 3.8% can apply to higher earners and is not included here, nor is state capital gains tax.
What this calculator does
Estimate federal tax on a capital gain for 2025. Long-term gains use the 0/15/20% rates based on your income; short-term gains are taxed as ordinary income.
Who it is for
Investors and home sellers estimating federal tax on a profit from selling stocks, funds, crypto, or property.
How it works
For long-term gains, your gain is stacked on top of your other taxable income; the portion that falls in each 0/15/20% band is taxed at that rate. For short-term gains, the calculator adds the gain to your income and measures the increase in ordinary federal income tax.
Example calculation
Single filer with 50,000 of other taxable income and a 20,000 long-term gain: the gain stacks from 50,000 to 70,000, which is within the 15% band (above the 48,350 zero-rate threshold), so the tax is 15% of 20,000 = 3,000.
Regional variations
Most states tax capital gains as ordinary income at their own rates; a few have no income tax. State tax is not included here.
Common mistakes to avoid
- Assuming all gains are taxed at 15% - the rate depends on your total income and can be 0% or 20%.
- Treating a short-term gain as long-term; holding period is measured from the day after purchase to the sale date.
- Forgetting state capital gains tax and the 3.8% NIIT, which can apply on top of these figures.
Sources
- Topic no. 409, Capital gains and losses - IRS (retrieved 2026-06-09)
Last verified: June 9, 2026 · Effective year 2025 · Rules v1.0.0
Disclaimer: Estimate only. Federal capital gains tax based on the 2025 brackets. Excludes the 3.8% NIIT, state tax, the qualified-dividend interaction, and loss carryovers. Not tax advice.
Related
Related calculators
Popular in US
More for US
Keep going