you could harvest to see the 2026 tax saving
IRC §1211 · §1212 · §1411 · Schedule D · 0/15/20% Rates · Tax Year 2026
See what selling investments at a loss before December 31, 2026 actually saves. Enter your income, the gains and losses you have already realized this year, any carryover from 2025, and the losses you could harvest. The calculator figures your 2026 federal income tax and 3.8 percent net investment income tax before and after the harvest, and shows how each harvested dollar is used: against gains, against up to $3,000 of ordinary income, or carried to 2027.
Want the strategy behind the numbers: which lots to sell, how to stay invested without a wash sale, and when harvesting is not worth it? The companion guide walks through it.
Read the Tax-Loss Harvesting Guide →A harvested loss saves tax at the rate of whatever it offsets. Against short-term gains or the $3,000 of ordinary income ($1,500 married filing separately) it saves your ordinary rate, 10 to 37 percent. Against long-term gains it saves 0, 15 or 20 percent, plus 3.8 percent where it also cuts the net investment income tax. Anything left over carries to 2027 under IRC §1212(b). For 2026, the sale must trade by December 31, 2026, and you must avoid a wash sale for the 30 days before and after.
| Item | Single | MFJ / QSS | HOH | MFS |
|---|---|---|---|---|
| Net capital loss deduction vs ordinary income | $3,000 | $3,000 | $3,000 | $1,500 |
| 0% long-term rate up to (taxable income) | $49,450 | $98,900 | $66,200 | $49,450 |
| 15% long-term rate up to | $545,500 | $613,700 | $579,600 | $306,850 |
| Standard deduction | $16,100 | $32,200 | $24,150 | $16,100 |
| NIIT threshold (MAGI) | $200,000 | $250,000 | $200,000 | $125,000 |
| 37% ordinary bracket starts | $640,600 | $768,700 | $640,600 | $384,350 |
The $3,000 limit (IRC §1211(b)) and the NIIT thresholds (§1411(b)) are fixed in the statute and not indexed. The breakpoints, brackets and standard deduction are the 2026 inflation-adjusted amounts in Rev. Proc. 2025-32, sections 4.01, 4.03 and 4.14.
The calculator runs your 2026 return twice, once with the gains and losses you have already realized and once with the harvested losses added, and subtracts. Running the whole return is what makes the answer honest: the value of a loss depends on where it lands in the netting order and the rate stack. For the rules on which repurchases cancel a loss, see the Wash Sale Rule Guide.
Net short-term = realized short-term result minus the short-term carryover (and minus the short-term harvest in the second run). Net long-term is figured the same way. These are Schedule D lines 7 and 15, and their sum is line 16. A net loss in one group offsets a net gain in the other only at the line 16 step.
If line 16 is a gain, all of it is income. If it is a loss, Schedule D line 21 allows the smaller of the loss or $3,000 ($1,500 MFS) against other income under §1211(b). AGI is ordinary income plus qualified dividends plus the line 16 gain, or minus the line 21 loss. Taxable income is AGI minus your deduction, never below zero.
Qualified dividends plus the net capital gain (the smaller of line 15 or line 16, zero if either is a loss) are taxed at 0, 15 or 20 percent, stacked on top of ordinary income, exactly as the Qualified Dividends and Capital Gain Tax Worksheet does. The rest is taxed at the 2026 ordinary rates, and the result is capped at the tax on all income at ordinary rates (worksheet line 25). The calculator uses the rate schedules for every amount; the IRS Tax Table used below $100,000 rounds to $50 steps, so a return can differ by a few dollars.
The 3.8 percent tax applies to the smaller of net investment income or MAGI above the threshold. Net investment income here is your other investment income plus qualified dividends plus the line 16 gain, or minus the allowed line 21 loss. Treas. Reg. §1.1411-4(d)(2) says net gain cannot go below zero but lets the §1211(b) loss offset other investment income, and its Example 1 reduces net investment income by the $3,000 loss.
When line 16 is a loss, the Capital Loss Carryover Worksheet splits the unused part into short-term and long-term pieces. Its line 4 counts as used only the smaller of the line 21 loss or taxable income before that loss, so a low-income year keeps more of the loss for later.
Saving = total tax before minus total tax after. The harvested losses are then traced: the growth in the carryover, the extra amount used against ordinary income, and the remainder, which offset capital gains.
Before: ordinary taxable income of $111,900 is taxed $17,966 + 24% x $6,200 = $19,454, and the $17,000 of long-term gain and dividends sits above the $49,450 zero-rate amount, so it is taxed at 15% = $2,550. Total $22,004. After: ordinary taxable income $105,900 gives $18,014, and the remaining $5,000 taxed at 15% is $750. Total $18,764. The $6,000 short-term loss saved 24% ($1,440) and the $12,000 long-term loss saved 15% ($1,800).
Taxable income before harvesting is $67,800, under the $98,900 zero-rate amount, so the $10,000 gain was already taxed at 0%. Offsetting it saves nothing. Only the $3,000 deducted against ordinary income saves tax, at 12% ($360). Of the $25,000 harvested, $10,000 erased a tax-free gain, $3,000 was deducted and $12,000 carries to 2027.
MAGI before is $220,000, $20,000 over the $200,000 threshold, so NIIT is 3.8% x $20,000 = $760. The $20,000 harvest brings MAGI to exactly $200,000 and removes it, on top of 15% income tax on the offset gain ($3,000). Each harvested dollar saved 18.8 cents.
The question we ask before any harvest is not "do you have losses" but "what will these losses offset". A loss used against a short-term gain in a 32 or 35 percent bracket is worth more than twice the same loss used against a long-term gain. When a client has a choice of lots, we match short-term losses to short-term gains and sell the highest-basis lots first, because that is where the netting order pays the most.
The mistake we see most in November is harvesting by habit in a low-income year. A retiree whose long-term gains already sit in the 0 percent band gets nothing from offsetting them; the loss is better kept as a carryover for a year with higher income, or replaced with a gain harvest that steps up basis at 0 percent. Run the numbers both ways before you sell.
We also remind clients that harvesting is mostly a timing tool. The replacement position inherits a lower basis, so the gain is waiting. The saving becomes permanent when the later gain is taxed at a lower rate, is donated, or is held until death and receives a stepped-up basis. For someone who will sell everything next year in a higher bracket, the benefit can be small.
Finally, the wash sale rule reaches across accounts. Brokerages police the account where the sale happened, not your IRA, your spouse's account or a dividend reinvestment set up elsewhere. We turn off automatic reinvestment in any position we plan to sell and check every household account for 30 days on each side.
Check every household account for purchases in the 61-day window and confirm the replacement is not substantially identical with the Wash Sale Loss Calculator, then place the trades by December 31, 2026.
Plan how the carryover will be used with the Capital Loss Carryover Calculator. A loss that will sit for years against $3,000 of income may be better held for a year with large gains.
Check how much gain fits in the zero band with the Qualified Dividends and Capital Gains Tax Calculator. Realizing gains at 0 percent may beat harvesting losses this year.
See how much 3.8 percent tax a harvest removes with the Net Investment Income Tax Calculator, and read the Capital Gains Tax Guide for how gains and losses stack.