Tax Loss Harvest Calculator
| Losses harvested | 12% bracket | 22% bracket | 32% bracket |
|---|---|---|---|
| $5,000 of losses | $600 saved | $1,100 saved | $1,600 saved |
| $10,000 of losses | $1,200 saved | $2,200 saved | $3,200 saved |
| $25,000 of losses | $3,000 saved | $5,500 saved | $8,000 saved |
Enter your realized gains and the losses sitting in your portfolio. The calculator sizes the harvest: what to sell by December 31, what it saves in tax, and what carries into next year.
Loss harvesting is the rare tax move with a hard deadline: losses sold by the last trading day of the year offset this year gains, then up to 3,000 of ordinary income, then wait. The whole move dies on one rule - wash sale - so the calendar matters as much as the math.
How to use
- Realized gains first: what you already sold for a profit this year.
- Unrealized losses: current losses available to sell - brokerage lots view shows them directly.
- Your marginal tax rate. The savings figure updates as you type - deadline is Dec 31, no extensions.
Worked examples
The default case: 4,000 of gains, 9,000 of losses, 22 percent bracket
The calculator sells min(losses, gains + 3,000) = min(9,000, 7,000) = 7,000 of losers - enough to wipe out all 4,000 of realized gains plus the full 3,000 ordinary-income break. At 22 percent that saves 7,000 x 0.22 = 1,540 before April, and the remaining 2,000 of losses rides forward to next year. Selling all 9,000 this year would not save a dollar more - only 7,000 of the loss has something to offset.
A losing year with no gains to offset
With zero realized gains the cap binds immediately: only 3,000 of the 5,000 in losses can work this year, against ordinary income. At a 24 percent rate that is 3,000 x 0.24 = 720 of tax back, and 2,000 carries forward. This is the quiet version of harvesting - the portfolio had a bad year, and the refund is the consolation prize that compounds through the carryforward bank.
A big loss year in a high bracket
10,000 of gains plus the 3,000 break means 13,000 of losses can fire this year, out of 40,000 available. At 32 percent, 13,000 x 0.32 = 4,160 saved now, and 27,000 waits in the carryforward line - more than eight future years of income offsets even if no gains ever show up, or a ready-made shield for the next big winner. The tax stamp is the same whether an offset works this year or in 2031, which is why harvesting too much is a scheduling question, not a mistake.
Frequently asked questions
How much tax does loss harvesting actually save?
Every harvested dollar first wipes out a dollar of gains you would have paid tax on, then up to 3,000 against ordinary income at your marginal rate - at 22 percent, offsetting 4,000 of gains plus the 3,000 income break saves about 1,540. The calculator runs your exact mix.
What is the wash-sale rule in plain terms?
If you buy the same or substantially identical investment within 30 days before or after selling at a loss, the loss is disallowed. Park the proceeds in a similar but not identical fund for 31 days - total-market instead of S-and-P 500 - and calendar both sides of the window.
Do harvested losses expire?
No - unused losses carry forward indefinitely to future years, offsetting gains or 3,000 of income per year. Harvesting more than you can use this year is still worth it if the lots are there.
Does this work in retirement accounts?
No - losses inside an IRA or 401k have no tax effect because those accounts are not taxed on gains either. Harvesting only matters in taxable brokerage accounts; the calculator assumes taxable.
Can I harvest losses even in a year with no gains?
Yes - that is the quiet version of the trade. Up to $3,000 of net losses offsets ordinary income every year, and anything beyond carries forward indefinitely. A bad portfolio year still pays a small tax refund, and the carryforward bank sits ready for the next winning year.
Which shares should I sell to book the loss?
Tell your broker specific-lot identification before the sale, not after - default FIFO sells your oldest, often cheapest shares, which books the smallest loss. Highest-cost lots first books the biggest loss for the same dollars out, and the money can rebuy a similar fund the same afternoon.
Is harvesting worth it if I want to buy the fund back?
That is exactly the trade's cost line: you harvest a loss and reset your basis lower, which means a bigger taxable gain later - the tax is deferred, not destroyed. The math still works when your marginal rate now beats the future rate, or when the loss is big and the wait is long; wash-sale discipline is what keeps the loss real.
Do I need to sell every loser, or just enough?
Just enough - the number to sell is your gains plus 3,000, and everything past it saves nothing this year. With 4,000 of gains, harvesting more than 7,000 of losses only moves savings into future years at the price of locking in today's prices and resetting basis lower. If you still like the fund, harvest the 7,000 and leave the rest running; if you want out anyway, the surplus losses carry forward indefinitely, so the option costs nothing but the wash-sale calendar.
Does harvesting make sense in a low-income year?
Less than you would think. In a year when long-term gains would be taxed at 0 percent anyway, spending losses to offset them trades a free gain for a deferred one - the loss would do more work in a future high-bracket year, and carryforward has no expiration. The case that still works at low income is the 3,000 ordinary-income offset, which saves at your marginal rate even when gains are free. Low-income years are for banking losses, not spending them.