The two rates that apply to most people
Capital gains tax rates depend on how long you held the asset before selling it. If you owned it for one year or less, the gain is taxed as short-term capital gains — at your ordinary income tax rate, which ranges from 10% to 37% depending on your total income. If you owned it for more than one year, the gain is taxed as long-term capital gains — at a lower rate of 0%, 15%, or 20%, depending on your income bracket.
Long-term rates are lower because Congress designed them to encourage people to hold investments longer. The difference matters: selling a stock after 13 months instead of 11 months can cut your tax bill by half or more, depending on your income.
The rate you pay is not based on the size of the gain itself — it is based on your total taxable income for the year. A $10,000 gain might be taxed at 0% if your other income is low, or at 20% if your other income is high.
Key Takeaways
- Short-term capital gains (assets held one year or less) are taxed at your ordinary income tax rate, which ranges from 10% to 37%.
- Long-term capital gains (assets held more than one year) are taxed at 0%, 15%, or 20%, depending on your total income for the year.
- The rate you pay depends on your income bracket, not on the size of the gain or the type of asset.
- State and local taxes may add 3% to 13% on top of federal capital gains tax, depending on where you live.
- Certain assets like collectibles and real estate have different rules and may be taxed at higher rates.
Long-term capital gains brackets for 2024
The 0% rate applies if your taxable income falls below a threshold that changes each year. For 2024, that threshold is roughly $47,000 for single filers and $94,000 for married couples filing jointly. If your income is below that line, you owe no federal tax on long-term gains.
The 15% rate applies to most middle-income earners. For 2024, this covers single filers with taxable income between about $47,000 and $518,000, and married couples between about $94,000 and $583,000.
The 20% rate applies to higher earners. For 2024, this covers single filers with taxable income above $518,000 and married couples above $583,000. These thresholds adjust slightly each year for inflation.
These brackets are separate from your ordinary income brackets. You calculate long-term gains using their own brackets, which is why a long-term gain can be taxed at 15% even if your salary puts you in the 24% or 32% income bracket.
How state and local taxes add to the federal rate
Federal capital gains tax is only part of what you owe. Most states tax capital gains as ordinary income, meaning you pay your state income tax rate on top of the federal rate. State rates range from 0% (in states with no income tax) to about 13% (in California and a few others).
Some states have lower rates for long-term gains. A few states do not tax capital gains at all. New Hampshire and Tennessee tax only investment income, not wages. If you live in one of these states, you may owe less than someone in a high-tax state with the same gain.
A few cities also tax capital gains. New York City, for example, adds a small tax on gains. Check your state and local tax authority's website to find your exact rate.
Short-term gains and why the holding period matters
Short-term capital gains are taxed at your ordinary income tax rate. If you are in the 24% federal income bracket and sell a stock after holding it for six months, the gain is taxed at 24%, not 15%. Add state tax and you may owe 30% or more of the gain.
The one-year holding period is measured from the date you bought the asset to the date you sold it. If you bought on June 15, 2023, and sold on June 15, 2024, it qualifies as long-term. If you sold on June 14, 2024, it is short-term.
This is why traders and active investors often face higher tax bills than buy-and-hold investors. Frequent trading generates short-term gains taxed at full income rates, while someone who buys and holds for years pays the lower long-term rate.
Special rules for collectibles and real estate
Not all capital gains are taxed at the rates above. Collectibles — including art, coins, stamps, and precious metals — are taxed at a maximum rate of 28% on long-term gains, even if your income would normally put you in the 15% bracket. This is higher than the standard long-term rate.
Real estate is more complex. If you sell a primary residence and meet certain conditions (owned and lived in it for at least two of the last five years), you can exclude up to $250,000 of gain if single, or $500,000 if married filing jointly. Gains above that threshold are taxed at the standard long-term rates. If you sell investment property or rental real estate, there is no exclusion — all gains are taxable.
Depreciation recapture on rental property is taxed at 25%, not the standard long-term rate. This applies to the portion of the gain that came from depreciation deductions you took in previous years.
How to calculate what you actually owe
To find your rate, start with your total taxable income for the year — wages, interest, dividends, and other income combined. Then look up which long-term capital gains bracket that income falls into. That bracket determines your rate on long-term gains.
Short-term gains are added to your ordinary income and taxed at your income tax rate. If you earned $60,000 in wages and have a $10,000 short-term gain, you are taxed as if you earned $70,000, which may push you into a higher bracket.
The order in which you report gains matters. Long-term gains are calculated first, then short-term gains. If you have both types in the same year, the long-term gains fill up the lower brackets first, and short-term gains are taxed at whatever rate is left.
Tax-loss harvesting and offsetting gains
If you have capital losses in the same year as gains, you can use the losses to reduce the gains. If you sold a stock for a $5,000 loss and another for a $8,000 gain, you report a net gain of $3,000 and owe tax only on that amount.
If your losses exceed your gains, you can deduct up to $3,000 of the net loss against your ordinary income in that year. Any remaining loss carries forward to future years, where you can use it to offset future gains or income.
This strategy, called tax-loss harvesting, is common among investors who want to reduce their tax bill. You can sell a losing position to lock in the loss, then buy a similar (but not identical) investment to stay in the market.
Frequently Asked Questions
Do I owe capital gains tax if I inherit stock or property?
No federal capital gains tax on the inheritance itself. However, inherited assets receive a "step-up in basis," meaning your cost basis is reset to the asset's value on the date of death. If you later sell the inherited asset, you owe tax only on gains that occur after you inherited it, not on gains that happened while the original owner held it.
What if I sell at a loss?
Capital losses offset capital gains dollar-for-dollar. If you have no gains to offset, you can deduct up to $3,000 of net losses against your ordinary income each year. Losses beyond that carry forward indefinitely to future years.
Are dividends taxed the same as capital gains?
may have access to dividends are taxed at the same long-term capital gains rates (0%, 15%, or 20%). Non-may have access to dividends are taxed as ordinary income. Most dividends from U.S. stocks are may have access to if you held the stock for at least 60 days around the dividend date.
Do I have to report small gains?
Yes. Even gains of $1 must be reported on your tax return. The IRS receives a record of sales from your broker on Form 1099-B, so unreported gains are likely to be caught during an audit.
What happens if I sell cryptocurrency?
Cryptocurrency is treated as property, not currency. Gains are taxed as capital gains using the same short-term and long-term rates. If you held the crypto for more than one year before selling, it qualifies for the lower long-term rates.