The tax rate depends on how long you held the asset and your income level
Capital gains tax is not one flat rate. The amount 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. Long-term capital gains are taxed at lower rates than short-term gains. Short-term gains are taxed as ordinary income, which means they use the same tax brackets as your wages or salary.
The federal government sets these rates, but some states and cities also tax capital gains. Your total bill is the sum of federal tax, state tax (if your state has one), and any local tax that applies to you.
Key Takeaways
- Long-term capital gains are taxed at 0%, 15%, or 20% depending on your income; short-term gains use your ordinary income tax bracket, which can be as high as 37%.
- You must hold an asset for more than one year for the gain to count as long-term; selling after exactly one year still counts as short-term.
- Your income level determines which rate you pay, and the income thresholds change each year based on inflation.
- Some states tax capital gains as income; others do not tax them at all, so your state of residence matters.
- You report capital gains on Schedule D of your federal tax return, and your tax preparer or software will calculate the exact amount owed.
Long-term capital gains tax rates for 2024
Long-term capital gains are taxed at three federal rates: 0%, 15%, or 20%. Which rate you pay depends on your taxable income and filing status. The income thresholds that determine your rate change every year.
For 2024, the 0% rate applies to single filers with taxable income up to $47,025, married filing jointly up to $94,050, and head of household up to $62,975. The 15% rate applies to income above those thresholds up to $518,900 (single), $583,750 (married filing jointly), or $551,350 (head of household). Income above those amounts is taxed at 20%.
These thresholds are adjusted annually for inflation, so they will be different in 2025. The IRS publishes updated numbers in late 2024 for the following tax year.
Short-term capital gains tax rates
Short-term capital gains are taxed as ordinary income. This means they are added to your wages, salary, and other income, and the combined total is taxed using the standard income tax brackets. For 2024, those brackets range from 10% to 37% depending on how much total income you have and your filing status.
Because short-term gains use the same brackets as your regular income, they can push you into a higher tax bracket. For example, if you earn $100,000 in salary and realize a $50,000 short-term capital gain, your taxable income is $150,000, and you pay tax on that full amount at the rates that apply to $150,000 of income.
This is why holding an asset for more than one year usually results in a lower tax bill. The difference between short-term and long-term rates can be substantial — as much as 22 percentage points if you are in the highest bracket.
State and local capital gains taxes
Most states do not tax capital gains separately. However, some states tax capital gains as income and apply their ordinary income tax rate to the gain. A few states have a dedicated capital gains tax that applies only to investment income.
California, for example, taxes capital gains as ordinary income at rates up to 13.3%. New York taxes them as income at rates up to 10.9%. Washington state has a 7% capital gains tax on long-term gains over $250,000. Other states like Texas, Florida, and Nevada do not tax capital gains at all.
Your state of residence on December 31 of the tax year determines which state tax applies. If you moved during the year, you may owe tax to two states, though most states offer credits to avoid double taxation. Some cities also impose local income taxes that may apply to capital gains.
How the holding period affects your tax rate
The difference between short-term and long-term treatment hinges on one rule: you must own the asset for more than one year. "More than one year" means you must hold it for at least 366 days if you are counting calendar days, or you must own it through the same date in the following year.
If you buy a stock on June 15, 2024, and sell it on June 15, 2025, the gain is long-term. If you sell it on June 14, 2025, the gain is short-term. The IRS counts the purchase date as day zero and the sale date as day one, so the exact timing matters.
This is why many investors plan the timing of sales around the one-year mark. Waiting a few weeks or months to cross the long-term threshold can save thousands in taxes on large gains.
How to report capital gains on your tax return
You report capital gains on Schedule D of your federal tax return (Form 1040). Schedule D asks you to list each asset you sold, the date you bought it, the date you sold it, your cost basis (what you paid), the sale price, and the gain or loss. The form automatically calculates whether each gain is long-term or short-term based on the dates you enter.
If you have only a few transactions, you can fill out Schedule D by hand. If you have many transactions, tax software like TurboTax, H&R Block, or TaxAct will import your brokerage statements and populate the form for you. A tax preparer or CPA can also handle this work.
The IRS requires brokers to send you a Form 1099-B showing the sales you made during the year. Keep this document with your tax records. If your reported gains do not match what the IRS receives from your broker, you may be contacted for clarification.
Special situations that affect your capital gains tax
Certain types of assets or circumstances receive different treatment. Collectibles — art, coins, stamps, and similar items — are taxed at a maximum rate of 28% on long-term gains, which is higher than the standard 20% rate. may have access to small business stock can receive a partial exclusion, meaning you may not owe tax on part of the gain.
If you have capital losses in the same year, you can use them to offset capital 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.
Inherited assets receive what is called a "step-up in basis." If you inherit stock worth $100,000 that the deceased person bought for $20,000, your cost basis becomes $100,000. If you sell it immediately for $100,000, you owe no capital gains tax. This applies only to inherited assets, not to gifts received during someone's lifetime.
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 that loss to reduce any capital gains you have in the same year. If losses exceed gains, you can deduct up to $3,000 against other income, with any remaining loss carrying forward to future years.
What if I sell cryptocurrency or Bitcoin?
Cryptocurrency is treated as property by the IRS. When you sell it, you owe capital gains tax on the difference between what you paid and what you received. The holding period rule applies — if you held it more than one year, it is taxed at long-term rates. If you held it one year or less, it is taxed as short-term income.
Do I owe capital gains tax on my primary home?
You may not. If you are single and lived in the home as your primary residence for at least two of the last five years, you can exclude up to $250,000 of gain from tax. If you are married filing jointly, the exclusion is $500,000. You can use this exclusion only once every two years.
How do I know my cost basis if I bought stock decades ago?
Your broker should have records going back many years. Log into your brokerage account and look for historical statements or a cost basis report. If the broker no longer has records, contact them directly — they are required to maintain this information. If records are truly unavailable, you may need to reconstruct the basis using old statements or receipts.
Can I reduce my capital gains tax by donating appreciated stock to charity?
Yes. If you donate appreciated stock directly to a may have access to charity, you avoid the capital gains tax on the appreciation and receive a charitable deduction for the full fair market value of the stock. You must own the stock long-term for this to work. Consult a tax professional or financial advisor about the best way to structure a large charitable donation.