If you sell stock, cryptocurrency, real estate, precious metals, or any other capital asset, there’s a good chance you’ll have to pay capital gains tax on any profits. However, the capital gains tax rate you’ll pay isn’t always crystal clear.
For instance, you might have heard that there are three capital gains tax rates: 0%, 15% or 20%. However, the tax rate that applies to your capital gain very well might not be one of those three rates. Plus, you might also have to pay an additional surtax on your profits.
So, how do you determine the proper capital gain tax rate? When you drill down a bit, you’ll see that the actual capital gains tax rate that applies to your profits depends on several different factors, such as how long you held the asset before selling it, the type of property sold, your taxable income, and the filing status used for your federal tax return.
But don’t worry—I’ll walk you through the process. Read on to see how all the factors listed above play a role in determining the tax rate that applies to your capital gains in 2024 … and will apply in 2025. Now that the 2023 filing deadline has passed, you’ll be able to use this info to plan ahead for 2024 and 2025.
Related: What’s Your Standard Deduction?
Table of Contents
Capital Gains Tax Basics
Before exploring the different capital gains tax rates, it’s probably a good idea to cover a few capital gains tax basics.
As implied above, the federal capital gains tax is imposed on any gain (i.e., profit) from the sale of capital assets. The tax is typically paid when you file your federal income tax return for the year the asset is sold.
The profit subject to the capital gains tax is generally equal to the amount you receive from the sale of an asset minus your adjusted basis in the property. (You have a capital loss if you sell a capital asset for less than your adjusted basis.) So, the higher your adjusted basis, the lower your capital gains tax.
Young and the Invested Tip: Up to $250,000 of gain from the sale of your home is generally not subject to capital gains taxes if you owned the home and used it as your primary residence for at least two of the five years immediately preceding the sale (up to $500,000 of gain is excluded for married couples filing a joint tax return).
If you sell a capital asset for a loss, you can use the capital loss to offset capital gains (if any), which will reduce the amount of gain for which you owe capital gains taxes. Plus, if you have a net capital loss after offsetting gains with losses, you can use up to $3,000 of the net loss to reduce your “ordinary” taxable income. Anything over the $3,000 limit is carried forward and applied against gains or deducted from ordinary income in future years.
What’s a Capital Asset?
Capital assets include stocks, bonds, mutual funds, cryptocurrency, precious metals, and similar investment properties. But personal items—such as your car, home, furniture, stamp collections, jewelry, and so on—are also capital assets for which you can incur capital gains taxes when they’re sold.
Related: Best Stock Picking Services, Subscriptions, & Sites
What’s an Asset’s Adjusted Basis?
Basically, your adjusted basis in an asset is the amount you have invested in the property. Start with your cost basis, which in most cases is your purchase price, plus sales tax, broker commissions, legal fees, and various other expenses related to your purchase. That amount is then increased by the cost of items that add value to the property, such as improvements to real estate. It’s then decreased by certain property-related benefits you previously received, such as stock splits or tax deductions for depreciation.
In some cases, an alternative basis is used. For instance:
- The basis of inherited property is generally the property’s fair market value (FMV) at the date of the previous owner’s death (this is known as “stepped-up basis”).
- If you receive property as a gift, your initial basis can either be the donor’s adjusted basis or the property’s FMV when you received the gift, and your basis can be increased by any gift tax paid.
- If you replace destroyed property with similar property (e.g., property lost in a natural disaster), the old property’s basis generally becomes the replacement property’s basis.
- For property received in exchange for services, the property’s FMV is your basis (if a price is agreed upon before services are provided, that price will generally be accepted as the property’s FMV).
Related: 30 Tax Statistics and Facts That Might Surprise You
“Netting” Rules for Offsetting Capital Gains With Capital Losses
You must follow a certain sequence when offsetting capital gains with capital losses. This is known as “netting” capital gains and losses.
The order is as follows:
- First, you must offset short-term gains with short-term losses.
- Second, long-term gains are offset with long-term losses.
- Last, if there are any net losses of either variety, they can then be used to offset any gains remaining of the opposite type.
Related: 10 Year-End Tax Planning Tips to Lower Your Tax Bill
Long-Term Capital Gains vs. Short-Term Capital Gains
Now let’s get back to the capital gains tax rates. Since it’s often the most important factor for determining which capital gains tax rate applies, I want to start with the difference between long-term capital gains and short-term capital gains.
Generally speaking, if you sell a capital asset for a profit, you have a long-term capital gain if you held the asset for more than one year before selling it. On the other hand, you have a short-term capital gain if you held the asset for one year or less.
If you end up with a net capital gain after netting gains and losses, the tax rate that applies usually depends on whether the net gain is long-term or short-term capital gain. In most cases, the tax rate on your net capital gains will be lower for long-term gains, which creates an incentive to hold on to investments and other assets for more than a year if possible.
Calculating Your Holding Period
To determine how long you held an asset, start counting on the day after the day you acquired the property, and then count the day you disposed of the property as part of your holding period.
For example, if you bought stock on Nov. 15, 2023, the clock started running on Nov. 16, 2023. If you sold the stock for a profit on Nov. 16, 2024, you didn’t hold it for more than one year, so you have short-term capital gain. However, if you sold the stock on Nov. 17, 2024, you have a long-term capital gain because you held it for more than a year.
Related: How to Give Stocks as a Gift in a Tax-Efficient Way
2024 Long-Term Capital Gains Tax Rates
For net long-term capital gains, your tax rate for the 2024 tax year will be either 0%, 15%, or 20%. Which one you use to calculate capital gains taxes depends on your taxable income and filing status for the year.
The long-term capital gains tax rates for 2024 are as follows (dollar amounts are for your taxable income):
Filing Status | 0% Tax Rate | 15% Tax Rate | 20% Tax Rate |
---|---|---|---|
Single | Up to $47,025 | $47,026 to $518,900 | $518,901 or more |
Married Filing Separately | Up to $47,025 | $47,026 to $291,850 | $291,851 or more |
Head of Household | Up to $63,000 | $63,001 to $551,350 | $551,351 or more |
Married Filing Jointly; Surviving Spouse | Up to $94,050 | $94,051 to $583,750 | $583,751 or more |
Example: Long-Term Capital Gains
Nicholas, who is single, purchased 100 shares of stock in 2020 for $10,000. He sold the stock in 2024 for $18,000. He has no other capital gains and no capital losses for the year. As a result, he has a net long-term capital gain of $8,000 ($18,000 – $10,000). His 2024 taxable income is $75,000, which means his gain is taxed at the 15% rate for a capital gains tax of $1,200 ($8,000 × 0.15).
Related: How to Avoid Taxes on Social Security Benefits
2025 Long-Term Capital Gains Tax Rates
The Internal Revenue Service (IRS) adjusts the taxable income ranges each year to account for inflation. As a result, your long-term capital gains tax rate for 2025 might not be the same as the rate you paid for 2024.
If you’re already thinking about selling appreciated stock that you’ve held for a while in 2025, you’ll want to know the 2025 long-term capital gains tax rates and brackets, which are shown in the following table (again, dollar amounts are for your taxable income):
Filing Status | 0% Tax Rate | 15% Tax Rate | 20% Tax Rate |
---|---|---|---|
Single | Up to $48,350 | $48,351 to $533,400 | $533,401 or more |
Married Filing Separately | Up to $48,350 | $48,351 to $300,000 | $300,001 or more |
Head of Household | Up to $64,750 | $64,751 to $566,700 | $566,701 or more |
Married Filing Jointly; Surviving Spouse | Up to $96,700 | $96,701 to $600,050 | $600,051 or more |
Related: Tax-Loss Harvesting: How Investors Can Cut Their Tax Bill
2024 Short-Term Capital Gains Tax Rates
The capital gains tax rates for net short-term capital gains are quite different from the long-term capital gains tax rates. Instead of using the 0%, 15%, or 20% tax rates, short-term capital gains are subject to tax at the same “ordinary” income tax rate applied to your wages, tips, taxable Social Security benefits, withdrawals from traditional IRAs or 401(k) accounts, and the like.
As a result, the short-term capital gains tax rates start at 10% and run up to 37%, depending on which federal income tax bracket applies to you. Like the tax rates listed above for long-term capital gains taxes, the federal tax rates for ordinary income are based on your filing status and taxable income.
The short-term capital gains rates for the 2024 tax year are below (each table is based on your filing status).
Single Filers
Taxable Income | Tax Rate |
---|---|
Up to $11,600 | 10% |
$11,601 to $47,150 | 12% |
$47,151 to $100,525 | 22% |
$100,526 to $191,950 | 24% |
$191,951 to $243,725 | 32% |
$243,726 to $609,350 | 35% |
$609,351 or more | 37% |
Married Couples Filing Jointly and Surviving Spouses
Taxable Income | Tax Rate |
---|---|
Up to $23,200 | 10% |
$23,201 to $94,300 | 12% |
$94,301 to $201,050 | 22% |
$201,051 to $383,900 | 24% |
$383,901 to $487,450 | 32% |
$487,451 to $731,200 | 35% |
$731,201 or more | 37% |
Married Couples Filing Separately
Taxable Income | Tax Rate |
---|---|
Up to $11,600 | 10% |
$11,601 to $47,150 | 12% |
$47,151 to $100,525 | 22% |
$100,526 to $191,950 | 24% |
$191,951 to $243,725 | 32% |
$243,726 to $365,600 | 35% |
$365,601 or more | 37% |
Head-of-Household Filers
Taxable Income | Tax Rate |
---|---|
Up to $16,550 | 10% |
$16,551 to $63,100 | 12% |
$63,101 to $100,500 | 22% |
$100,501 to $191,950 | 24% |
$191,951 to $243,700 | 32% |
$243,701 to $609,350 | 35% |
$609,351 or more | 37% |
Example: Short-Term Capital Gains
Greyson, who is single, purchased 100 shares of stock in January 2024 for $10,000. He sold the stock in September 2024 for $18,000. He has no other capital gains and no capital losses for the year. As a result, he has a net short-term capital gain of $8,000 ($18,000 – $10,000). His 2024 taxable income is $75,000, which means his gain is taxed at the 22% rate for a capital gains tax of $1,760 ($8,000 × 0.22).
Compare this example with the example above for the long-term capital gains tax rates. Although both Andrew (example above) and Greyson have the same filing status and taxable income, Greyson’s tax rate and total capital gains tax liability is higher. That’s typical when you compare long-term capital gains tax rates (lower) with short-term capital gains tax rates (higher).
Related: Earned Income Tax Credit – How Much, Eligibility + More
2025 Short-Term Capital Gains Tax Rates
As with the long-term rates, the IRS adjusted the income ranges for the short-term capital gains tax rates each year to account for inflation.
So, if you’re already planning ahead for this year, here are the short-term capital gains tax rates for the 2025 tax year (again, each table is based on your filing status).
Single Filers
Taxable Income | Tax Rate |
---|---|
Up to $11,925 | 10% |
$11,926 to $48,475 | 12% |
$48,476 to $103,350 | 22% |
$103,351 to $197,300 | 24% |
$197,301 to $250,525 | 32% |
$250,526 to $626,350 | 35% |
$626,351 or more | 37% |
Married Couples Filing Jointly and Surviving Spouses
Taxable Income | Tax Rate |
---|---|
Up to $23,850 | 10% |
$23,851 to $96,950 | 12% |
$96,951 to $206,700 | 22% |
$206,701 to $394,600 | 24% |
$394,601 to $501,050 | 32% |
$501,051 to $751,600 | 35% |
$751,601 or more | 37% |
Married Couples Filing Separately
Taxable Income | Tax Rate |
---|---|
Up to $11,925 | 10% |
$11,926 to $48,475 | 12% |
$48,476 to $103,350 | 22% |
$103,351 to $197,300 | 24% |
$197,301 to $250,525 | 32% |
$250,526 to $375,800 | 35% |
$375,801 or more | 37% |
Head-of-Household Filers
Taxable Income | Tax Rate |
---|---|
Up to $17,000 | 10% |
$17,001 to $64,850 | 12% |
$64,851 to $103,350 | 22% |
$103,351 to $197,300 | 24% |
$197,301 to $250,500 | 32% |
$250,501 to $626,350 | 35% |
$626,351 or more | 37% |
Related: American Opportunity Tax Credit: Eligibility, Amount + More
Alternative Capital Gains Tax Rates
As mentioned earlier, the type of property is also a factor in determining the tax rate applied to a capital gain. This is because there are special capital gains tax rates for certain types of assets.
The following special capital gains tax rates apply for both the 2024 and 2025 tax years:
- 28% for the taxable portion of a gain from selling qualified small business stock (a.k.a., “Section 1202 stock”)
- 28% for collectibles (e.g., art, coins, stamps, historic artifacts, etc.)
- 25% for unrecaptured gain from selling certain real estate (“Section 1250 property”) subject to depreciation
Each special capital gains rate is a maximum rate. As a result, your ordinary income tax rate might still apply to short-term capital gains on the sale of qualified small business stock, collectibles, or Section 1250 property if it’s higher than the special maximum capital gains tax rate.
Related: 11 Education Tax Credits and Deductions for 2024
State Capital Gains Tax Rates
Let’s not forget about state taxes, since state capital gains taxes apply in most states that impose an income tax. Generally, the capital gains included in your state taxable income are treated and taxed at the same rate as other income, regardless of whether they’re long-term capital gains or short-term capital gains.
Young and the Invested Tip: Washington State, which doesn’t have an income tax, also levies a separate 7% capital gains tax.
For more information on state taxes on capital gains, check with the state tax agency where you live.
Related: States That Tax Social Security Benefits
Net Investment Income Tax
In addition to paying capital gains taxes when you sell profitable assets, you might also have to pay what’s called the net investment income tax. This 3.8% surtax is imposed on your “net investment income” if your modified adjusted gross income (AGI) exceeds a certain amount.
Among other things, your net investment income generally includes interest, dividend income, capital gains, rental and royalty income, and non-qualified annuities. It doesn’t include wages, unemployment compensation, Social Security benefits, alimony, and most self-employment income. Net investment income also doesn’t include any gain on the sale of a personal residence that’s excluded from gross income for regular income tax purposes.
Income Thresholds for Net Investment Income Tax
The income thresholds, which are based on your filing status, are as follows.
Filing Status | Modified AGI Threshold |
---|---|
Single; Head of Household | $200,000 |
Married Filing Separately | $125,000 |
Married Filing Jointly; Surviving Spouse | $250,000 |
For purposes of the net investment income tax, modified adjusted gross income means the adjusted gross income reported on your federal income tax return, plus any excluded foreign earned income.
The thresholds aren’t adjusted annually for inflation, so they’re the same for both 2023 and 2024.
Related: How to Invest for (And in) Retirement: Strategies + Investment Options
How to Reduce or Avoid Capital Gains Taxes
As with any other type of tax, you want to lower or even avoid capital gains taxes if you can. There are several ways to whittle down your capital gains tax bill and cut your overall tax liability in the process. Some methods take advance planning, while others can be implemented relatively quickly. And, of course, some might not be practical or even feasible for you.
To get you thinking about ways to slash your capital gains taxes, here are some quick-hit capital gains tax strategies that might be right for you:
- Hold assets for more than one year before selling for a profit. With a long-term gain, you’ll qualify for a lower capital gains tax rate.
- Sell investments or other assets that have declined in value to generate capital losses. The losses can then be used to offset capital gains. This approach is commonly referred to as “tax loss harvesting.”
- Place assets that are likely to increase significantly in value in tax-advantaged retirement accounts, such as a traditional IRA. If you sell assets in these accounts, you don’t have to pay capital gains taxes. However, withdrawals from these accounts will be taxed at ordinary income tax rates regardless of how long you held the asset.
- Consider donating appreciated property to charity to receive a tax deduction for the property’s FMV. Under certain circumstances, the FMV is reduced by any long-term capital gain you would have realized had you sold the property. Your charitable tax deductions might also be limited to up to 50% of your adjusted gross income.
- If you’re selling investment real estate, defer capital gains taxes with a Section 1031 like-kind exchange. If you use the profits from the sale to purchase real estate of the same nature or character, then any gain or loss generally won’t be recognized until you sell or otherwise dispose of the new property.
- Delay selling your home if you haven’t lived there very long. If you expect to owe capital gains taxes on the sale, you definitely don’t want to leave the $250,000 exclusion ($500,000 if married filing jointly) on the table. If you currently don’t meet the ownership or residency requirements, consider postponing the sale until you do.
- You can defer or eliminate capital gains taxes if you invest profits from the sale of property in a Qualified Opportunity Fund, which then invests in economically distressed communities. Your capital gains tax liability can be deferred until 2027. In addition, if you hold your investment in a QOF for 10 years, your basis is increased to 100% of the investment’s FMV (other basis increases are available if you hold the investment for five or seven years).
Check with your tax advisor to see if any of these strategies can provide tax advantages for you and reduce your overall tax burden.
Related: