What Is Capital Gains Tax? Short-Term vs Long-Term Rates 2025
For informational purposes only, not financial advice. Full disclaimer
Capital gains tax is a federal tax on the profit you make when selling an asset for more than its purchase price. The "gain" is the difference between what you paid (your cost basis) and what you received at sale. This tax applies to stocks, bonds, mutual funds, ETFs, real estate, cryptocurrency, collectibles, and most other assets that appreciate in value.
The U.S. tax code divides capital gains into two categories based on holding period: short-term (held one year or less) and long-term (held longer than one year). This distinction matters because long-term gains receive significantly lower tax rates. According to IRS data, taxpayers reported over $2.3 trillion in capital gains on 2022 returns, with long-term gains accounting for roughly 75% of that total.
Enter your gain amount, holding period, filing status, and income to see your exact capital gains tax liability for 2024 or 2025.
Try the Capital Gains Tax CalculatorI sold a rental property in 2023 and the difference between short-term and long-term rates would have been over $15,000 in additional tax. That one-year holding period threshold is one of the most impactful lines in the tax code for individual investors.
Alex B.
Short-Term vs Long-Term Capital Gains
Short-term capital gains apply to assets held for one year or less. These gains are taxed at your ordinary income tax rate, which ranges from 10% to 37% for tax year 2025. If you buy a stock on January 15 and sell it on December 20 of the same year, any profit is a short-term gain.
Long-term capital gains apply to assets held for more than one year. These gains benefit from preferential tax rates of 0%, 15%, or 20%, depending on your taxable income and filing status. The same stock purchased on January 15 and sold on January 16 of the following year (holding for one year and one day) qualifies for long-term rates.
The holding period must exceed one year, not just equal it. An asset bought on March 1, 2025 must be held until at least March 2, 2026 to qualify for long-term rates. Selling on March 1, 2026 would still be taxed as short-term.
2025 Long-Term Capital Gains Tax Brackets
For tax year 2025, the long-term capital gains rates are based on your total taxable income (including the gains themselves):
Single Filers
- 0% rate: taxable income up to $48,350
- 15% rate: taxable income from $48,351 to $533,400
- 20% rate: taxable income above $533,400
Married Filing Jointly
- 0% rate: taxable income up to $96,700
- 15% rate: taxable income from $96,701 to $600,050
- 20% rate: taxable income above $600,050
Head of Household
- 0% rate: taxable income up to $64,750
- 15% rate: taxable income from $64,751 to $566,700
- 20% rate: taxable income above $566,700
Additionally, high earners may owe the 3.8% Net Investment Income Tax (NIIT) on capital gains if their modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly). This can bring the effective top rate on long-term gains to 23.8%.
The 0% Capital Gains Bracket
One of the most underused tax benefits is the 0% long-term capital gains bracket. For 2025, single filers with taxable income below $48,350 (or married couples below $96,700) pay zero federal tax on long-term gains. This includes the standard deduction, so a single filer could earn up to $63,350 in total income ($48,350 + $15,000 standard deduction) and still pay 0% on long-term gains.
This is particularly valuable for retirees with lower income, early retirees living on savings, or anyone in a temporarily low-income year (career transition, sabbatical). Strategic "gain harvesting" during these years can lock in 0% tax on appreciated assets.
How to Calculate Capital Gains Tax
Capital Gain = Sale Price - Cost BasisYour cost basis includes the original purchase price plus any transaction costs (commissions, fees). For inherited assets, the cost basis is typically the fair market value at the date of death ("stepped-up basis"). For gifted assets, you generally inherit the donor's original cost basis.
Example Calculation
You purchased 100 shares of a stock at $50 per share ($5,000 total) with a $10 commission. You sell all shares 18 months later at $75 per share with a $10 commission. Your income puts you in the 15% long-term bracket.
- Cost basis: $5,000 + $10 commission = $5,010
- Sale proceeds: $7,500 - $10 commission = $7,490
- Capital gain: $7,490 - $5,010 = $2,480
- Holding period: 18 months (long-term)
- Tax: $2,480 x 15% = $372
You owe $372 in federal capital gains tax on this sale. If this had been a short-term gain and your ordinary rate was 22%, you would owe $545.60 instead.
Capital Gains Tax on Real Estate
Real estate sales follow the same short-term and long-term rules, but homeowners get a major exclusion. Under Section 121 of the tax code, you can exclude up to $250,000 in gains ($500,000 for married couples) from the sale of your primary residence if you lived there for at least 2 of the past 5 years. Any gain above the exclusion is taxed at capital gains rates.
Example Calculation
A married couple sells their primary home of 8 years for $750,000. They originally paid $400,000 and spent $50,000 on improvements.
- Cost basis: $400,000 + $50,000 improvements = $450,000
- Sale price: $750,000
- Total gain: $750,000 - $450,000 = $300,000
- Section 121 exclusion: $500,000 (married filing jointly)
- Taxable gain: $300,000 - $500,000 exclusion = $0
The couple pays $0 in capital gains tax because their $300,000 gain is fully covered by the $500,000 married couple exclusion.
Investment properties do not qualify for the Section 121 exclusion. However, investors can defer capital gains tax using a 1031 like-kind exchange, which allows you to reinvest sale proceeds into a similar property without triggering an immediate tax event.
Capital Gains Tax on Cryptocurrency
The IRS treats cryptocurrency as property, not currency. Every sale, exchange, or use of crypto to purchase goods triggers a taxable event. This includes swapping one cryptocurrency for another (e.g., Bitcoin to Ethereum). The same short-term and long-term rates apply based on holding period.
Tracking cost basis for crypto can be complex because of frequent trades, staking rewards, airdrops, and forks. The IRS requires specific identification or FIFO (first in, first out) accounting for determining which coins were sold. Starting in 2025, centralized exchanges must report transactions on Form 1099-DA.
Strategies to Reduce Capital Gains Tax
- Hold assets for over one year: This single step can cut your tax rate from up to 37% (short-term) to 0%, 15%, or 20% (long-term).
- Tax-loss harvesting: Sell losing investments to offset gains. Net losses above your gains can offset up to $3,000 of ordinary income per year, with unlimited carryforward.
- Use the 0% bracket: In low-income years, sell appreciated long-term assets while your taxable income stays below the 0% threshold.
- Contribute to tax-advantaged accounts: Gains inside 401(k), IRA, and Roth accounts are not taxed annually. Roth withdrawals are completely tax-free.
- Donate appreciated assets: Giving long-term appreciated stock to charity lets you deduct the full market value without ever paying capital gains tax on the appreciation.
- Primary residence exclusion: Live in the home for 2+ years to qualify for the $250,000/$500,000 exclusion.
- Installment sales: Spreading a large gain across multiple tax years can keep you in lower brackets.
Tax-loss harvesting saved me over $4,000 in a single year during a market downturn. The key is keeping a spreadsheet of all unrealized losses and being strategic about when you realize them. Just watch out for the wash sale rule, which disallows losses if you repurchase the same or "substantially identical" security within 30 days.
Alex B.
Capital Gains Tax vs. Ordinary Income Tax
Short-term capital gains are taxed at ordinary income rates (10% to 37%), making them equivalent to wage income from a tax perspective. Long-term capital gains receive preferential treatment with rates of 0%, 15%, or 20%. This disparity is one of the largest tax advantages available to long-term investors and is a major reason financial advisors recommend a buy-and-hold strategy.
For a taxpayer in the 32% ordinary income bracket, the difference between short-term and long-term treatment on a $50,000 gain is $8,500 ($16,000 at 32% vs. $7,500 at 15%). Holding an asset for just one extra day can cross the threshold from short-term to long-term classification.
2024 vs 2025 Capital Gains Rates
The long-term capital gains rate structure (0%, 15%, 20%) has remained the same since 2013. However, the income thresholds for each bracket adjust annually for inflation. For 2025, the 0% bracket for single filers increased to $48,350 (from $47,025 in 2024), providing slightly more room to realize gains tax-free. The 20% threshold for singles increased to $533,400 (from $518,900 in 2024).
If you sold assets in 2024, use the 2024 thresholds when filing your return. If you are planning sales for 2025, use the updated 2025 thresholds. Our capital gains tax calculator supports both years.
Bottom Line
Capital gains tax is one of the most important concepts for investors to understand. The difference between short-term and long-term rates can save thousands of dollars on a single transaction. Use our capital gains tax calculator to model your specific situation, and consider strategies like tax-loss harvesting, the 0% bracket, and tax-advantaged accounts to minimize your tax liability.
Frequently Asked Questions
How much capital gains tax will I pay?+
Do I pay capital gains tax on my home?+
Is crypto taxed as capital gains?+
What is the 0% capital gains tax bracket?+
What is the capital gains tax rate for 2024?+
Can capital losses offset gains?+
What is the difference between realized and unrealized gains?+
Related Calculators
Disclaimer: This article is for informational purposes only and does not constitute financial advice. Consult a qualified financial advisor for decisions about your specific situation.