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.

Ad Space

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.