💰

Capital Gains Tax Calculator

Estimate Your 2025 Tax Liability

Calculate short-term and long-term capital gains tax for stocks, real estate, and investments. Federal and state rates included.

Calculate Your Capital Gains Tax

Use our free capital gains tax calculator to estimate your tax liability on investment profits. Enter your details below to get started.

Capital Gains Tax Calculator

Advertisement

What Are Capital Gains?

Capital gains are the profits you make from selling assets like stocks, bonds, or real estate. When you sell an asset for more than you paid for it, the difference is considered a capital gain and may be subject to taxes.

The tax rate on capital gains depends on how long you held the asset before selling it. Assets held for one year or less are considered short-term, while those held for more than one year are long-term.

Capital Gains Tax Categories

Short-term gains: Assets held ≤1 year, taxed as ordinary income
Long-term gains: Assets held >1 year, taxed at preferential rates (0%, 15%, 20%)
Net Investment Income Tax (NIIT): Additional 3.8% tax for high-income earners

Understanding Capital Gains Tax in 2025

Understanding how much capital gains tax you might owe can significantly affect your investment strategy. Our capital gains tax calculator provides fast and accurate results for both short-term and long-term capital gains estimation.

How to Calculate Capital Gains Tax

Calculating your capital gains tax involves several steps:

  1. Determine your cost basis (purchase price plus any improvements or fees)
  2. Subtract your cost basis from the sale price to calculate your capital gain
  3. Determine your holding period (short-term vs. long-term)
  4. Apply the appropriate tax rate based on your income and filing status
  5. Add any applicable state capital gains taxes

Short-Term vs. Long-Term Capital Gains

The most significant factor in determining your capital gains tax rate is how long you held the asset before selling:

Short-Term Capital Gains

Assets held for one year or less are considered short-term. These gains are taxed at your ordinary income tax rate, which can be as high as 37% for top earners.

Long-Term Capital Gains

Assets held for more than one year qualify for preferential long-term capital gains rates. For 2025, these rates are 0%, 15%, or 20% depending on your taxable income and filing status.

2025 Federal Capital Gains Tax Rates

For the 2025 tax year, the long-term capital gains tax brackets are:

Filing Status 0% Rate 15% Rate 20% Rate
Single Up to $44,625 $44,626 - $492,300 Over $492,300
Married Filing Jointly Up to $89,250 $89,251 - $553,850 Over $553,850

State Capital Gains Taxes

In addition to federal taxes, many states also tax capital gains. These rates vary significantly by state, with some states having no income tax at all and others taxing capital gains at rates as high as 13.3% (California).

Our calculator includes state-specific adjustments to give you the most accurate estimate of your total tax liability.

Net Investment Income Tax (NIIT)

High-income taxpayers may also be subject to the Net Investment Income Tax (NIIT), which adds an additional 3.8% tax on certain investment income, including capital gains. This tax applies if your modified adjusted gross income exceeds:

  • $200,000 for single filers
  • $250,000 for married couples filing jointly
  • $125,000 for married individuals filing separately

Strategies to Minimize Capital Gains Tax

There are several legal strategies you can use to minimize your capital gains tax liability:

  • Hold investments longer: Converting short-term gains to long-term gains can significantly reduce your tax rate.
  • Tax-loss harvesting: Selling losing investments to offset gains from winning investments.
  • Use tax-advantaged accounts: Investing through IRAs, 401(k)s, or HSAs can defer or eliminate capital gains taxes.
  • Gift appreciated assets: Gifting assets to family members in lower tax brackets.
  • Charitable donations: Donating appreciated assets to charity can provide a tax deduction and avoid capital gains tax.

Note: This calculator provides estimates only. For specific tax advice, consult with a qualified tax professional.

Frequently Asked Questions

How does the short-term capital gains calculator work?

Enter your purchase price, sale price, holding period (1 year or less), and income. The calculator applies your ordinary income tax rate to estimate your short-term capital gains tax liability.

What is the current long-term capital gains tax rate?

Federal long-term capital gains rates for 2025 are 0%, 15%, or 20% depending on your taxable income and filing status. There's also an additional 3.8% Net Investment Income Tax (NIIT) for higher earners.

Can I calculate taxes by state?

Yes. Our calculator includes a state filter that adjusts for state-specific capital gains tax rates, giving you a more accurate estimate of your total tax liability.

How do I calculate capital gains tax on stocks?

Use our calculator by entering your stock purchase price, sale price, and holding period. The tool will automatically calculate your taxable gain and apply the appropriate federal and state tax rates.

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

Short-term gains apply to assets held for one year or less and are taxed at your ordinary income rate. Long-term gains apply to assets held for more than one year and receive preferential tax rates of 0%, 15%, or 20%.

Are there any exemptions from capital gains tax?

Yes, there are several exemptions, including the primary residence exclusion which allows you to exclude up to $250,000 ($500,000 for married couples) of capital gains on the sale of your home if you meet certain ownership and use tests.

Related Financial Calculators

Explore more financial calculators and tools

Tax
Income Tax Calculator

Calculate your federal and state income tax liability based on your income, deductions, and filing status.

Tax Planning
Investing
Dividend Tax Calculator

Calculate taxes on dividend income, including qualified vs. non-qualified dividends and applicable tax rates.

Investment Income
Real Estate
Mortgage Calculator

Calculate your monthly mortgage payment, total interest, and amortization schedule for your home loan.

Home Financing