How to calculate capital gains tax (2024)

When you sell capital assets like mutual funds or stocks there’s a tax implication. But knowing what tax rate applies depends on several factors. In this post, we’ll outline capital gains taxes and how to calculate them.

What is capital gains tax?

How to calculate capital gains tax (1)

The definition is pretty simple: It’s the difference between what you paid for a capital asset (like bonds, mutual funds, real property, or stocks) and what you sold it for. If you sell your asset for more than you bought it, you’ll have a capital gain – If the opposite is true and you sell the asset for less than you bought it, you’ll have a capital loss.

Capital gains tax is the taxation of capital assets. The taxation is classified by the length in which you own the asset, which we’ll describe in detail below!

How to calculate capital gains tax — step-by-step

The basics of a capital gain calculation is to find the difference between what you paid for your asset or property and what you sold it for. Let’s take it step-by-step and find out the answer to “How does capital gains tax work?”

Capital gain calculation in four steps

  1. Determine your basis. This is generally the purchase price plus any commissions or fees paid. Basis may also be increased by reinvested dividends on stocks and other factors.
  2. Determine your realized amount. This is the sale price minus any commissions or fees paid.
  3. Subtract your basis (what you paid) from the realized amount (how much you sold it for) to determine the difference.
    • If you sold your assets for more than you paid, you have a capital gain.
    • If you sold your assets for less than you paid, you have a capital loss. Learn how you can use capital losses to offset capital gains tax.
  4. Review the descriptions in the section below to know which tax rate may apply to your capital gains.

Looking for a capital gains tax calculator? When you file with , there’s a capital gains tax calculator built right in. Once you’ve added the information about your asset, you’ll see a results page that outlines your total gain or loss. Of course, you could also get help from our tax pros when you file.

File with H&R Block to get your max refund

Capital gains tax rates: Short vs. long

At this point, you may know that you have a gain (or a loss). But you may also be wondering how much is capital gains tax? Well, that will depend on if it’s a short- or long-term capital gain. Here, we’ll outline the differences.

Short-term capital gain tax rates

Short-term capital gains are gains apply to assets or property you held for one year or less. They are subject to ordinary income tax rates meaning they’re taxed federally at either 10%, 12%, 22%, 24%, 32%, 35%, or 37%.

Long-term capital gains tax rate

Long-term capital gains apply to assets that you held for over one year and are taxed differently. The federal tax rate for your long-term capital gains depends on where your income falls in relation to three cut-off points.

2023 long-term capital gains tax rates, by filing status

Tax filing status0% tax rate15% tax rate20% tax rate
SingleUp to $44,625$44,626 to $492,300$492,301 and up
Married filing separatelyUp to $44,625$44,626 to $276,900$276,901 and up
Head of householdUp to $59,750$59,751 to $523,050$523,051 and up
Married filing jointlyUp to $89,250$89,251 to $553,850$553,851 and up

2024 long-term capital-gains rates, by filing status

Tax filing status0% tax rate15% tax rate20% tax rate
SingleUp to $47,025$47,026 to $518,900$518,901 and up
Married filing separatelyUp to $47,025$47,026 to $291,850$291,851 and up
Head of householdUp to $63,000$63,001 to $551,350$551,351 and up
Married filing jointlyUp to $94,050$94,051 to $583,750$583,751 and up

Source:IRS

Note: Gains on the sale of collectibles (rental real estate income, collectibles, antiques, works of art, and stamps) are taxed at a maximum rate of 28%.

More help with capital gains calculations and tax rates

In most cases, you’ll use your purchase and sale information to complete Form 8949 so you can report your gains and losses on Schedule D.

If you still have looming questions like, “How much is capital gains tax for a specific capital asset I sold this year?” or “What is tax loss harvesting?” let H&R Block help. Our tax pros know the ins and outs of taxes and are dedicated to making sure you’ve filed with accuracy, so you get the biggest refund possible – guaranteed.

Make an appointment with one of our tax pros today.

Or if you prefer to file on your own, can help you file your taxes and calculate your capital gains taxes.

How to calculate capital gains tax (2024)

FAQs

How to calculate capital gains tax? ›

Experts have been vetted by Chegg as specialists in this subject. The correct capital gain calculation is: Sales Price - Basis - Selling Costs = Gain/Loss.

How do you calculate the correct capital gains calculation? ›

Experts have been vetted by Chegg as specialists in this subject. The correct capital gain calculation is: Sales Price - Basis - Selling Costs = Gain/Loss.

What is the 2 of 5 rule for capital gains? ›

When selling a primary residence property, capital gains from the sale can be deducted from the seller's owed taxes if the seller has lived in the property themselves for at least 2 of the previous 5 years leading up to the sale. That is the 2-out-of-5-years rule, in short.

What determines how much capital gains you pay? ›

Capital gains are the profit from selling an asset, such as a stock, mutual fund, or ETF. You may owe capital gains taxes when you realize capital gains by selling an asset. Taxes are determined by your income level and how long you held the investment before selling.

What is the capital gains tax for dummies? ›

What Are Capital Gain Taxes? Capital gain taxes are taxes imposed on the profit of the sale of an asset. The capital gains tax rate will vary by taxpayer based on the holding period of the asset, the taxpayer's income level, and the nature of the asset that was sold.

At what age do you not pay capital gains? ›

Capital Gains Tax for People Over 65. For individuals over 65, capital gains tax applies at 0% for long-term gains on assets held over a year and 15% for short-term gains under a year. Despite age, the IRS determines tax based on asset sale profits, with no special breaks for those 65 and older.

What is an example of a capital gains income? ›

Put simply, a capital gain occurs when you sell an asset for more than what you originally paid for it. Almost any type of asset you own is a capital asset. This can include a type of investment (like a stock, bond, or real estate) or something purchased for personal use (like furniture or a boat).

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

Capital gains are generally included in taxable income, but in most cases, are taxed at a lower rate. A capital gain is realized when a capital asset is sold or exchanged at a price higher than its basis. Basis is an asset's purchase price, plus commissions and the cost of improvements less depreciation.

How do I avoid capital gains on my taxes? ›

Use tax-advantaged accounts

Retirement accounts such as 401(k) plans, and individual retirement accounts offer tax-deferred investment. You don't pay income or capital gains taxes at all on the assets in the account. You'll just pay income taxes when you withdraw money from the account.

Is capital gains tax 15% or 20%? ›

Long-term capital gains tax rates
Capital GainsTax RateTaxable Income(Single)Taxable Income(Head of Household)
0%Up to $47,025Up to $63,000
15%$47,026 to $518,900$63,001 to $551,350
20%Over $518,900Over $551,350

What is the capital gains tax for people over 65? ›

The capital gains tax over 65 is a tax that applies to taxable capital gains realized by individuals over the age of 65. The tax rate starts at 0% for long-term capital gains on assets held for more than one year and 15% for short-term capital gains on assets held for less than one year.

Do you pay 20% on all capital gains? ›

Capital gains can be subject to either short-term tax rates or long-term tax rates. Short-term capital gains are taxed according to ordinary income tax brackets, which range from 10% to 37%. Long-term capital gains are taxed at 0%, 15%, or 20%.

What is the capital gain exemption? ›

The capital gains arising from such a transfer (sale) should be invested in a long-term specified asset within 6 months from the date of the transfer (sale). Such an investment can be redeemed only after 5 years. The maximum amount of exemption available is Rs. 50 lakh.

Is capital gains tax calculated on gross or net income? ›

Net capital gains are taxed at different rates depending on overall taxable income, although some or all net capital gain may be taxed at 0%. For taxable years beginning in 2023, the tax rate on most net capital gain is no higher than 15% for most individuals.

How to calculate capital gains tax on inherited property? ›

Follow these steps:
  1. Calculate your capital gain (or loss) by subtracting your stepped up tax basis (fair market value of the home) from the purchase price.
  2. Report the sale on IRS Schedule D. ...
  3. Copy the gain or loss over to Form 1040. ...
  4. Attach Schedule D to your return when you submit to the IRS.

Top Articles
Latest Posts
Article information

Author: Roderick King

Last Updated:

Views: 6231

Rating: 4 / 5 (71 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Roderick King

Birthday: 1997-10-09

Address: 3782 Madge Knoll, East Dudley, MA 63913

Phone: +2521695290067

Job: Customer Sales Coordinator

Hobby: Gunsmithing, Embroidery, Parkour, Kitesurfing, Rock climbing, Sand art, Beekeeping

Introduction: My name is Roderick King, I am a cute, splendid, excited, perfect, gentle, funny, vivacious person who loves writing and wants to share my knowledge and understanding with you.