Capital Gains Calculator

Calculate capital gains tax on your investments including stocks, crypto, real estate, and other assets. Compare short-term vs long-term tax rates and estimate your federal and state tax liability.

2025 Tax Year — Tax rates and brackets based on IRS 2025 tax inflation adjustments

Investment Details

Number of shares, coins, or units sold

Holding Period

Tax Settings

Your total taxable income for the year (excluding this capital gain)

Short-Term vs Long-Term Capital Gains

Classification Holding Period Tax Rate Example
Short-Term 1 year or less 10% - 37%
(ordinary income rates)
Buy stock Jan 1, sell Dec 31 same year
Long-Term More than 1 year 0%, 15%, or 20%
(preferential rates)
Buy stock Jan 1, sell Jan 2+ next year

📊 Why It Matters

The difference between short-term and long-term capital gains tax rates can be significant. For someone in the 24% tax bracket, holding an investment for just one more day (from 365 to 366 days) could reduce the tax rate from 24% to 15% — a 9 percentage point difference.

⏰ The One-Year Rule

To qualify for long-term capital gains treatment, you must hold the asset for more than one year. The holding period starts the day after you purchase the asset and includes the day you sell it. Even one day can make a big difference.

How to Reduce Capital Gains Taxes

⏳ Hold Investments Longer

The simplest strategy: hold assets for more than one year to qualify for lower long-term capital gains rates (0%, 15%, or 20%) instead of paying ordinary income tax rates (up to 37%).

📉 Harvest Tax Losses

Offset capital gains by selling losing investments. Capital losses can reduce capital gains dollar-for-dollar. If losses exceed gains, you can deduct up to $3,000 per year against ordinary income and carry forward the rest.

🏦 Use Tax-Advantaged Accounts

Invest through IRAs, 401(k)s, or other retirement accounts where gains grow tax-deferred or tax-free. Roth IRAs allow completely tax-free withdrawals in retirement, including all capital gains.

🎯 Time Your Sales Strategically

Consider spreading large gains across multiple tax years, selling in lower-income years, or using the 0% long-term capital gains bracket if your income is low enough (under $47,025 single / $94,050 married for 2025).

Frequently Asked Questions

What is capital gains tax?

Capital gains tax is a tax on the profit made from selling an investment or asset. The tax rate depends on how long you held the asset:

  • Short-term capital gains (held ≤ 1 year) are taxed as ordinary income at rates from 10% to 37%
  • Long-term capital gains (held > 1 year) are taxed at preferential rates of 0%, 15%, or 20% depending on your income

This tax applies to stocks, bonds, cryptocurrency, real estate, and other investment assets.

What's the difference between short-term and long-term capital gains?

The key difference is the holding period and tax rate:

  • Short-term: Assets held for 1 year or less, taxed at ordinary income rates (10%-37%)
  • Long-term: Assets held for more than 1 year, taxed at preferential rates (0%, 15%, or 20%)

Long-term capital gains rates are typically much lower than short-term rates, which is why many investors try to hold assets for at least one year before selling.

Do capital losses reduce my taxes?

Yes, capital losses can offset capital gains and reduce your tax bill:

  • Offset gains: Capital losses reduce capital gains dollar-for-dollar
  • Deduct against income: If losses exceed gains, you can deduct up to $3,000 per year against ordinary income ($1,500 if married filing separately)
  • Carry forward: Excess losses can be carried forward to future tax years indefinitely

This is the basis for "tax-loss harvesting," where investors strategically sell losing positions to offset gains and reduce taxes.

Do I pay capital gains tax on cryptocurrency?

Yes, the IRS treats cryptocurrency as property, so capital gains tax applies when you sell crypto for a profit. The same short-term vs long-term rules apply: if you hold crypto for more than one year, you qualify for lower long-term capital gains rates. Even crypto-to-crypto trades are taxable events.

Are there any states with no capital gains tax?

States with no income tax also have no state capital gains tax: Alaska, Florida, Nevada, South Dakota, Tennessee, Texas, Washington, and Wyoming. New Hampshire only taxes dividend and interest income, not capital gains.

2025 Tax Rate Information & Sources

📋 Official IRS Tax Information

All tax rates and brackets in this calculator are based on official IRS sources for the 2025 tax year:

Long-Term Capital Gains Rates (2025)

  • 0% rate: Up to $47,025 (single) / $94,050 (married filing jointly) / $63,000 (head of household)
  • 15% rate: $47,026 - $518,900 (single) / $94,051 - $583,750 (married filing jointly) / $63,001 - $551,350 (head of household)
  • 20% rate: Over $518,900 (single) / $583,750 (married filing jointly) / $551,350 (head of household)

Source: IRS - Tax Inflation Adjustments for Tax Year 2025

Short-Term Capital Gains / Ordinary Income Tax Rates (2025)

Short-term capital gains are taxed at ordinary income tax rates:

  • 10%, 12%, 22%, 24%, 32%, 35%, and 37%

Source: IRS - Federal Income Tax Rates and Brackets

Additional Resources

⚠️ Important Tax Disclaimer

This capital gains calculator is for educational and estimation purposes only. It is not tax advice and should not be used as a tool for tax preparation or filing.

Tax laws are complex and vary by individual circumstances. Actual capital gains tax liability may differ based on:

  • Other income and deductions
  • State and local tax laws
  • Special tax situations (wash sales, like-kind exchanges, etc.)
  • Net investment income tax (NIIT) for high earners
  • Changes in tax law

Always consult a qualified tax professional or CPA for personalized tax advice and accurate tax preparation.

Related Investment Calculators

Investment Calculator

Calculate how your investments will grow over time with compound returns.

ROI Calculator

Calculate return on investment percentage for any asset or business venture.

Net Worth Calculator

Track your total net worth including all investments and assets.

Interest Calculator

Calculate simple and compound interest on your savings and investments.