2024 Capital Gains Tax Calculator - Long-Term & Short-Term Gains (2024)

What Are Capital Gains?

2024 Capital Gains Tax Calculator - Long-Term & Short-Term Gains (1)

If you're reading about capital gains, it probably means your investments have performed well. Or you're preparing for when they do in the future.

When you have built a low-cost, diversified portfolio and the assets being held are worth more than what you paid for them, you might consider selling some of those assets to realize those capital gains.

Capital gains are defined as the profits that you make when you sell investments like stocks or real estate. These include short-term gains for investments held and sold in less than one year and long-term gains for those held and sold in a period that is over a year.

Capital gains and losses will either increase or decrease the value of your investment. But you only have to pay capital gains taxes after selling an investment – the money you make from an investment is subject to taxation at the federal and state levels. But you should also note that you might be able to lower your capital gains taxes with the sale of an investment that is losing money (more on tax-harvesting below).

A financial advisor can help you manage your investment portfolio. To find a financial advisor who serves your area, try SmartAsset's free online matching tool.

Capital Gains: How Much Will I Pay?

Let's say you buy some stock for a low price and after a certain period of time the value of that stock has risen substantially. You decide you want to sell your stock and capitalize on the increase in value.

The profit you make when you sell your stock (and other similar assets, like real estate) is equal to your capital gain on the sale. The IRS taxes capital gains at the federal level and some states also tax capital gains at the state level. The tax rate you pay on your capital gains depends in part on how long you hold the asset before selling.

Taxes on Long-Term Capital Gains

Long-term capital gains are gains on assets you hold for more than one year. They're taxed at lower rates than short-term capital gains.

Depending on your regular income tax bracket, your tax rate for long-term capital gains could be as low as 0%. Even taxpayers in the top income tax bracket pay long-term capital gains rates that are nearly half of their income tax rates. That's why some high net worth Americans don't pay as much in taxes as you might expect.

The table below breaks down how much you would owe in long-term capital gains for tax year 2023 (which is filed in early 2024), based on your tax-filing status and income:

Long-Term Capital Gains Taxes for Tax Year 2023 (Due April 2024)

  • Single Filers
  • Married, Filing Jointly
  • Married, Filing Separately
  • Head of Household
Single Filers
Taxable IncomeRate
$0 - $44,6250%
$44,625 - $492,30015%
$492,300+20%
Married, Filing Jointly
Taxable IncomeRate
$0 - $89,2500%
$89,250 - $553,85015%
$553,850+20%
Married, Filing Separately
Taxable IncomeRate
$0 - $44,6250%
$44,625 - $276,90015%
$276,900+20%

The next table shows the long-term capital gains tax rates and brackets for tax year 2024 (which is filed in early 2025), based on your tax-filing status and income:

Long-Term Capital Gains Taxes for Tax Year 2024 (Due April 2025)

  • Single Filers
  • Married, Filing Jointly
  • Married, Filing Separately
  • Head of Household
Single Filers
Taxable IncomeRate
$0 - $47,0250%
$47,025 - $518,90015%
$518,900+20%
Married, Filing Jointly
Taxable IncomeRate
$0 - $94,0500%
$94,050 - $583,75015%
$583,750+20%
Married, Filing Separately
Taxable IncomeRate
$0 - $47,0250%
$47,025 - $291,85015%
$291,850+20%
Head of Household
Taxable IncomeRate
$0 - $63,0000%
$63,000 - $551,35015%
$551,350+20%

Taxes on Short-Term Capital Gains

Short-term capital gains are gains you make from selling assets held for one year or less. They're taxed like regular income. That means you pay the same tax rates that are paid on federal income tax.

For tax year 2023 (which is filed in early 2024), single investors earning over $578,125 will pay a maximum of 37% on short-term capital gains. The table below breaks down the income brackets for each filing status for the 2023 tax year:

Short-Term Capital Gains Taxes for Tax Year 2023 (Due April 2024)

  • Single Filers
  • Married, Filing Jointly
  • Married, Filing Separately
  • Head of Household
Single Filers
Taxable IncomeRate
$0 - $11,00010%
$11,000 - $44,72512%
$44,725 - $95,37522%
$95,375 - $182,10024%
$182,100 - $231,25032%
$231,250 - $578,12535%
$578,125+37%
Married, Filing Jointly
Taxable IncomeRate
$0 - $22,00010%
$22,000 - $89,45012%
$89,450 - $190,75022%
$190,750 - $364,20024%
$364,200 - $462,50032%
$462,500 - $693,75035%
$693,750+37%
Married, Filing Separately
Taxable IncomeRate
$0 - $11,00010%
$11,000 - $44,72512%
$44,725 - $95,37522%
$95,375 - $182,10024%
$182,100 - $231,25032%
$231,250 - $346,87535%
$346,875+37%
Head of Household
Taxable IncomeRate
$0 - $15,70010%
$15,700 - $59,85012%
$59,850 – $95,35022%
$95,350 - $182,10024%
$182,100 - $231,25032%
$231,250 - $578,10035%
$578,100+37%

This table shows the same short-term capital gains tax rates and brackets, but for tax year 2024 (which is filed in early 2025):

Short-Term Capital Gains Taxes for Tax Year 2024 (Due April 2025)

  • Single Filers
  • Married, Filing Jointly
  • Married, Filing Separately
  • Head of Household
Single Filers
Taxable IncomeRate
$0 - $11,60010%
$11,600 - $47,15012%
$47,150 - $100,52522%
$100,525 - $191,95024%
$191,950 - $243,72532%
$243,725 - $609,35035%
$609,350+37%
Married, Filing Jointly
Taxable IncomeRate
$0 - $23,20010%
$23,200 - $94,30012%
$94,300 - $201,05022%
$201,050 - $383,90024%
$383,900 - $487,45032%
$487,450 - $731,20035%
$731,200+37%
Married, Filing Separately
Taxable IncomeRate
$0 - $11,60010%
$11,600 - $47,15012%
$47,150 - $100,52522%
$100,525 - $191,95024%
$191,950 - $243,72532%
$243,725 - $365,60035%
$365,600+37%
Head of Household
Taxable IncomeRate
$0 - $16,55010%
$16,550 - $63,10012%
$63,100 - $100,50022%
$100,500 - $191,95024%
$191,950 - $243,70032%
$243,700 - $609,35035%
$609,350+37%

To recap: The amount you pay in federal capital gains taxes is based on the size of your gains, your federal income tax bracket and how long you have held on to the asset in question.

To figure out the size of your capital gains, you need to know your basis. Basis is the amount you paid for an asset. How much you owe in taxes - your tax liability - stems from the difference between the sale price of your asset and the basis you have in that asset. In plain English, that means you pay tax based on your profit.

How Earned and Unearned Income Affect Capital Gains

2024 Capital Gains Tax Calculator - Long-Term & Short-Term Gains (2)

Why the difference between the regular income tax and the tax on long-term capital gains at the federal level? It comes down to the difference between earned and unearned income. In the eyes of the IRS, these two forms of income are different and deserve different tax treatment.

Earned income is what you make from your job. Whether you own your own business or work part-time at the coffee shop down the street, the money you make is earned income.

Unearned income comes from interest, dividends and capital gains. It's money that you make from other money. Even if you're actively day trading on your laptop, the income you make from your investments is considered passive. So in this case, "unearned" doesn't mean you don't deserve that money. It simply denotes that you earned it in a different way than through a typical salary.

The question of how to tax unearned income has become a political issue. Some say it should be taxed at a rate higher than the earned income tax rate, because it is money that people make without working, not from the sweat of their brow. Others think the rate should be even lower than it is, so as to encourage the investment that helps drive the economy.

How to Lower Capital Gains Taxes With Tax-Loss Harvesting

2024 Capital Gains Tax Calculator - Long-Term & Short-Term Gains (3)

No one likes to face a large tax bill in April. Of the many ways to lower your tax liability, tax-loss harvesting is among the more common - and the more complicated.

Tax-loss harvesting is a strategy that allows investors to avoid paying capital gains taxes. It uses the money that you lose on an investment to offset the capital gains that you earned on the sale of profitable investments. This means that you can write off those losses when you sell the depreciated asset, which cancels out some or all of your capital gains on appreciated assets.

You can even wait and re-purchase the assets you sold at a loss if you want them back, but you'll still get a tax write-off if you time it right. Some robo-advisor firms have found ways to automate this process by frequently selling investments at a loss and then immediately buying a very similar asset. This allows you to stay invested in the market while still taking advantage of the tax deductions from your losses.

Some investors include tax-loss harvesting in their overall portfolio investment strategy to save money. Others say that it costs you more in the long run because you're selling assets that could appreciate in the future for a short-term tax break.. And if you repurchase the stock, you're essentially deferring your capital gains taxation to a later year. Critics of tax-loss harvesting also point out that since Congress can make changes to the tax code, you could also run the risk of paying high taxes when you sell your assets later.

State Taxes on Capital Gains

Some states also levy taxes on capital gains. Most states tax capital gains according to the same tax rates they use for regular income. So, if you're lucky enough to live somewhere with no state income tax, you won't have to worry about capital gains taxes at the state level.

New Hampshire, for example, doesn't tax income, but does tax dividends and interest. By comparison, states with high income tax California, New York, Oregon, Minnesota, New Jersey and Vermont) also have high taxes on capital gains too. A good capital gains calculator, like ours, takes both federal and state taxation into account.

Capital Gains Taxes on Property

If you own a home, you may be wondering how the government taxes profits from home sales. As with other assets such as stocks, capital gains on a home are equal to the difference between the sale price and the seller's basis.

Your basis in your home is what you paid for it, plus closing costs and non-decorative investments you made in the property, like a new roof. You can also add sales expenses like real estate agent fees to your basis. Subtract that from the sale price and you get the capital gains. When you sell your primary residence, $250,000 of capital gains (or $500,000 for a couple) are exempted from capital gains taxation. This is generally true only if you have owned and used your home as your main residence for at least two out of the five years prior to the sale.

If you inherit a home, you don't get the $250,000 exemption unless you've owned the house for at least two years as your primary residence. But you can still get a break if you don't meet that criteria. When you inherit a home you get a "step up in basis."

Say your mother's basis in the family home was $200,000. Today the market value of the home is $300,000. If your mom passes on the home to you, you'll automatically get a stepped-up basis equal to the market value of $300,000. If you sell the home for that amount then you don't have to pay capital gains taxes. If you later sell the home for $350,000 you only pay capital gains taxes on the $50,000 difference between the sale price and your stepped-up basis. If you’ve owned it for more than two years and used it as your primary residence, you wouldn’t pay any capital gains taxes.

Stepped-up basis is somewhat controversial and might not be around forever. As always, the more valuable your family's estate, the more it pays to consult a professional tax adviser who can work with you on minimizing taxes if that's your goal.

Net Investment Income Tax (NIIT)

Under certain circ*mstances, the net investment income tax, or NIIT, can affect income you receive from your investments. While it mostly applies to individuals, this tax can also be levied on the income of estates and trusts. The NIIT is levied on the lesser of your net investment income and the amount by which your modified adjusted gross income (MAGI) is higher than the NIIT thresholds set by the IRS. These thresholds are based on your tax filing status, and they go as follows:

  • Single: $200,000
  • Married filing jointly: $250,000
  • Married filing separately: $125,000
  • Qualifying widow(er) with dependent child: $250,000
  • Head of household: $200,000

The NIIT tax rate is 3.8%. The tax only applies for U.S. citizens and resident aliens, so nonresident aliens are not required to pay it. According to the IRS, net investment income includes interest, dividends, capital gains, rental income, royalty income, non-qualified annuities, income from businesses that are involved in the trading of financial instruments or commodities and income from businesses that are passive to the taxpayer.

Here's an example of how the NIIT works: Let's say you file your taxes jointly with your spouse and together you have $200,000 in wages. The threshold for your filing status is $250,000, which means you don't owe the NIIT solely based on that income. However, you also have $75,000 in net investment income from capital gains, rental income and dividends, which pushes your total income to $275,000. Because your income is now $25,000 past the threshold, and that number is the lesser of $75,000 (your total net investment income), then you would owe taxes on that $25,000. At a 3.8% tax rate, you'd have to pay $950.

2024 Capital Gains Tax Calculator - Long-Term & Short-Term Gains (2024)

FAQs

What is the long term capital gains tax rate for 2024? ›

For the 2024 tax year, individual filers won't pay any capital gains tax if their total taxable income is $47,025 or less. The rate jumps to 15 percent on capital gains, if their income is $47,026 to $518,900. Above that income level the rate climbs to 20 percent.

How do you calculate long term and short-term capital gains? ›

When computing Long Term Capital Gains, the Cost Inflation Index should be used to index the Cost of Acquisition and Cost of Improvement.
  1. Indexed Cost = Actual Cost x Cost Inflation Index in the year of sale / Cost Inflation Index in the year of purchase. ...
  2. Example: Ms.

How to figure out capital gains tax? ›

Capital gain calculation in four steps
  1. Determine your basis. ...
  2. Determine your realized amount. ...
  3. Subtract your basis (what you paid) from the realized amount (how much you sold it for) to determine the difference. ...
  4. Review the descriptions in the section below to know which tax rate may apply to your capital gains.

What is the tax rate for long term and short-term capital gains? ›

Short-term capital gains taxes range from 0% to 37%. Long-term capital gains taxes run from 0% to 20%. High income earners may be subject to an additional 3.8% tax called the net investment income tax on both short-and-long term capital gains.

What is the short-term capital gains tax rate for 2024? ›

Short-Term Capital Gains Tax Rates 2024
RateSingle filersMarried couples filing jointly
10%Up to $11,600Up to $23,200
12%$11,600 – $47,150$23,200 – $94,300
22%$47,150 – $100,525$94,300 – $201,050
24%$100,525 – $191,950$201,050 – $383,900
3 more rows
Dec 19, 2023

At what age do you not pay capital gains? ›

Whether you're 65 or 95, seniors must pay capital gains tax where it's due. This can be on the sale of real estate or other investments that have increased in value over their original purchase price, which is known as the “tax basis.”

How do you calculate short term capital gains with examples? ›

Short-term capital gains are calculated by taking the difference between two figures: the acquisition basis of an asset and the disposition basis of an asset. This difference is then assessed by the taxpayer's specific marginal tax rate.

What is the formula for long term capital gains? ›

LTCG = Selling price – Indexed cost of purchase = Rs. 40,00,000 – Rs. 20,55,000 = Rs. 19,45,000.

How to avoid short-term capital gains tax? ›

Here are four of the key strategies.
  1. Hold onto taxable assets for the long term. ...
  2. Make investments within tax-deferred retirement plans. ...
  3. Utilize tax-loss harvesting. ...
  4. Donate appreciated investments to charity.

What is the easiest way to calculate capital gains? ›

To calculate your capital gain or capital loss, subtract the total of your property's adjusted cost base (ACB) , and any outlays and expenses you incurred to sell it, from the proceeds of disposition.

Do you have to pay capital gains after age 70? ›

An investor's age does not by itself affect any capital gains taxes the IRS expects them to pay upon the sale of an asset. However, you can reduce your capital gains tax obligation in other ways. The length of time you hold an investment can significantly impact the capital gains you owe.

Do capital gains count as income when calculating capital gains tax? ›

Short-term capital gains are taxed at the same rate as your ordinary income. Meanwhile, long-term gains are taxed at either 0%, 15%, or 20%. The rate you pay is based on your taxable income. Just like with ordinary income tax rates, the higher your income, the higher your long-term capital gains tax rate.

Do short-term capital gains increase your tax bracket? ›

Long-term capital gains can't push you into a higher tax bracket, but short-term capital gains can. Understanding how capital gains work could help you avoid unintended tax consequences. If you're seeing significant growth in your investments, you may want to consult a financial advisor.

Is short-term capital gains tax higher than income tax? ›

The tax that you'll pay on short-term capital gains follows the same tax brackets as ordinary income. Let's use our above example of a $90,000 salary and $10,000 short-term capital gain. Given the 2023 federal income tax rates, and assuming you are filing as a single person, you would be in the 22% tax bracket.

What will long term capital gains be in 2026? ›

Beginning in 2026, the starting points for the 15 percent and 20 percent rates for capital gains and qualified dividends will match the starting points for tax brackets applicable to ordinary income, as under pre-2018 law.

Did Biden raise long term capital gains tax? ›

President Biden's $7.3 trillion FY 2025 budget released last month, proposes several tax changes aimed at wealthier taxpayers, including a minimum tax on billionaires, a near doubling of the capital gains tax rate, and an increased Medicare tax rate.

What is the tax rate on dividends in 2024? ›

2024 Dividend tax rates
2024 Qualified Dividend Tax RateFor Single TaxpayersFor Married Couples Filing Jointly
0%Up to $47,025Up to $94,050
15%$47,025-$518,899$94,050-$583,749
20%More than $518,900More than $583,750
May 1, 2024

Top Articles
Latest Posts
Article information

Author: Edwin Metz

Last Updated:

Views: 5934

Rating: 4.8 / 5 (78 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Edwin Metz

Birthday: 1997-04-16

Address: 51593 Leanne Light, Kuphalmouth, DE 50012-5183

Phone: +639107620957

Job: Corporate Banking Technician

Hobby: Reading, scrapbook, role-playing games, Fishing, Fishing, Scuba diving, Beekeeping

Introduction: My name is Edwin Metz, I am a fair, energetic, helpful, brave, outstanding, nice, helpful person who loves writing and wants to share my knowledge and understanding with you.