Stock chart and calculator for tax-loss harvesting math

Tax-Loss Harvesting Math: What a $4,000 Loss Saves

A $10,000 stock position that is now worth $6,000 hands you a $4,000 paper loss, and one sale before December 31 turns it into a tax number you can actually use.

Short answer: In the three examples below, selling that $4,000 loser saves between $600 and $735 in tax, depending on whether you also have gains. With no gains at all, only $3,000 of the loss counts this year. The other $1,000 waits. Buy the same stock back within 30 days and the loss is disallowed.

Educational content, not investment or tax advice. Every dollar figure in the tables is a made-up example for arithmetic, and the tax rates (15% and 24%) are assumptions, not your rates. Ask a tax professional about your own return.

Where to Look

What does a $4,000 stock loss actually save in taxes?

Selling a stock at a $4,000 loss in a taxable account lowers your 2026 tax by roughly $600 to $735 in the examples below, because the loss first cancels capital gains and then reduces ordinary income. The exact amount depends on your gains and your bracket.

Setup for every table: you bought shares for $10,000, they are worth $6,000, and you sell in a regular brokerage account (not an IRA). I assume a 15% rate on long-term gains and 24% on ordinary income. Both are placeholders.

Your 2026 gains before selling Net after the $4,000 loss Deducted against other income Carried to later years Tax saved (assumed rates)
$0 $4,000 net loss $3,000 $1,000 $720 ($3,000 x 24%)
$2,500 long-term $1,500 net loss $1,500 $0 $735 ($375 + $360)
$6,000 long-term $2,000 net gain $0 $0 $600 ($4,000 x 15%)

The middle row is the best case because it uses every dollar of the loss this year. The first row looks bigger in loss terms but leaves $1,000 waiting.

When I checked the arithmetic across the three rows, the saving never came close to the $4,000 loss itself. A loss is not a refund. It is a tax discount.

How much of a loss can you deduct in one year?

According to the IRS Topic 409 page, if your capital losses exceed your capital gains, the amount you can deduct on your return to reduce other income is the lesser of $3,000 ($1,500 if married filing separately) or your total net loss, and any excess carries forward to later years (irs.gov, checked November 16, 2026).

The same IRS page says an asset held for more than one year before you dispose of it produces a long-term gain or loss. One year or less is short-term.

Tax paperwork and pen on a desk
Total your realized gains before you decide how much loss is worth taking.

So the cap does the damage when you have no gains. This table assumes zero gains and the $3,000 limit, with a 24% rate on the deducted amount.

Loss realized in 2026 Deducted in 2026 Carried forward Years to use it all at $3,000 a year Tax saved in 2026 at 24%
$1,000 $1,000 $0 1 $240
$3,000 $3,000 $0 1 $720
$4,000 $3,000 $1,000 2 $720
$10,000 $3,000 $7,000 4 (3,000 + 3,000 + 3,000 + 1,000) $720

Look at the last two rows. Realizing $10,000 instead of $4,000 saves the same $720 this year. The extra loss just queues up.

Here is where people get tripped up: they sell everything that is down, hit the cap, and wonder why the refund barely moved.

What counts as a wash sale?

IRS Publication 550 says a wash sale occurs when you sell or trade stock or securities at a loss and, within 30 days before or after the sale, you buy substantially identical stock or securities, acquire them in a fully taxable trade, acquire a contract or option to buy them, or acquire substantially identical stock for your IRA or Roth IRA (irs.gov, checked November 16, 2026).

That is a 61-day window: 30 days before the sale, the sale day, and 30 days after. People remember the “after” half and forget the “before” half.

The same publication says that if you sell stock and your spouse or a corporation you control buys substantially identical stock, you also have a wash sale. Your spouse’s account counts.

What “substantially identical” means for two different funds is not spelled out as a simple list. I found that the publication has a separate subsection with that heading, and it is worth reading before you swap one index fund for another.

What happens to a loss the wash sale rule disallows?

When a loss is disallowed under the wash sale rules, Publication 550 says you add the disallowed loss to the cost of the new stock, and the result is your basis in the new shares, with one exception: if the replacement was bought in your IRA or Roth IRA, there is no such basis adjustment (irs.gov, checked November 16, 2026).

Take the $10,000 position sold on December 1 at $6,000, a $4,000 loss.

What you do after the December 1 sale Wash sale? Loss usable in 2026 Basis of the new shares
Buy the same stock back on December 11 for $6,000 Yes (10 days) $0 $10,000 ($6,000 + $4,000)
Buy the same stock back on January 5 for $6,000 No (35 days) $4,000 $6,000
Bought extra shares on November 20, sold the old lot December 1 Yes (11 days before) $0 on the matching shares Raised by the disallowed loss
Buy it in your Roth IRA on December 20 Yes $0 No adjustment; the loss is not added anywhere

The Roth row is the nasty one. In a taxable account the disallowed loss at least rides along in the new basis. In the IRA case the publication carves out the basis step, so that tax benefit can simply vanish.

The January 5 row is not a trick. It only works if you are comfortable being out of the stock for 35 days.

Does harvesting erase the tax or only delay it?

Harvesting a loss usually delays tax instead of erasing it, because the shares you buy afterward start with a lower cost basis, so a recovery produces a bigger taxable gain later. The saving comes from timing and from the gap between your rates now and later.

Use the middle example, where the loss saves $735 now. Suppose you rebuy a different fund at $6,000 (not substantially identical, which you must check) and it climbs back to $10,000.

Path Tax effect in 2026 Tax if sold later at $10,000 Net across both years
Keep the original shares $0 $0 (basis $10,000, no gain) $0
Harvest, rebuy a different fund at $6,000 $735 saved $600 owed ($4,000 gain x 15%) $135 ahead, plus the use of $735 for a while

That $135 is an artifact of my assumed rates. Change them and it can shrink to nothing or flip negative. The real benefit is that you hold the money sooner.

The other catch: a different fund can behave differently. If the replacement does not recover while your old holding would have, you changed your investment for a tax discount. For the risk side of that decision, see stop order gap math, where a planned loss turns out larger than expected.

Tips

  • List your 2026 realized gains first. Gains decide how much loss is worth taking.
  • Check every account, including a spouse’s and any IRA, for a purchase of the same security in the 61-day window.
  • Pause automatic dividend reinvestment on a stock you sell at a loss. A reinvested dividend is a purchase.
  • Write the sale date and the earliest safe rebuy date in your notes. For a December 1 sale that is January 1 or later.
  • Check your broker’s realized gain and loss report before filing. Confirm the wash sale adjustments match your own count.

Warnings

  • Losses in an IRA or other tax-deferred account are not deductible this way.
  • A price drop is not a reason to hold or sell by itself. Do not let a $720 discount decide a $10,000 position.
  • Leveraged funds can lose far more than the example above. See what a 3x leveraged ETF lost in a bad week.
  • Tax rules and thresholds change. Confirm the current numbers on irs.gov before you act.

FAQ

Can I sell a stock at a loss and buy it back the same day?

You can, but the loss will be disallowed. Under IRS Publication 550, buying substantially identical stock within 30 days before or after a loss sale is a wash sale, and a same-day repurchase is inside that window.

What if my losses are bigger than $3,000 and I have no gains?

The IRS Topic 409 page says the amount you can deduct against other income is limited to $3,000 ($1,500 if married filing separately), and the rest carries forward to later years.

Does a disallowed wash sale loss disappear forever?

Not in a taxable account. Publication 550 says the disallowed loss is added to the cost of the new shares, so it comes back as a higher basis. In an IRA the publication carves out that adjustment.

Sources

Next step: open your broker’s realized gain and loss report today, total your 2026 gains, and note any position you bought in the last 30 days before you sell anything.

๐Ÿ“Œ Hub guide: For the full crypto-and-investing learning path โ€” security, altcoins, futures mechanics, and dividend ETFs โ€” see the Crypto & Investing Hub.

Fact-checked against the IRS pages linked above as of November 16, 2026. Example figures and tax rates are hypothetical. Not investment, tax or legal advice.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *