Futures
Access hundreds of perpetual contracts
TradFi
Gold
One platform for global traditional assets
Options
Hot
Trade European-style vanilla options
Unified Account
Maximize your capital efficiency
Demo Trading
Introduction to Futures Trading
Learn the basics of futures trading
Futures Events
Join events to earn rewards
Demo Trading
Use virtual funds to practice risk-free trading
Launch
CandyDrop
Collect candies to earn airdrops
Launchpool
Quick staking, earn potential new tokens
HODLer Airdrop
Hold GT and get massive airdrops for free
Launchpad
Be early to the next big token project
Alpha Points
Trade on-chain assets and earn airdrops
Futures Points
Earn futures points and claim airdrop rewards
How to calculate capital gains tax
How to calculate capital gains tax
H&R Block
March 13, 2025 8 min read
When you sell a capital asset like a mutual fund, exchange-traded fund (ETF), or stock, 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 for tax purposes.
What is capital gains tax?
First, let’s define what a capital gain or loss is. A capital gain or loss is the difference between what you paid for a capital asset (like bonds, mutual funds, ETFs, real property, or stocks) and what you sold it for. If you sell your investment assets (for example, assets that make investment income such as dividend paying stocks) for more than you bought it, you’ll have a realized 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 asset gains. Your capital gains tax rate is determined by:
We’ll outline how your taxable income relates to short-term and long-term capital gains in detail below. Take note: You don’t have to pay capital gains tax for an unrealized gain on an investment capital asset you own but haven’t sold yet. (An unrealized gain or loss is the change in an investment asset’s value that hasn’t been sold yet.)
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 investment asset or property (your basis) 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 or loss calculation in four steps
If you received the capital asset as a gift or inheritance, there are special rules for determining your basis. See Publication 550: Investment Income and Expenses.
File with H&R Block to get your max refund
File online
File with a tax pro
The federal capital gains tax rate: Short vs. long
At this point, you may know you have a taxable gain (or a loss). But you may also be wondering how much capital gains tax you owe. Well, the capital gains rate you’re taxed at will depend on if it’s a short- or long-term capital gain. Here, we’ll outline the differences.
Short-term capital gains tax
Short-term capital gains are gains that apply to assets or property you held for one year or less. They are subject to ordinary income tax brackets, meaning they’re taxed federally at individual income tax rates of either 10%, 12%, 22%, 24%, 32%, 35%, or 37% depending on your taxable income.
Long-term capital gains tax
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 taxable income falls in relation to three cut-off points, as outlined in the tables below.
Long-term capital gains tax rate 2025
Long-term capital gains tax rate 2024
Long-term capital gains tax rate 2023
_Source: _IRS
Note:_ Gains on the sale of unexcluded qualified small business stock and collectibles (antiques, works of art, rugs, gems, metals (like gold, silver, and platinum bullion), coins, alcoholic beverages, and stamps that are capital assets) are taxed at a maximum rate of 28%. Also, gains attributable to depreciation on Section 1250 real property (also called unrecaptured Section 1250 gain) are taxed at a maximum rate 25%. The numbers above don’t include the net investment income tax of 3.8%._
How to avoid capital gains tax—or minimize capital gains
If you’re looking to reduce or avoid capital gains taxes altogether, there are some smart (and fully legitimate) strategies to pursue. Here are some best practices, broken down by scenario:
Minimizing capital gains for homeowners
Selling your home? If you’re selling your primary residence, the home sale exclusion (Section 121 Exclusion) can help you save on taxes. The exclusion amount is $250,000 if your filing status is Single, Head of Household, or Married Filing Separately and $500,000 if your filing status is Married Filing Jointly or Qualified Surviving Spouse (subject to additional rules).
Minimizing capital gains for investors
Capital gains taxes and your tax forms
You’ll need to show your purchase and sale information of your sold assets to the Internal Revenue Service. Thankfully, a few standard IRS forms make it possible.
You can use IRS Form 8949 to report details of your capital asset transactions. You should complete this form for each transaction that resulted in a capital gain or loss in the tax year.
After completing Form 8949, report the gains and losses on Schedule D. This form summarizes capital gains and losses throughout a tax year.
Transfer the information on Schedule D to line 7 of Form 1040, U.S. Individual Income Tax Return.
More help with navigating capital gains tax
If you still have capital gains tax questions, let H&R Block help. 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 this tax year and calculate capital gains taxes.
However you choose to file, we’re dedicated to making sure you’ve filed with accuracy so you get the biggest refund possible—guaranteed.
Terms and Privacy Policy
Privacy Dashboard
More Info