United States Capital Gains Tax Calculator 2024

Easily calculate your short-term and long-term capital gains tax. Use this calculator to estimate taxes on assets, including stocks, crypto, real estate, and more.

How to Calculate Capital Gains Tax in the US (2024)

In the United States, capital gains tax is levied on profits earned from selling or trading investments like stocks, crypto, real estate, and other assets. The tax rate depends on your holding period, income level, and filing status. This guide will help you calculate capital gains tax for both short-term and long-term scenarios.

Step-by-Step Guide for Calculating Capital Gains Tax

Before you start, make sure you have the following information ready:

  • Purchase price (initial investment amount)
  • Sale price (amount received upon sale)
  • Holding period (short-term or long-term)
  • Your tax-filing status (Single, Married Filing Jointly, Married Filing Separately, Head of Household)
  • Total income for the year (to determine applicable tax brackets)

1. Determine Your Holding Period

Start by identifying whether your assets holding period is short-term or long-term:

  • Short-term: Held for one year or less; taxed at ordinary income tax rates.
  • Long-term: Held for more than one year; taxed at reduced rates.

2. Identify Your Tax-Filing Status

Your tax-filing status is essential for determining your tax rate. Choose the appropriate status:

  • Single
  • Married Filing Jointly
  • Married Filing Separately
  • Head of Household

3. Calculate Your Capital Gain or Loss

To calculate your capital gain, subtract the purchase price from the sale price of your assets.

  • If the sale price is higher than the purchase price, the result is a capital gain.
  • If the sale price is lower than the purchase price, the result is a capital loss.

4. Determine the Tax Bracket and Rate

The tax rate for capital gains depends on your total income, filing status, and holding period. Short-term and long-term gains are taxed differently.

Short-Term Capital Gains

Short-term gains are taxed as ordinary income. Based on your tax-filing status, your ordinary income tax brackets for 2024 are as follows:

  • Single: 10%, 12%, 22%, 24%, 32%, 35%, 37%
  • Married Filing Jointly: 10%, 12%, 22%, 24%, 32%, 35%, 37%
  • Married Filing Separately: 10%, 12%, 22%, 24%, 32%, 35%, 37%
  • Head of Household: 10%, 12%, 22%, 24%, 32%, 35%, 37%

Long-Term Capital Gains

Long-term gains are taxed at lower rates. The applicable long-term capital gains rates for 2024 are:

  • Single: 0%, 15%, 20%
  • Married Filing Jointly: 0%, 15%, 20%
  • Married Filing Separately: 0%, 15%, 20%
  • Head of Household: 0%, 15%, 20%

5. How to Use the Calculator for Each Scenario

Now that you have a basic understanding, let’s go through specific examples of how to use the calculator in each case. Follow these steps for each scenario:

Example 1: Short-Term Holding (Single)

Scenario: You bought assets for $1,000 and sold it for $5,000 within the same year. Your total income for the year is $50,000.

Steps to Use the Calculator:

  • Enter the purchase price as $1,000.
  • Enter the sale price as $5,000.
  • Select Short-Term as the holding period.
  • Select Single as your tax-filing status.
  • Enter your total income as $50,000.

The calculator will use the short-term income tax rate and display the estimated tax based on your total income and capital gains.

Example 2: Long-Term Holding (Married Filing Jointly)

Scenario: You bought assets for $2,000 and sold it for $10,000 after holding it for over a year. Your total income for the year is $75,000.

Steps to Use the Calculator:

  • Enter the purchase price as $2,000.
  • Enter the sale price as $10,000.
  • Select Long-Term as the holding period.
  • Select Married Filing Jointly as your tax-filing status.
  • Enter your total income as $75,000.

The calculator will apply the long-term capital gains rate based on your income level and filing status.

Example 3: Short-Term Holding (Married Filing Separately)

Scenario: You bought assets for $3,000 and sold it for $15,000 within the same year. Your total income for the year is $80,000.

Steps to Use the Calculator:

  • Enter the purchase price as $3,000.
  • Enter the sale price as $15,000.
  • Select Short-Term as the holding period.
  • Select Married Filing Separately as your tax-filing status.
  • Enter your total income as $80,000.

The calculator will calculate short-term capital gains based on the ordinary income tax rate for your filing status.

Example 4: Long-Term Holding (Head of Household)

Scenario: You bought assets for $4,000 and sold it for $20,000 after holding it for over a year. Your total income for the year is $60,000.

Steps to Use the Calculator:

  • Enter the purchase price as $4,000.
  • Enter the sale price as $20,000.
  • Select Long-Term as the holding period.
  • Select Head of Household as your tax-filing status.
  • Enter your total income as $60,000.

The calculator will apply the long-term capital gains rate based on your filing status and total income.

6. Review Your Results

After entering the above details, the calculator will provide:

  • Estimated capital gain or loss
  • Taxable income from the capital gain
  • Applicable tax rate based on your filing status and holding period
  • Total tax owed on your assets gains

Important Considerations

  • Always consult with a tax professional for your specific circumstances.
  • Ensure that all income, including assets, is reported on your tax return.
  • Use the correct tax year’s brackets and rates when calculating taxes.

This guide provides general information only and is not a substitute for professional advice. Always verify your tax liability with the IRS or a licensed tax professional.

Frequently Asked Questions (FAQs)

How do I calculate capital gains using the calculator?

Enter the purchase price, sale price, and the holding period in the respective fields. The calculator will automatically determine whether it's a short-term or long-term gain and apply the appropriate tax rates.

What is the difference between short-term and long-term gains?

Short-term gains apply to assets held for less than a year and are taxed at your ordinary income tax rate. Long-term gains apply to assets held for more than a year and are taxed at 0%, 15%, or 20%, depending on your income bracket.

How do I input multiple transactions?

Use the "Add Transaction" feature in the calculator to enter details for multiple buy and sell events. The calculator will aggregate the gains or losses and apply the appropriate tax rules.

What is the 'holding period' field for?

The holding period determines whether the asset qualifies for short-term or long-term capital gains tax rates. Enter the duration between purchase and sale.

Can I calculate losses with the calculator?

Yes, enter a sale price lower than the purchase price. The calculator will treat it as a capital loss and display the deductible amount.

Does the calculator account for tax brackets?

Yes, the calculator dynamically applies the correct tax rates based on your income bracket and the type of gain (short-term or long-term).

What information do I need to use the calculator?

You need the purchase price, sale price, holding period, and your annual income to accurately calculate capital gains tax.

How are crypto gains taxed in the USA?

Crypto gains are treated as property and subject to capital gains tax. Short-term gains are taxed as ordinary income, and long-term gains are taxed at 0%, 15%, or 20%.

What qualifies as a long-term capital gain?

Assets held for more than one year before being sold qualify as long-term capital gains.