Back

Tax-Loss Harvesting Savings Estimator

How much could you save? This calculator uses a Monte Carlo simulation with geometric Brownian motion to estimate annual tax savings from harvesting losses in a diversified portfolio. Adjust the inputs to match your situation.

Model Inputs

Portfolio Value$250,000

Total value across all connected brokerage accounts

Number of Lots20

Distinct tax lots (positions bought at different times)

Annual Volatility16%

VTI ~ 16%, VXUS ~ 18%, QQQ ~ 22%, BND ~ 5%

Expected Annual Return8%

Long-run expected return (drift). S&P 500 historical ~ 10%

Combined Tax Rate30%

Federal + state. Short-term rate used (ordinary income)

Harvest Threshold-3%

Minimum loss % to trigger a harvest (avoid trivial losses)

Simulations2,000

More simulations = smoother distribution, slower compute

Results

Median Annual Tax Savings

---

Run simulation to see results

Mean Savings

---

25th-75th Percentile

---

Median Losses Harvested

---

Lots Harvested (median)

---

Distribution of Annual Tax Savings Across Simulations

FrequencyMedian
Methodology

Model: Geometric Brownian Motion (GBM), the standard continuous-time model for stock prices, same foundation as Black-Scholes.

Each lot's daily price follows: S(t+1) = S(t) × exp((μ - σ²/2)Δt + σ√Δt × Z) where Z ~ N(0,1), μ = expected annual return, σ = annual volatility, Δt = 1/252.

Simulation steps (per trial):

  1. Portfolio is divided equally across N lots, each starting at its cost basis.
  2. Simulate 252 trading days of price movement for each lot independently.
  3. On each day, check if any lot's price is below cost basis by more than the harvest threshold.
  4. If so, harvest the loss, reset the lot's cost basis to the current price.
  5. Each lot can only be harvested once per 31-day wash sale window.
  6. Sum all harvested losses, multiply by tax rate = tax savings for that trial.

Simplifications: All lots assumed equal size and starting at cost basis (no existing gains/losses). Correlation between lots not modeled. Wash sale window simplified to a 31-day cooldown per lot. Does not model cost-basis reduction on repurchase (deferred tax, not eliminated). Long-term vs short-term rate distinction not modeled.

What this tells you: This estimates the gross tax benefit in year one from actively harvesting. The actual long-term benefit is lower because harvesting reduces future cost basis. Think of it as a tax deferral with time-value-of-money benefit, not a permanent tax elimination.


This calculator is for illustrative purposes only and should not be taken as investment advice or tax advice. Actual results depend on your specific holdings, cost basis, market conditions, and tax situation. Consult a qualified tax professional for advice specific to your situation.