Tax & Investment Disclaimer: This tool models IRS Schedule D capital gains netting, IRS § 1211(b) ordinary income deductions, and § 1091 wash sale rules for educational analysis. Consult a certified CPA or tax attorney for complex tax filings.
IRS Tax Code Studio Capital Gains Netting • $3k Income Offset • Wash Sale Matrix

Tax-Loss Harvesting & Wash-Sale Optimizer

Calculate tax alpha savings, short/long-term capital gains offsets, $3,000 ordinary income write-offs, and 30-year reinvestment compounding.

1. Capital Losses & Gains (Schedule D)

Current Tax Year
$
$
Taxed at Ordinary Rate
$
Taxed at 15%–20% + NIIT

2. Income & Tax Filing Status

Marginal Rates
$

3. Reinvestment Compounding Horizon

8.0% S&P 500 CAGR
Investment Compounding Years: 20 Years
5 Years 15 Years 25 Years 35 Years
Estimated Immediate Tax Cash Saved This Year

$3,750.00

100% LOSS HARVESTED
Short-Term Offset

$6,000

@ 30.0% Fed+State
Long-Term Offset

$4,000

@ 21.0% LTCG+State
$3k Income Offset

$3,000

IRS § 1211(b) Max
Loss Carryforward

$2,000

Future Tax Years
Reinvested Tax Savings Value in 20 Years:

Assuming 8.0% annual CAGR compounding without tax drag

$17,478.62

Compounded Wealth Trajectory of Harvested Tax Savings

Reinvested in S&P 500 (8.0% CAGR)

IRS 30-Day Wash-Sale Rule: Safe Proxy ETF Substitution Matrix

To claim the tax loss without triggering IRS § 1091 disallowance, swap into a non-"substantially identical" correlated asset to maintain market exposure.

61-Day Rule Safe Pairs
Sold Asset (Harvest Loss) Underlying Index Safe Replacement Proxy Replacement Index Wash-Sale Status
VOO / SPY / IVV S&P 500 Index VTI / SCHB / ITOT Total US Stock Market (CRSP / Dow Jones) 100% Safe (Different Index)
QQQ Nasdaq-100 Index VGT / XLK / IYW MSCI US Tech / S&P Technology Select 100% Safe (Sector Focus)
VXUS FTSE Global All Cap ex US IXUS / VEU MSCI ACWI ex USA / FTSE All-World 100% Safe (Different Index)
VNQ MSCI US REIT Index SCHH / XLRE Dow Jones US Select REIT / Real Estate Select 100% Safe (Different Index)
Individual Stock (e.g. NVDA) Single Company Equity SMH / SOXX / AMD VanEck Semiconductor ETF / Competitor 100% Safe (Basket / Competitor)
✨ AI Tax Alpha & Year-End Harvesting Strategist 100% Private AI

Click "Run AI Tax Alpha Audit" to evaluate optimal year-end harvest timing, analyze your 3.8% Net Investment Income Tax (NIIT) exposure, and construct safe ETF proxy rotation pairs. 100% private to you—zero server access.

Zero Data Access: Financial amounts and income parameters execute 100% locally on your device. Zero Server Access

Wealth Management & Tax Optimization

The Tax Alpha Formula: How Systematic Tax-Loss Harvesting Adds 1.2% in Annual Compounded Returns

A comprehensive quantitative analysis of IRS Schedule D netting, 30-day wash sale navigation, and dividend reinvestment traps.

What is Tax Alpha?

In quantitative finance, "Tax Alpha" is the excess return generated solely through intelligent tax management rather than picking winning stocks. By selling losing positions before December 31, investors eliminate taxes on winning trades and capture up to a $3,000 deduction against ordinary paycheck income. Reinvesting that saved tax money compounds continuously, creating an extra $15,000 to $100,000+ in terminal wealth over 20 to 30 years.

Case Study #1: Harvesting $15,000 in NVDA Losses to Offset Short-Term Gains and W-2 Income

Consider an investor in California earning $185,000 (24% Federal Marginal Bracket + 9.3% State Tax = 33.3% Combined Rate). During the year, they realized $6,000 in Short-Term Crypto/Stock Gains and $4,000 in Long-Term Stock Gains.

1. Short-Term Gains Offset $6,000 × 33.3% = $1,998

Wipes out short-term tax bill completely

2. Long-Term Gains Offset $4,000 × 24.3% = $972

Wipes out 15% LTCG + 9.3% CA tax

3. $3,000 W-2 Income Offset $3,000 × 33.3% = $999

Direct cash deduction on Form 1040

→ Total Immediate Tax Refund: $3,969 in cash! PLUS $2,000 in remaining loss carries forward into next year.

Case Study #2: The Hidden DRIP (Dividend Reinvestment) Wash Sale Trap

A common mistake occurs when an investor sells 100 shares of Apple (AAPL) for a $2,000 loss on December 15. However, on December 20, AAPL pays a quarterly dividend, and their brokerage account has Automatic Dividend Reinvestment (DRIP) enabled, automatically purchasing 0.8 shares of AAPL.

Because those 0.8 shares were purchased within the 30-day window, the IRS classifies that portion as a Wash Sale. To prevent this, disable automatic dividend reinvestment across all taxable accounts prior to executing tax-loss harvesting sales.

Frequently Asked Questions (Tax-Loss Harvesting & Wash Sales)

How does Tax-Loss Harvesting (TLH) reduce my taxes?

Tax-loss harvesting involves selling investments at an unrealized loss to offset realized capital gains dollar-for-dollar on IRS Schedule D. If your losses exceed total capital gains, you can deduct up to $3,000 ($1,500 if married filing separately) against ordinary W-2 or business income, with any remaining balance carrying forward indefinitely to future tax years.

What is the IRS 30-Day Wash Sale Rule?

Under IRS Section 1091, a wash sale occurs if you sell a security at a loss and purchase a "substantially identical" security within a 61-day window (30 days before the sale, the day of the sale, or 30 days after the sale). When triggered, the loss deduction is disallowed and added to the cost basis of the newly acquired security.

What are safe ETF proxy pairs for tax-loss harvesting without triggering a wash sale?

Investors frequently swap between ETFs tracking different underlying indices. For example, selling Vanguard S&P 500 (VOO, tracking S&P 500) and immediately purchasing Vanguard Total Stock Market (VTI, tracking CRSP US Total Market) or Schwab US Large-Cap (SCHX, tracking Dow Jones US Large-Cap) maintains market exposure while avoiding IRS wash sale disallowance.

What happens if a wash sale occurs in a Roth IRA?

Under IRS Revenue Ruling 2008-5, if you sell a stock at a loss in a taxable brokerage account and repurchase the same stock within 30 days in an IRA or Roth IRA, the tax loss is permanently eliminated and cannot be added to the IRA basis, resulting in a total loss of the tax deduction.