Federal capital gains tax rates depend on your income and how long you held the asset
The federal tax rate on capital gains is either 0%, 15%, or 20%, determined by your total income for the year and whether you held the asset for more than one year. Long-term capital gains (assets held over one year) use these three rates. Short-term capital gains (assets held one year or less) are taxed as ordinary income at rates ranging from 10% to 37%, depending on your tax bracket.
The rate brackets change each year. For 2024, the 15% long-term rate applies to single filers with income between roughly $47,000 and $518,000, and married filers filing jointly between roughly $94,000 and $583,000. Income below those thresholds qualifies for the 0% rate; income above qualifies for 20%. These numbers shift annually for inflation.
Your state may also tax capital gains. Nine states have no capital gains tax at all. Most others tax it as income at their regular rates, which range from under 1% to over 13%. A few states—including California, New York, and Washington—have separate capital gains taxes on top of income tax, typically 1% to 7% on gains over a certain threshold.
Key Takeaways
- Long-term capital gains (held over one year) are taxed at 0%, 15%, or 20% federally based on your income bracket; short-term gains are taxed as ordinary income at rates up to 37%.
- The income thresholds for each rate bracket change yearly and differ for single filers, married couples, and heads of household.
- State capital gains taxes vary widely: nine states have none, most tax it as regular income, and a few impose a separate capital gains tax on top of income tax.
- Your total income for the year—including wages, interest, and other gains—determines which federal rate bracket you fall into.
How holding period affects your tax rate
The length of time you own an asset before selling it determines whether you pay the preferential long-term rate or the higher short-term rate. If you sell a stock, real estate, or other investment property within one year of purchase, the gain is short-term and taxed at your ordinary income tax rate—the same rate applied to your salary or wages.
Hold the same asset for more than one year, and the gain becomes long-term. Long-term gains receive preferential treatment: the 0%, 15%, or 20% federal rates, which are substantially lower than ordinary income rates for most taxpayers. This is why financial advisors often mention the one-year mark as a planning threshold.
The holding period clock starts the day after you purchase the asset and ends the day you sell it. If you buy stock on March 15 and sell it on March 16 of the following year, that is long-term. If you sell on March 15 of the following year, it is short-term by one day.
Federal tax brackets for long-term capital gains in 2024
| Tax Rate | Single Filers | Married Filing Jointly | Head of Household |
|---|---|---|---|
| 0% | Up to $47,025 | Up to $94,050 | Up to $62,975 |
| 15% | $47,025 to $518,900 | $94,050 to $583,750 | $62,975 to $551,350 |
| 20% | Over $518,900 | Over $583,750 | Over $551,350 |
These thresholds apply to your taxable income, not your total income. Taxable income is what remains after you subtract the standard deduction (roughly $14,600 for single filers and $29,200 for married couples in 2024) and any other deductions you claim.
The IRS adjusts these brackets annually for inflation, so the numbers for 2025 and beyond will be higher. When you file your tax return, you report capital gains separately from ordinary income, and the IRS applies the appropriate rate based on your filing status and total taxable income for the year.
How state taxes add to your federal rate
Nine states—Alaska, Florida, Nevada, South Dakota, Tennessee, Texas, Washington, Wyoming, and New Hampshire (on dividends only)—do not tax capital gains at all. If you live in one of these states, you pay only the federal rate.
Most other states tax capital gains as ordinary income, meaning your state income tax rate applies on top of the federal rate. If you live in a state with a 5% income tax and you owe 15% federal long-term capital gains tax, your combined rate is 20%. State rates range from under 1% in some states to over 13% in California and New York.
California, New York, and Washington impose separate capital gains taxes in addition to income tax. California taxes long-term gains at 13.3% (the same as its top income tax rate) on gains over $250,000. New York has a 7% capital gains tax on gains over $1 million. Washington taxes long-term gains at 7% on gains over $250,000. These are on top of any state income tax owed.
Short-term capital gains and ordinary income tax brackets
Short-term gains are taxed at your ordinary income tax rate, which ranges from 10% to 37% federally depending on your total income and filing status. For 2024, the 10% bracket applies to single filers earning up to roughly $11,600; the 37% bracket applies to those earning over roughly $578,100. Married couples filing jointly face the 10% rate up to roughly $23,200 and the 37% rate over roughly $693,750.
Because short-term gains are added to your ordinary income, they can push you into a higher tax bracket. If you earn $50,000 in wages and realize a $30,000 short-term capital gain, you are taxed on $80,000 of income. This can result in a significantly higher tax bill than if you had held the asset for more than one year.
Short-term gains receive no preferential rate treatment. They are treated exactly like salary, interest, or other ordinary income. This is why the one-year holding period is often a strategic consideration for investors.
How to calculate your capital gains tax
Start by determining your gain: the sale price minus your cost basis (what you paid for the asset, plus any improvements or adjustments). 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 based on your holding period. Then add the gain to your other income for the year. If it is a long-term gain, you report it on Schedule D of your tax return, and the IRS applies the 0%, 15%, or 20% rate based on your total taxable income. If it is short-term, it is added to your ordinary income and taxed at your marginal rate.
Finally, add any state capital gains tax owed. Check your state's tax authority website or consult a tax professional to determine your state's rate and any thresholds or exemptions that apply.
Frequently Asked Questions
Do I owe capital gains tax if I sell at a loss?
No. If you sell an asset for less than you paid for it, you have a capital loss, not a gain. You can use capital losses to offset capital gains dollar-for-dollar. If your losses exceed your gains, you can deduct up to $3,000 of the excess loss against ordinary income in a single year, and carry forward any remaining loss to future years.
What if I inherit an asset—do I owe capital gains tax when I sell it?
Inherited assets receive a "step-up in basis," meaning your cost basis is reset to the asset's value on the date of the owner's death, not what the original owner paid. If you inherit stock worth $50,000 and sell it a month later for $52,000, you owe tax only on the $2,000 gain, not the entire appreciation since the original purchase.
Are dividends taxed the same way as capital gains?
may have access to dividends are taxed at the same preferential 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. corporations and mutual funds are may have access to if you held the stock for at least 60 days around the dividend payment date.
Do I have to report capital gains if they are small?
Yes. The IRS requires you to report all capital gains, regardless of size. However, if your total capital gains are small and you have no other income, you may owe no tax due to the standard deduction. Report the gains on your tax return anyway.
Can I reduce my capital gains tax by timing when I sell?
Yes, by managing which year you realize the gain and by harvesting losses to offset gains. If you are close to a higher tax bracket threshold, selling in a different year might keep you in a lower bracket. Selling assets at a loss in the same year as large gains can reduce your net taxable gain. A tax professional can help you plan this strategy.