Home › Tax-Loss Harvesting Calculator › Short-Term vs Long-Term Capital Gains
Short-Term vs Long-Term Capital Gains
Held one year or less, a gain is taxed as ordinary income, at 10 to 37 percent. Held more than a year, it is taxed at 0, 15, or 20 percent, and the 0 percent band runs to $49,450 single.
Filed November 19, 2026 · figures checked against 2026 sources
The short answer
Short-term means held one year or less, and it is taxed as ordinary income, at 10 to 37 percent. Long-term means held more than one year, and it is taxed at 0, 15, or 20 percent, depending on your taxable income. For 2026, the 0 percent rate runs to $49,450 of taxable income for a single filer and $98,900 for a married couple filing jointly, the 15 percent rate runs to $545,500 single and $613,700 joint, and the 20 percent rate applies above that. The line between the two is one year, and the gap between the rates is the reason the holding period is the most valuable date on your tax return.
This article states both rate schedules, explains how gains stack on top of ordinary income, works the 0 percent band, and shows what the holding period is worth in dollars.
The two schedules, side by side
Short-term gains are taxed at the ordinary income rates, and the 2026 ordinary brackets for a single filer are 10 percent to $12,400 of taxable income, 12 percent to $50,400, 22 percent to $105,700, 24 percent to $201,775, 32 percent to $256,225, 35 percent to $640,600, and 37 percent above that. Married couples filing jointly pay the same rates at roughly double the thresholds: 10 percent to $24,800, 12 percent to $100,800, 22 percent to $211,400, 24 percent to $403,550, 32 percent to $512,450, 35 percent to $768,700, and 37 percent above that. These are marginal rates: each rate applies only to the income inside its band, not to the whole return. A single filer with $60,000 of taxable income pays 10 percent on the first $12,400, 12 percent on the next $38,000, and 22 percent on the last $9,600.
Long-term gains are taxed at the preferential rates, and the 2026 thresholds are set by Revenue Procedure 2025-32. For a single filer, the 0 percent rate applies to taxable income up to $49,450, the 15 percent rate applies from $49,450 to $545,500, and the 20 percent rate applies above $545,500. For a married couple filing jointly, the bands are $98,900 and $613,700. For a head of household, the bands are $66,200 and $579,600. For married filing separately, the bands are $49,450 and $306,850. The thresholds are on total taxable income, not on the gain alone, and the gain is stacked on top of ordinary income: your wages fill the bands first, and only the room left under the threshold is taxed at the lower rate.
| 2026 long-term rate | Single | Married filing jointly | Head of household |
|---|---|---|---|
| 0% | Up to $49,450 | Up to $98,900 | Up to $66,200 |
| 15% | $49,450 to $545,500 | $98,900 to $613,700 | $66,200 to $579,600 |
| 20% | Above $545,500 | Above $613,700 | Above $579,600 |
The gap between the schedules is largest in the middle. A single filer in the 22 percent ordinary bracket pays 22 percent on a short-term gain and 15 percent on a long-term gain, a difference of 7 points, or $700 on a $10,000 gain. A filer in the 37 percent bracket pays 37 percent short-term and 20 percent long-term, a difference of 17 points, or $1,700 on the same $10,000 gain. A filer in the 12 percent bracket pays 12 percent short-term and 0 percent long-term on gains inside the 0 percent band, a difference of 12 points, or $1,200 on $10,000, and the long-term gain is free. The holding period is worth the most to the highest earners and to the lowest earners, and the least to the filers in the middle, where the gap narrows to 7 points.
How gains stack on ordinary income
The stacking rule is the part of the tax code that surprises people most, because the long-term rate depends on total taxable income, not on the size of the gain. Your ordinary income fills the bands first. Your long-term gains sit on top of it. A single filer with $40,000 of taxable income from wages and a $20,000 long-term gain has total taxable income of $60,000. The first $9,450 of the gain fits under the $49,450 threshold and is taxed at 0 percent. The remaining $10,550 sits above the threshold and is taxed at 15 percent, or $1,582.50. The same $20,000 gain for a filer with no other income would be taxed at 0 percent on the first $49,450, which covers the whole gain, and the tax would be $0. The gain is the same. The tax is different, because the wages underneath it changed the rate.
The stacking rule also means a raise can raise the tax on a gain you already planned. A single filer with $45,000 of taxable income and a $10,000 long-term gain pays 0 percent on the first $4,450 of the gain and 15 percent on the remaining $5,550, or $832.50. Give that filer a $10,000 raise, and the whole $10,000 gain sits above the $49,450 threshold, and the tax becomes $1,500. The raise cost $667.50 in extra tax on a gain that had nothing to do with the raise. The interaction runs the other way too: a $3,000 capital loss deducted against ordinary income can pull taxable income down under the threshold, and move part of a long-term gain from 15 percent to 0 percent. The netting and the stacking interact, and the calculator on this site does not model the stacking, because it prices the gain at the rate you enter. Enter the rate that matches where your gains actually land, not the rate you wish they landed at.
The 0 percent band, and who it helps
The 0 percent band is the most valuable rate in the code for a middle-income investor, and it is also the most misunderstood. It is not a band for low-income filers only. A married couple filing jointly with $98,900 of taxable income pays 0 percent on long-term gains, and a couple with $80,000 of wages and $18,900 of long-term gains pays no federal tax on the gains at all. A retired couple living on Social Security and a modest pension, with taxable income under $98,900, can realize long-term gains every year and pay nothing on them, up to the threshold. The strategy is called gain harvesting, and it is the mirror image of loss harvesting: sell a winning position, realize the gain at 0 percent, buy it back immediately, and raise the cost basis for free. The wash-sale rule does not apply to gains, so there is no 30-day wait.
The 0 percent band has a hard edge. A dollar of taxable income above $49,450 for a single filer moves that dollar of gain from 0 percent to 15 percent, and the tax on the gain jumps by 15 cents on that dollar. There is no phase-in and no cliff on the whole gain: only the dollars above the threshold are taxed at 15 percent. But a large gain straddles the threshold, and the part above it is taxed at 15 percent, which is why a $20,000 gain for a filer with $40,000 of wages costs $1,582.50, not $0 and not $3,000. The band is worth planning around, and the plan is simple: realize long-term gains in years when taxable income is low, and realize them up to the threshold, not beyond it.
State tax does not follow the federal rule. Most states tax capital gains as ordinary income, at the state rate, with no preferential band. A long-term gain that is free federally can still cost 5 percent to the state, and a short-term gain can cost the state rate on top of the federal rate. The calculator on this site is federal only, and the state tax is a real cost that the federal saving does not cover. Check your state before you celebrate a 0 percent federal rate.
The 3.8 percent surtax on top
Above the preferential rates sits the net investment income tax, a 3.8 percent surtax on investment income, including capital gains, for filers with modified adjusted gross income above $200,000 single or $250,000 joint. The thresholds are not indexed for inflation, and they have not moved since the surtax was created in 2013. A single filer with $250,000 of modified adjusted gross income and a $50,000 long-term gain pays 15 percent on the gain plus 3.8 percent on the part of the gain that sits above the $200,000 threshold, for a combined rate of 18.8 percent on that part. A filer in the 20 percent band pays 23.8 percent on the part above the threshold. The surtax applies to the smaller of net investment income and the amount by which modified adjusted gross income exceeds the threshold, so a filer just above the line pays the surtax on only the excess, not on the whole gain.
The surtax changes the harvesting math at the top. A $10,000 long-term loss that offsets a $10,000 long-term gain for a filer above the surtax threshold saves 15 percent plus 3.8 percent, or $1,880, not $1,500, because the gain would have carried the surtax too. A short-term loss offsetting a short-term gain for a filer in the 37 percent bracket above the threshold saves 37 percent plus 3.8 percent, or $4,080 per $10,000. The calculator on this site does not include the surtax, because it is a separate tax with its own threshold, and the saving it adds is real but small next to the main rates. If your income is above $200,000 single or $250,000 joint, add 3.8 points to the rate on the gains your losses offset, and the harvest is worth more than the calculator shows.
What the holding period is worth
The holding period is worth the rate gap times the gain, and the gap is largest at the top and the bottom. A $10,000 gain held one day short of a year and taxed at 37 percent costs $3,700. The same gain held one day longer and taxed at 20 percent costs $2,000. One day is worth $1,700. A $10,000 gain for a filer in the 12 percent bracket, held short-term, costs $1,200. Held long-term inside the 0 percent band, it costs $0. One day is worth $1,200. A $10,000 gain for a filer in the 22 percent bracket costs $2,200 short-term and $1,500 long-term, and one day is worth $700. The day is the cheapest tax planning available, and it is also the easiest to miss, because the holding period is more than one year, not one year: a purchase on Jan 1, 2026, becomes long-term on Jan 2, 2027, not on Jan 1.
The holding period also decides what a loss is worth. A short-term loss is worth more than a long-term loss when it offsets a short-term gain, because the short-term gain is taxed at the higher rate. A long-term loss is worth less when it offsets a long-term gain at 0 percent, because the gain was free. The netting order respects this: short-term losses offset short-term gains first, and long-term losses offset long-term gains first, and only the excess crosses over. The order is the tax code's way of giving each loss its best use first, and it is why the calculator nets the two sides separately before it crosses them.
The rate that matters is the rate on the gain, not the rate on the loss, and the gain's rate depends on everything else on the return. A $10,000 long-term loss saves $1,500 against a long-term gain at 15 percent, $0 against a long-term gain inside the 0 percent band, and $1,880 against a long-term gain above the surtax threshold. The same loss, three different savings, decided by the wages underneath the gain and the income above it. Enter the long-term rate that matches where your gains actually land, and check whether your taxable income sits under $49,450 single or $98,900 joint, because inside that band the most careful harvest in the world saves nothing at all.
Sources: IRS Revenue Procedure 2025-32, section 4.03 (2026 long-term thresholds: 0% to $49,450 single / $98,900 joint, 15% to $545,500 / $613,700, 20% above); IRS Revenue Procedure 2025-32, section 4.01 (2026 ordinary brackets, single and joint); Internal Revenue Code section 1411 (3.8% net investment income tax, $200,000 single / $250,000 joint, not indexed); IRS Topic 409, Capital Gains and Losses (holding periods, stacking). The scenario figures are this site’s Tax-Loss Harvesting Calculator unless stated otherwise.
Short-Term vs Long-Term Capital Gains questions
- What is the difference between short-term and long-term capital gains?
- Short-term means held one year or less, taxed as ordinary income at 10 to 37 percent. Long-term means held more than one year, taxed at 0, 15, or 20 percent depending on taxable income.
- What are the 2026 long-term capital gains thresholds?
- For 2026, the 0 percent rate runs to $49,450 of taxable income single or $98,900 joint, the 15 percent rate runs to $545,500 single or $613,700 joint, and the 20 percent rate applies above that, under Revenue Procedure 2025-32.
- When does a gain become long-term?
- When the holding period is more than one year. A purchase on Jan 1, 2026 becomes long-term on Jan 2, 2027, not Jan 1. Selling on the one-year anniversary is still short-term.
Keep reading
- How Tax-Loss Harvesting WorksLosses net against gains first, then $3,000 a year.
- The Wash Sale Rule, ExplainedThirty days on each side, and your IRA counts.
- Tax-Loss Harvesting Deadline 2026The trade date decides the year, not the settlement.
- Tax-Loss Harvesting Mistakes to AvoidFive ways a good harvest turns into a wasted sale.
- Tax-Loss Harvesting CalculatorEnter your losses and gains: the slip nets them, applies the wash-sale rule, and prices the saving.