Capital gains tax in 2026: rates and how it works
Key takeaways
- Your rate depends on how long you owned the asset. If you held it for one year or less, the gain is taxed like regular income, at 10% to 37%. If you held it for more than a year, it’s taxed at a lower rate of 0%, 15%, or 20%.
- In 2026, long-term gains are tax-free if your taxable income, including the gain, is up to $49,450 (single) or $98,900 (married filing jointly).
- High earners pay 3.8% more: the net investment income tax applies when your modified AGI is over $200,000 ($250,000 if married filing jointly).
- Selling your home is often tax-free: you can usually exclude up to $250,000 of gain ($500,000 if married filing jointly) if you lived there 2 of the last 5 years.
- You report gains on Form 8949 and Schedule D with your tax return. File with Keeper, and a tax pro reviews your return.
How the capital gains tax calculator works
Enter what you paid and what you sold for. The calculator finds your gain, decides whether it’s short or long-term, and adds it on top of your other taxable income to find the federal and state tax on it.
| Input | What to enter |
|---|---|
| What did you sell? | Stocks, funds, or crypto; your main home; or other property. If you choose your main home and owned and lived in it for 2 of the last 5 years, the calculator subtracts the home sale exclusion. |
| Value at time of purchase | What you paid, plus fees and commissions. This is your cost basis. |
| Value at time of sale | What you sold it for, minus selling fees. |
| Length of ownership | One year or less makes it a short-term gain; more than a year makes it long-term. |
| State and filing status | Where you lived when you sold, and how you file your return. |
| Annual taxable income | Your taxable income for the year, not counting this sale. |
Let’s see an example
A single filer has $60,000 of taxable income and sells stock for a $20,000 gain in 2026. Here’s the federal tax on that gain, depending on how long they held it:
| Held for | Rate | Federal tax on the gain |
|---|---|---|
| 1 year or less (short-term) | Ordinary income rates | $4,400 |
| More than 1 year (long-term) | 15% | $3,000 |
Waiting until they’d held the stock for more than a year would save them $1,400.
2026 long-term capital gains tax rates
Your long-term rate depends on your total taxable income, including the gain. Part of a gain can fall in one rate and the rest in the next.
| 2026 filing status | 0% rate | 15% rate | 20% rate |
|---|---|---|---|
| Single | Up to $49,450 | $49,451 to $545,500 | Over $545,500 |
| Married filing jointly | Up to $98,900 | $98,901 to $613,700 | Over $613,700 |
| Head of household | Up to $66,200 | $66,201 to $579,600 | Over $579,600 |
| Married filing separately | Up to $49,450 | $49,451 to $306,850 | Over $306,850 |
For gains from 2025, which you report on your 2025 return, the thresholds were:
| 2025 filing status | 0% rate | 15% rate | 20% rate |
|---|---|---|---|
| Single | Up to $48,350 | $48,351 to $533,400 | Over $533,400 |
| Married filing jointly | Up to $96,700 | $96,701 to $600,050 | Over $600,050 |
| Head of household | Up to $64,750 | $64,751 to $566,700 | Over $566,700 |
| Married filing separately | Up to $48,350 | $48,351 to $300,000 | Over $300,000 |
Short-term gains don’t get these rates. They’re taxed with your wages and other income at 10% to 37%. See our tax bracket calculator for the 2026 brackets.
Assets with higher long-term rates
- Collectibles, like art, coins, and precious metals, are taxed at up to 28%.
- Real estate depreciation you claimed on a rental or business property (unrecaptured section 1250 gain) is taxed at up to 25% when you sell.
The 3.8% net investment income tax
If your modified adjusted gross income is over $200,000 (single or head of household), $250,000 (married filing jointly), or $125,000 (married filing separately), you pay an extra 3.8% on the smaller of your investment income or the amount you’re over. These thresholds aren’t adjusted for inflation, so more people pay it each year. The calculator includes it.
What counts as a capital asset
The IRS says almost everything you own and use for personal or investment purposes is a capital asset. That includes:
- Stocks, bonds, and mutual funds
- Cryptocurrency and NFTs (see our crypto tax calculator)
- Your home and other real estate
- Collectibles like art, coins, and memorabilia
You only owe tax when you sell. Gains on assets you still own are unrealized and aren’t taxed. Losses on personal-use property, like your car, aren’t deductible.

Track and claim every eligible deduction with Keeper
Keeper scans your accounts for write-offs and files your return — with tax pros reviewing every one.
Try it freeSelling your home: the $250,000 exclusion
If you sell your main home at a profit, you can usually exclude up to $250,000 of the gain from your income, or $500,000 if you’re married filing jointly. To qualify, you need to have:
- Owned the home for at least 2 of the 5 years before the sale
- Lived in it as your main home for at least 2 of those 5 years
- Not used the exclusion on another home in the 2 years before the sale
Gain above the exclusion is taxed as a long-term capital gain, and the excluded part isn’t subject to the net investment income tax. Choose “My main home” under “What did you sell?” in the calculator to apply it.
How to lower your capital gains tax
- Hold for more than a year. Long-term rates are usually much lower than ordinary rates.
- Time sales for low-income years. If your taxable income stays under the 0% threshold, your long-term gains are tax-free.
- Offset gains with losses. Losses cancel out gains, and up to $3,000 of extra loss ($1,500 if married filing separately) comes off your other income. The rest carries forward.
- Use the home sale exclusion if you qualify.
- Invest in retirement accounts. Gains inside a 401(k) or IRA aren’t taxed each year. If you’re self-employed, see solo 401(k) vs. SEP IRA.
State taxes on capital gains
Most states tax capital gains as regular income. Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, and Wyoming don’t tax them. Washington has no income tax but taxes long-term gains over a large standard deduction ($278,000 for 2025) at 7%, and 9.9% above $1 million, with real estate exempt.
Plan for the tax on a big gain
No tax is withheld when you sell an investment, whether you’re self-employed or have a W-2 job. If a large gain will leave you owing $1,000 or more when you file, you may need to make an estimated tax payment for the quarter you sold. If you have a job, you can raise your paycheck withholding instead. Our quarterly tax calculator can help you figure out a payment.
How to report capital gains
Your brokerage sends Form 1099-B with your sales for the year. You list each sale on Form 8949, and the totals go on Schedule D, which attaches to your Form 1040.
9 sources
- Topic no. 409, Capital gains and losses · irs.gov
- Rev. Proc. 2025-32: 2026 inflation adjustments (capital gains rate thresholds) · irs.gov
- Topic no. 701, Sale of your home · irs.gov
- Publication 523, Selling your home · irs.gov
- Questions and answers on the net investment income tax · irs.gov
- Publication 550, Investment income and expenses · irs.gov
- Digital assets · irs.gov
- About Form 8949, Sales and other dispositions of capital assets · irs.gov
- Washington Department of Revenue: capital gains tax · dor.wa.gov
This article is for informational purposes only and isn’t tax, legal, or financial advice. Tax rules change and depend on your situation, so talk to a tax professional about yours.





