Tax Loss Harvesting Optimizer Calculator
Compute Tax Loss Harvesting Optimizer amounts with inclusive and exclusive breakdowns. Supports multiple rates and filing scenarios.
Worked Examples
Example 1: Basic Loss Harvesting
Problem: Sarah has $30,000 in long-term capital gains and $12,000 in unrealized losses. She's in the 24% federal bracket with 15% LTCG rate and 5% state tax.
Solution: Capital gains: $30,000\nUnrealized losses: $12,000\nNet gains: $30,000 - $12,000 = $18,000\n\nTax without harvesting:\n$30,000 ร (15% + 5%) = $6,000\n\nTax with harvesting:\n$18,000 ร 20% = $3,600\n\nTax savings: $6,000 - $3,600 = $2,400\n\nHarvesting efficiency: $2,400 / $12,000 = 20%
Result: $2,400 tax savings from harvesting $12,000 in losses
Example 2: Excess Losses with Carryover
Problem: Mike has $10,000 in gains but $25,000 in losses. He's in the 32% bracket.
Solution: Capital gains: $10,000\nCapital losses: $25,000\n\nStep 1 - Offset gains:\n$10,000 gains fully offset โ $0 capital gains tax\n\nStep 2 - Remaining losses:\n$25,000 - $10,000 = $15,000 excess\n\nStep 3 - Ordinary income deduction:\nYear 1: $3,000 deduction ร 32% = $960 savings\n\nStep 4 - Carryover:\n$15,000 - $3,000 = $12,000 carries to next year\n\nTotal Year 1 benefit:\nGains tax avoided: $10,000 ร 20% = $2,000\nOrdinary deduction: $960\nTotal: $2,960
Result: $2,960 Year 1 savings + $12,000 loss carryforward
Example 3: Strategic Partial Harvesting
Problem: Emma has $50,000 gains, $60,000 unrealized losses, and expects similar gains next year. Should she harvest all losses?
Solution: Option A - Harvest all $60,000:\nYear 1: Offset $50,000 gains + $3,000 ordinary = $53,000 used\nCarryover: $7,000\n\nOption B - Harvest $53,000 strategically:\nYear 1: Offset $50,000 gains + $3,000 ordinary\nRetain $7,000 unrealized for Year 2\n\nAnalysis:\nOption B preserves flexibility\nRemaining $7,000 unrealized may grow/shrink\nAvoids locking in carryover timing\n\nIf 20% combined rate:\nYear 1 savings either way: $50,000 ร 20% + $3,000 ร 32% = $10,960\n\nRecommendation: Option B - harvest only what's needed
Result: $10,960 Year 1 savings, retain flexibility by harvesting only $53,000
Frequently Asked Questions
What is tax-loss harvesting?
Tax-loss harvesting is a strategy of selling investments at a loss to offset capital gains taxes. The losses can offset gains dollar-for-dollar, plus up to $3,000 in ordinary income annually, with excess losses carrying forward to future years.
Does tax-loss harvesting always make sense?
Not always. Transaction costs, wash sale complications, and the benefit of deferral vs. elimination should be considered. If you're in a low tax bracket now but expect higher rates later, harvesting may be less beneficial.
How does state tax affect harvesting decisions?
State taxes can significantly increase harvesting value. High-tax states like California (13.3%) or New York (10.9%) make harvesting more valuable, while states without income tax see reduced but still meaningful benefits.
Can I use the results for professional or academic purposes?
You may use the results for reference and educational purposes. For professional reports, academic papers, or critical decisions, we recommend verifying outputs against peer-reviewed sources or consulting a qualified expert in the relevant field.
What inputs do I need to use Tax Loss Harvesting Optimizer Calculator accurately?
Each field is labelled with the required unit (metric or imperial). Gather your source values before starting โ for example, a weight measurement in kilograms, a distance in metres, or a dollar amount โ and enter them exactly as measured. The formula section on this page lists every variable and explains what each represents.
How do I get the most accurate result?
Enter values as precisely as possible using the correct units for each field. Check that you have selected the right unit (e.g. kilograms vs pounds, meters vs feet) before calculating. Rounding inputs early can reduce output precision.
Background & Theory
History
References
- IRS Publication 550: Investment Income and Expenses
- IRS Wash Sale Rules - IRC Section 1091
- Vanguard: Tax-Loss Harvesting Research
- Journal of Financial Planning: Optimal Tax-Loss Harvesting
- Betterment Tax-Loss Harvesting White Paper
- Kitces: Tax-Loss Harvesting Best Practices
- SEC Investor Bulletin: Capital Gains and Losses
- Tax Foundation: Capital Gains Tax Rates