How to calculate capital gains tax

At a Glance:

The first step in how to calculate long-term capital gains tax is generally to find the difference between what you paid for your asset or property and how much you sold it for — adjusting for commissions or fees. Depending on your income level, and how long you held the asset, your capital gain will be taxed federally between 0% to 37%.   

 

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? 

capital gains tax

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 H&R Block Premium, 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. 

Capital gains tax rates 2021: 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. 

Capital gains tax rate – 2021 thresholds  

Rates Single  Married Filing Separately Married Filing Jointly Head of Household 
0% Up to $40,400  Up to $40,400 Up to $80,800 Up to $54,100 
15% $40,401 to $445,850  $40,401 to $250,800 $80,801 to $501,600 $54,101 to $473,750 
20% Above $445,850  Above $250,800 Above $501,600 Above $473,750 

Capital gains tax rate – 2022 thresholds 

Rate Single Married Filing Separately Married Filing Jointly  Head of Household  
0% Up to $41,675 Up to $41,675 Up to $83,350 Up to $55,800 
15% $41,675 to $459,750 $41,675 to $258,600 $83,350 to $517,200   $55,800 to $488,500 
20% Over $459,750 Over $258,600 Over $517,200 Over $488,500 

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?”, 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, H&R Block Premium can help you file your taxes and calculate your capital gains taxes. 

Related Topics

Related Resources

Garage Sale Money and Capital Gains: What You Should Report to the IRS

Do capital gains apply to garage sale money? The answer depends on a number of factors. Learn more at H&R Block.

For Pro Golfers, Tough Taxes Are Par for the Course

Professional golfer taxes can be complicated and confusing. Learn more about tricky golfer tax issues like travel deductions and residency rules with H&R Block.

How Renting Out Your Extra Bedrooms Affects Your Taxes

Thinking about renting out a room in your home? Learn more about the potential tax implications with the experts at H&R Block.

How do I calculate taxable income?

Finding your taxable income is an important part of filing taxes. Learn how to calculate your taxable income with help from the experts at H&R Block.