2026 long-term capital gains tax rates
Long-term gains, on things you owned for more than 1 year, are taxed at 0%, 15% or 20%. Which rate applies depends on your taxable income for the year, the gain included. These are the 2026 limits from Rev. Proc. 2025-32, for the return you file in 2027.
| Filing status, 2026 | 0% up to | 15% up to | 20% over |
|---|---|---|---|
| Single | $49,450 | $545,500 | $545,500 |
| Married filing jointly, surviving spouse | $98,900 | $613,700 | $613,700 |
| Married filing separately | $49,450 | $306,850 | $306,850 |
| Head of household | $66,200 | $579,600 | $579,600 |
2027 long-term capital gains tax rates
For sales in 2027 the limits rise with inflation, under Rev. Proc. 2026-35, released November 5, 2026.
| Filing status, 2027 | 0% up to | 15% up to | 20% over |
|---|---|---|---|
| Single | $51,050 | $563,200 | $563,200 |
| Married filing jointly, surviving spouse | $102,100 | $633,600 | $633,600 |
| Married filing separately | $51,050 | $316,800 | $316,800 |
| Head of household | $68,350 | $598,400 | $598,400 |
Your other income decides the rate
Your gain sits on top of your other taxable income. The part of it that still fits under the 0% limit pays nothing, the next part pays 15% and anything over the 15% limit pays 20%. That is why the same gain can be taxed very differently from one person to another.
Take a single filer with $85,000 of other income who sells shares bought for $35,000 at $60,000. After the $16,100 standard deduction, taxable income is $93,900, well past the $49,450 limit, so the whole $25,000 gain is taxed at 15%: $3,750. With $30,000 of other income instead, taxable income comes to $38,900 and the gain pays $0, with room for $10,550 more at 0%.
Short-term vs long-term
A gain or loss on something held more than 1 year is long-term; held 1 year or less, it is short-term (26 U.S.C. 1222). To count, start on the day after you bought it, and count the day you sell. The IRS example in Pub. 550: bought January 31, 2024, and sold January 29, 2025, is short-term; sold February 6, 2025, it is long-term. For stocks, use the trade dates. Property you inherited is long-term however briefly you held it.
Short-term gains get no special rate. They are taxed like wages, at the ordinary brackets of 10% to 37%. In the example above, the same $25,000 gain sold within a year would cost $5,500, at the 22% bracket, instead of $3,750.
The 3.8% net investment income tax
On top of the income tax, a 3.8% tax applies to the smaller of your net investment income or your modified AGI over $200,000 single or head of household, $250,000 married filing jointly or surviving spouse, or $125,000 married filing separately (26 U.S.C. 1411). These thresholds are not adjusted for inflation. Capital gains, interest, dividends and rents count as investment income; wages do not.
A single filer with $180,000 of other income and a $50,000 long-term gain has modified AGI of $230,000. The 3.8% tax applies to the $30,000 over $200,000, adding $1,140 to the $7,500 of income tax at 15%: $8,640 on the gain. You figure it on Form 8960.
Capital losses and the $3,000 limit
Losses first cancel out gains. Short-term results are netted with each other and long-term with each other, and then the two totals are combined on Schedule D, line 16. If the combined result is a loss, up to $3,000 of it ($1,500 married filing separately) comes off your other income for the year (26 U.S.C. 1211(b)). The rest carries over to next year, keeping its short-term or long-term character, and can be carried forward until it is used up (26 U.S.C. 1212(b)).
Selling shares at a $10,000 loss with no other gains, a single filer with $85,000 of other income deducts $3,000, saving $660 at the 22% bracket, and carries $7,000 over to 2027. Buying the same or a substantially identical stock within 30 days before or after a loss sale makes it a wash sale, and the loss can’t be deducted then (Pub. 550).
Selling your home
If you owned your main home and lived in it for at least 2 of the 5 years before the sale, you can exclude up to $250,000 of the gain, or $500,000 on a joint return when both spouses lived there and either one owned it (26 U.S.C. 121). Only the gain above that is taxed, as a long-term gain. You generally can’t use the exclusion if you used it for another home in the 2 years before the sale.
A single filer who sells for $650,000 a home bought for $300,000 has a $350,000 gain. $250,000 is excluded, and the other $100,000 is taxed at 15%: $15,000 with $85,000 of other income. A loss on a home you lived in is a personal loss and can’t be deducted (IRS Topic 409). Pub. 523 has the complete rules and worksheets.
What this calculator leaves out
- Collectibles such as coins and art, and the taxable part of section 1202 small business stock, are taxed at up to 28%; the unrecaptured section 1250 gain from depreciation on rental or business real estate at up to 25%. This tool taxes all long-term gains at 0%, 15% and 20%.
- State and local income taxes, which differ from state to state.
- The alternative minimum tax, credits, wash sale adjustments and partial home exclusions.
- The basis of property you received as a gift or inheritance, which has its own rules (Pub. 551).
Paying the tax
With a taxable gain you may need to make estimated tax payments (Pub. 505). Report each sale on Form 8949 and total them on Schedule D, unless your broker reported the basis and you can put the totals straight on Schedule D.
How this tool counts
- It figures your whole federal return twice, with the sale and without it, and shows the difference as the tax on the sale.
- 2026 uses the tax rate tables, capital gains limits and standard deduction in Rev. Proc. 2025-32; 2027 uses Rev. Proc. 2026-35.
- Income tax follows the Qualified Dividends and Capital Gain Tax Worksheet in the Form 1040 instructions. Under $100,000 of taxable income it uses the Tax Table, each row worked at its middle: that gives the same tax as all 2,059 rows of the 2026 Tax Table in the draft instructions created November 24, 2026. The 2027 table is not out yet, so 2027 rows are worked the same way.
- It includes the enhanced deduction for seniors for 2025 through 2028: $6,000 each for those 65 or older, less 6% of modified AGI over $75,000 ($150,000 joint), so a gain can shrink it.
- Losses follow Schedule D lines 16 and 21 and the Capital Loss Carryover Worksheet in its instructions.
- Amounts you enter are rounded to whole dollars first, and the tax is shown to the dollar.