Capital gains tax rates depend on how long you held the asset and your income level

The federal capital gains tax rate is either 0%, 15%, or 20% on profits from selling investments, real estate, or other assets you own. Which rate you pay depends on two things: whether you held the asset for more than one year (long-term) or one year or less (short-term), and your total taxable income for that year. Short-term gains are taxed as ordinary income, which means they use the same brackets as wages — anywhere from 10% to 37% depending on your income. Long-term gains get the preferential rates of 0%, 15%, or 20%.

Your state may also tax capital gains. Some states add their own tax on top of the federal rate; others tax capital gains as regular income; a few states have no capital gains tax at all. The total you owe is federal plus state, so your actual rate varies by where you live and file taxes.

Key Takeaways

  • Long-term capital gains (assets held over one year) are taxed at 0%, 15%, or 20% federally, depending on your income bracket.
  • Short-term capital gains (assets held one year or less) are taxed as ordinary income at rates from 10% to 37%.
  • Your income level for the year determines which long-term rate applies to you, not the size of the gain itself.
  • State capital gains taxes vary widely — some states add a separate tax, others tax gains as income, and a few charge nothing.

Long-term capital gains rates and income thresholds

If you held an asset for more than one year before selling it, you may have access to for long-term capital gains treatment. The rate you pay — 0%, 15%, or 20% — is determined by your taxable income for that year, not by the amount of the gain.

For 2024, the income thresholds are: 0% rate applies if your taxable income is below $47,025 (single filers) or $94,050 (married filing jointly); 15% rate applies to income between those amounts and $518,900 (single) or $583,750 (married); 20% rate applies to income above those thresholds. These thresholds adjust each year for inflation, so the numbers change annually. You will need to check the IRS website or your tax software for the current year's thresholds when you file.

The thresholds are based on your total taxable income for the year, including wages, interest, dividends, and capital gains combined. If you have a large gain that pushes you into a higher bracket, part of your gain may be taxed at 15% and part at 20%.

Short-term capital gains and ordinary income tax rates

If you sold an asset you owned for one year or less, the gain is taxed as ordinary income. This means it uses the same tax brackets as your wages or salary — the rates range from 10% to 37% depending on your total income for the year.

Short-term gains are added to your other income and taxed at whatever bracket that combined income falls into. If you earned $60,000 in wages and have a $10,000 short-term gain, you are taxed on $70,000 total income. The short-term gain does not get a preferential rate; it is treated exactly like additional wages.

This is why holding an asset for just over one year can make a significant difference in your tax bill. A $50,000 gain taxed as short-term income at the 37% rate costs $18,500 in federal tax. The same gain taxed as long-term at the 15% rate costs $7,500 — a difference of $11,000.

How state taxes add to your federal rate

Most states tax capital gains, but they do it in different ways. Some states have a separate capital gains tax that applies only to investment income — these rates range from about 5% to 13.3% depending on the state. Other states tax capital gains as regular income using their standard income tax brackets, which can range from 0% to over 13%. A handful of states — including Alaska, Florida, Nevada, South Dakota, Tennessee, Texas, Washington, and Wyoming — do not tax capital gains at all.

Your total tax bill is federal plus state. If you live in California and owe 20% federal tax plus 13.3% state tax on a long-term gain, your combined rate is 33.3%. If you live in Texas with no state capital gains tax, you owe only the 20% federal rate. Where you live and file taxes significantly affects what you actually pay.

How to calculate your capital gains tax

Start by determining your gain: sale price minus what you paid for the asset (your basis), minus any selling costs like broker fees or commissions. If you bought stock for $10,000 and sold it for $15,000, your gain is $5,000.

Next, determine whether the gain is long-term or short-term by counting the days you owned it. The holding period starts the day after you buy and ends the day you sell. If you bought on January 15 and sold on January 16 of the next year, that is long-term. If you sold on January 15 of the next year, that is short-term.

Then, add the gain to your other income for the year to find your total taxable income. Look up the tax bracket or capital gains rate that applies to that income level. Multiply the gain by the rate to find your federal tax. Add your state tax using your state's rules. The result is what you owe on that gain.

Special situations that affect your rate

If you have both long-term and short-term gains in the same year, they are taxed separately. Short-term gains are taxed as ordinary income first, then long-term gains are taxed at their preferential rates. If you have capital losses, you can use them to offset gains — a $10,000 loss reduces your taxable gain by $10,000. If losses exceed gains, you can deduct up to $3,000 of the excess loss against other income in that year, and carry forward any remaining loss to future years.

Certain assets get different treatment. Collectibles like art, coins, or stamps are taxed at a maximum 28% rate even if they are long-term gains. may have access to small business stock can sometimes be excluded from taxation entirely under Section 1202. Real estate used as your primary residence gets an exclusion of up to $250,000 (single) or $500,000 (married) if you meet holding and use requirements. These exceptions have specific rules, so consult a tax professional if any apply to you.

Frequently Asked Questions

Do I have to pay capital gains tax if I reinvest the money?

Yes. The tax is based on the gain itself, not on what you do with the proceeds. If you sell stock for a $5,000 profit and immediately buy different stock with that money, you still owe tax on the $5,000 gain. Reinvesting does not defer or eliminate the tax.

What if I have a capital loss larger than my gains?

You can deduct up to $3,000 of net capital losses against other income (wages, interest, etc.) in the current year. Any loss beyond $3,000 carries forward to future years, where you can use it to offset future gains or deduct another $3,000 against other income. This process continues until the loss is fully used.

Are inherited assets taxed as capital gains?

No. When you inherit an asset, your basis is "stepped up" to its fair market value on the date of death. If you inherit stock worth $100,000 and later sell it for $105,000, you owe tax only on the $5,000 gain, not on the entire $105,000. This is a major tax advantage of inherited assets.

Do I report capital gains on my tax return even if I did not owe tax?

Yes. Even if your gain falls in the 0% bracket and you owe no federal tax, you must report it on Schedule D (Form 1040). Reporting is required regardless of the amount owed. Your tax software or preparer will handle this automatically.

Can I avoid capital gains tax by holding an asset longer?

Holding longer than one year qualifies you for the preferential long-term rates (0%, 15%, or 20%) instead of ordinary income rates (10% to 37%), which is a significant benefit. However, the rate you pay still depends on your income level that year. Holding the asset does not eliminate the tax, but it can substantially reduce it.