What Capital Gains Tax Is and Who Pays It

Capital gains tax is the tax you owe when you sell something you own — a stock, a house, a piece of art — for more than you paid for it. The profit is the "gain," and that's what gets taxed. You don't pay this tax just for owning the asset; you only owe it when you actually sell and lock in the profit.

The federal government taxes capital gains, and most states do too. The rate depends on two things: how long you held the asset before selling it, and how much total income you made that year. A person who held an investment for two months pays a different rate than someone who held it for five years, even if the profit was identical.

Key Takeaways

  • Short-term capital gains (assets held one year or less) are taxed as ordinary income at your regular tax bracket rate, which ranges from 10% to 37% federally.
  • Long-term capital gains (assets held more than one year) have lower federal rates: 0%, 15%, or 20%, depending on your total income for the year.
  • State capital gains taxes vary widely — some states have no capital gains tax at all, while others tax it like regular income or charge a flat rate.
  • The rates and income thresholds that determine which bracket you fall into can change each year, so the exact numbers shift annually.
  • You report capital gains on your federal tax return using Schedule D, and your state return if your state has a capital gains tax.

Federal Short-Term Capital Gains Rates

If you sell an asset you've owned for one year or less, the profit is a short-term capital gain. The federal government taxes this at your ordinary income tax rate — the same rate you pay on wages, salary, or other regular income. That rate ranges from 10% to 37%, depending on your total income for the year and your filing status (single, married filing jointly, head of household, and so on).

For example, if you're a single person with $50,000 in wages and you sell a stock for a $5,000 short-term gain, that $5,000 gets added to your $50,000, making your taxable income $55,000. You pay tax on the full $55,000 at whatever bracket that puts you in. The short-term gain doesn't get a break — it's treated exactly like a paycheck.

Federal Long-Term Capital Gains Rates

If you hold an asset for more than one year before selling it, the profit is a long-term capital gain, and it gets preferential tax treatment. The federal rates are 0%, 15%, or 20% — much lower than the ordinary income rates. Which rate you pay depends on your total income for the year, not on how much you made from the sale itself.

The income thresholds that determine which rate applies change every year because they're adjusted for inflation. For 2024, a single person with taxable income up to roughly $47,000 pays 0% on long-term gains. From roughly $47,000 to $518,000, the rate is 15%. Above that, it's 20%. Married couples filing jointly have higher thresholds. These numbers shift slightly each year, so check the IRS website or a tax professional for the current year's brackets.

The advantage is real: a person in the 37% ordinary income bracket who sells a stock for a $10,000 long-term gain pays $1,500 in federal tax (15% of $10,000), not $3,700 (37% of $10,000). That's why holding an investment longer than a year can save you thousands.

State Capital Gains Taxes

State tax treatment varies dramatically. Some states — including Alaska, Florida, Nevada, South Dakota, Tennessee, Texas, Washington, and Wyoming — have no capital gains tax at all. If you live in one of these states, you only owe federal tax on your gains.

Other states tax capital gains as ordinary income, meaning they explore their regular income tax rate to your gains. New York, California, and many others work this way. A few states, including Iowa and Vermont, have separate capital gains tax rates that differ from their ordinary income rates. A handful of states — including Washington and Oregon — have recently passed capital gains taxes that explore only to gains above a certain threshold (often $250,000 or more).

Your state's rate depends on where you live when you sell the asset, not where the asset is located or where the company is based. If you sell a stock while living in Florida, you owe no state capital gains tax. If you move to New York and sell the same stock, you owe New York's rate. This matters for people who move or who have income in multiple states.

How to Calculate Your Capital Gains

The gain is straightforward: the sale price minus what you paid for it, minus any costs directly tied to the sale (like a broker's commission). If you bought a stock for $1,000 and sold it for $1,500, your gain is $500. If you paid a $10 commission to sell it, your gain is $490.

For real estate, you can also subtract certain improvements you made to the property — a new roof, a kitchen renovation, a deck. You cannot subtract routine maintenance like painting or repairs. Keep receipts and records of what you paid for the asset and what you spent improving it, because you'll need those numbers when you file your tax return.

If you inherited an asset, the cost basis "steps up" to the market value on the date of death. This means if your parent bought a house for $200,000 and it was worth $400,000 when they died, your cost basis is $400,000, not $200,000. If you sell it a month later for $410,000, your gain is only $10,000, not $210,000. This is a major tax advantage for inherited assets.

Reporting Capital Gains on Your Tax Return

You report capital gains on your federal return using Schedule D, which is part of Form 1040. You list each sale separately — the asset, the date you bought it, the date you sold it, the sale price, and your cost basis. The form automatically separates short-term and long-term gains and calculates your total.

If you have a net loss — you sold some things for gains and others for losses — you can use losses to offset gains. If your losses exceed your gains, you can deduct up to $3,000 of the excess loss against ordinary income in that year. Any remaining loss carries forward to future years.

Your state return works similarly if your state taxes capital gains. You'll report the same information on your state form, and your state will explore its own rate. Some states follow the federal definition of long-term versus short-term; others don't, so read your state's instructions carefully.

Frequently Asked Questions

Do I owe capital gains tax if I sell my primary home?

No, if you meet the requirements. You can exclude up to $250,000 of gain if you're single, or $500,000 if you're married filing jointly, as long as you owned and lived in the home as your main residence for at least two of the last five years. This exclusion applies once every two years, so most people who sell a home owe no federal tax on the gain.

What if I sell an investment at a loss?

You can use the loss to offset capital gains from other sales in the same year. If losses exceed gains, you can deduct up to $3,000 against ordinary income. Any loss beyond that carries forward to future years, so you're not losing the deduction — you're just using it later.

How do I know if I held an asset more than one year?

Count from the date you bought it to the date you sold it. If you bought a stock on March 15, 2023, and sold it on March 16, 2024, that's more than one year, so it's long-term. If you sold it on March 15, 2024, it's exactly one year, which counts as short-term. The rule is more than one year, not one year or more.

Do I have to report capital gains if they're small?

Yes. Even a $50 gain must be reported on Schedule D. The IRS tracks your sales through broker statements and 1099 forms, so unreported gains will likely be caught. Report all gains, no matter the size.

Can I reduce my capital gains tax by timing when I sell?

Yes, by waiting until you've held an asset more than one year to get the lower long-term rate, and by managing which year you sell in if you're near a tax bracket threshold. You can also use losses to offset gains in the same year. A tax professional can help you plan the timing of sales to minimize your total tax.