Tax Loss vs Gain Harvest Comparison Calculator 2027
Compare tax loss harvesting vs tax gain harvesting strategies for 2027 — when to realize losses vs realize 0% capital gains under the long-term threshold.
Loss Harvesting
Sell losing investments to offset gains. Can offset unlimited gains, plus $3,000 of ordinary income/year. Excess carries forward. Repurchase after 30 days (wash sale rule) — can swap to similar (not 'substantially identical').
Gain Harvesting
Realize gains while in 0% LTCG bracket (income < $48,350 single / $96,700 joint 2027 estimate). Sell + immediately rebuy = reset cost basis higher with $0 tax. Useful in early retirement, sabbatical, or low-income year.
Wash Sale Trap
Selling at loss + buying same security within 30 days BEFORE or AFTER triggers wash sale. Loss disallowed; added to basis of replacement. Includes spouse, IRA, and 'substantially identical' securities.
Source: irs.gov capital gains and losses guide 2027. Last updated: May 2026.
Frequently Asked Questions
Can I do both in same year?
Yes — different securities. Harvest losses on losers, harvest gains on winners (if in 0% bracket). Just watch wash sale rule on the loss side.
Does loss harvesting always help?
Mostly — but watch state tax. CA, NJ don't follow federal LTCG bracket treatment. Loss carryforward useful when in higher future bracket. Avoid harvesting if you'll be in lower bracket next year.
Is my data private?
Yes. Calculations run in your browser. Inputs are never sent or stored.