Last updated March 2026
Capital Gains Tax Calculator
Estimate your federal capital gains tax using 2025 tax brackets for both short-term and long-term holdings.
Short-Term vs Long-Term Capital Gains
The U.S. federal tax code draws a critical distinction between short-term and long-term capital gains, and understanding this difference can save you thousands of dollars in taxes. The classification depends solely on how long you held the asset before selling it.
Short-term capital gains apply to assets held for less than one year. These gains are taxed at your ordinary income tax rate, which can range from 10% to 37% depending on your total taxable income. Short-term rates are the same brackets used for wages, salaries, and other earned income.
Long-term capital gains apply to assets held for one year or longer and receive preferential tax treatment. The rates are significantly lower: 0%, 15%, or 20%, depending on your taxable income and filing status. This preferential treatment is one of the most powerful tax advantages available to investors.
2025 Capital Gains Tax Rates
Long-Term Capital Gains Brackets
For tax year 2025, the long-term capital gains rates based on taxable income are:
- 0% rate: Single filers up to $48,350; Married filing jointly up to $96,700; Head of household up to $64,750
- 15% rate: Single filers $48,351 to $533,400; Married filing jointly $96,701 to $600,050; Head of household $64,751 to $566,700
- 20% rate: Single filers above $533,400; Married filing jointly above $600,050; Head of household above $566,700
Short-Term Capital Gains (Ordinary Income Brackets)
Short-term gains are added to your ordinary income and taxed at the applicable marginal rate. The 2025 federal income tax brackets are:
- 10%: Up to $11,925 (Single) / $23,850 (Married) / $17,000 (HoH)
- 12%: $11,926-$48,475 (S) / $23,851-$96,950 (M) / $17,001-$64,850 (HoH)
- 22%: $48,476-$103,350 (S) / $96,951-$206,700 (M) / $64,851-$103,350 (HoH)
- 24%: $103,351-$197,300 (S) / $206,701-$394,600 (M) / $103,351-$197,300 (HoH)
- 32%: $197,301-$250,525 (S) / $394,601-$501,050 (M) / $197,301-$250,500 (HoH)
- 35%: $250,526-$626,350 (S) / $501,051-$751,600 (M) / $250,501-$626,350 (HoH)
- 37%: Above $626,350 (S) / Above $751,600 (M) / Above $626,350 (HoH)
Tax-Loss Harvesting
Tax-loss harvesting is a strategy where you sell investments at a loss to offset capital gains and reduce your tax bill. If your capital losses exceed your capital gains in a given year, you can deduct up to $3,000 of the excess loss against your ordinary income ($1,500 if married filing separately). Any remaining losses carry forward to future tax years indefinitely.
For example, if you realized $30,000 in capital gains and $20,000 in capital losses during the same year, you would only owe taxes on $10,000 of net gains. This is a widely used technique among tax-efficient investors and is offered as an automated feature by many robo-advisors and brokerage platforms.
Be aware of the wash-sale rule: if you sell a security at a loss and repurchase the same or a substantially identical security within 30 days before or after the sale, the loss is disallowed for tax purposes.
Capital Gains on Real Estate
Real estate is subject to the same capital gains tax rules, with one major exception: the primary residence exclusion. If you have owned and lived in your home as your primary residence for at least 2 of the last 5 years before selling, you can exclude up to:
- $250,000 in gains for single filers
- $500,000 in gains for married couples filing jointly
Only the gain amount exceeding these thresholds is subject to capital gains tax. This exclusion can be used repeatedly, but generally no more than once every two years. Investment properties and rental properties do not qualify for this exclusion and are also subject to depreciation recapture tax at a 25% rate on any depreciation previously claimed.
Frequently Asked Questions
What is the difference between short-term and long-term capital gains?
Short-term capital gains apply to assets held less than one year and are taxed at your ordinary income rate (10% to 37%). Long-term gains apply to assets held one year or longer and benefit from preferential rates of 0%, 15%, or 20%. The holding period is measured from the day after purchase to the day of sale.
How can I reduce my capital gains tax?
Several strategies can reduce your capital gains tax: hold investments for over one year to qualify for lower long-term rates, use tax-loss harvesting to offset gains with losses, invest through tax-advantaged accounts (401k, IRA, Roth IRA), and take advantage of the primary residence exclusion when selling your home. Charitable giving of appreciated assets is another effective technique.
Do I have to pay capital gains tax on my home sale?
Not necessarily. The primary residence exclusion allows you to exclude up to $250,000 in gains (single) or $500,000 (married filing jointly) if you have lived in the home for at least 2 of the last 5 years. Only gains exceeding these amounts are taxed. Investment and rental properties do not qualify for this exclusion.
Related Calculators
- Tax Calculator - Estimate your full federal income tax liability.
- ROI Calculator - Calculate return on investment for any asset.
- Investment Calculator - Project future investment growth with contributions.