Tax-Loss Harvesting Calculator

Free tax-loss harvesting calculator. Estimate tax savings from selling losing investments, accounting for the $3,000 annual deduction limit and wash sale rules.

$
$
%
%
%
$
Total Tax Savings
$2,710.00
Net Benefit (After Costs)
$2,660.00
Losses vs. Gains
$8,000.00
Offsets $8,000.00 in gains; saves $1,200.00 federal
Ordinary Income Offset
$3,000.00
$3,000 annual limit; saves $960.00 federal
State Tax Savings
$550.00
At 0.05% state rate
Loss Carry-Forward
$4,000.00
Available for future tax years

Step-by-Step Breakdown

StepAmountTax Savings
Total harvested losses$15,000.00โ€”
1. Offset capital gains (0.15% CG rate)-$8,000.00+$1,200.00
2. Offset ordinary income (0.32% rate, $3K limit)-$3,000.00+$960.00
3. State tax savingsโ€”+$550.00
4. Transaction costsโ€”-$50.00
Carry-forward to next year$4,000.00Net: $2,660.00
Wash Sale Reminder: Do not repurchase the same or substantially identical security within 30 days before or after the sale, or the loss will be disallowed. Consider purchasing a similar but distinct ETF or fund to maintain market exposure.
Planning notes, formulas, and examples

About the Tax-Loss Harvesting Calculator

The Tax-Loss Harvesting Calculator helps you estimate the tax savings from strategically selling investments at a loss to offset capital gains and reduce your tax bill. This powerful strategy, used by individual investors and professional wealth managers alike, can save thousands of dollars annually when executed properly.

Tax-loss harvesting works by realizing paper losses, using those losses to offset realized capital gains dollar for dollar, and deducting up to $3,000 of excess losses against ordinary income each year. Any remaining losses carry forward to future tax years indefinitely. The key constraint is the wash sale rule, which disallows the loss if you repurchase a substantially identical security within 30 days.

This calculator factors in your harvested losses, existing capital gains, marginal tax rate, transaction costs, and the annual deduction limit to show your net tax benefit. It also estimates the carry-forward amount if your losses exceed what can be used in the current year.

When This Page Helps

Tax-loss harvesting is one of the few legitimate strategies to immediately reduce your tax bill without changing your long-term investment strategy. By replacing a losing position with a similar (but not identical) investment, you maintain market exposure while booking a tax loss. This calculator quantifies the benefit so you can decide whether the savings justify the transaction costs.

How to Use the Inputs

  1. Enter the total amount of capital losses you plan to harvest (sell at a loss).
  2. Enter any capital gains you have already realized this year.
  3. Enter your marginal federal tax rate (income tax bracket).
  4. Enter your state tax rate if applicable.
  5. Enter estimated transaction costs (commissions, fees, bid-ask spreads).
  6. View the tax savings, net benefit after costs, and any loss carry-forward.
  7. Consider the wash sale rule: do not repurchase the same security within 30 days.
Formula used
Losses Used vs. Gains = min(Harvested Losses, Capital Gains) Gains Tax Saved = Losses Used vs. Gains ร— Capital Gains Tax Rate Remaining Loss = Harvested Losses โ€“ Losses Used vs. Gains Ordinary Income Offset = min(Remaining Loss, $3,000) Ordinary Income Tax Saved = Ordinary Income Offset ร— Marginal Tax Rate Total Tax Savings = Gains Tax Saved + Ordinary Income Tax Saved Net Benefit = Total Tax Savings โ€“ Transaction Costs Carry-Forward = Remaining Loss โ€“ Ordinary Income Offset

Example Calculation

Result: Net tax benefit: $2,110

You harvest $15,000 in losses. First, $8,000 offsets realized capital gains, saving $8,000 ร— 15% = $1,200 in capital gains tax. The remaining $7,000 in losses: $3,000 offsets ordinary income at 32%, saving $960. Total tax savings = $1,200 + $960 = $2,160. After $50 in transaction costs, your net benefit is $2,110. The remaining $4,000 carries forward to next year.

Tips & Best Practices

  • Harvest losses throughout the year, not just in December; opportunities appear during market pullbacks.
  • Replace the sold holding with a similar but not substantially identical investment to maintain market exposure.
  • Avoid triggering the wash sale rule by waiting 31+ days before repurchasing the same security.
  • Consider using ETFs to swap between similar but distinct index funds (e.g., S&P 500 to total market).
  • Track all carry-forward losses to use them in future high-gain years.
  • Short-term losses offset short-term gains first, which are taxed at higher rates.
  • Pair tax-loss harvesting with tax-gain harvesting in low-income years for a complete tax strategy.

How Tax-Loss Harvesting Creates Value

The primary value of tax-loss harvesting comes from realizing losses now and potentially deferring some tax liability into future years. The benefit depends on your capital gains, marginal tax rate, transaction costs, replacement holdings, and how long the deferred tax amount stays invested.

The Wash Sale Rule in Detail

The wash sale window runs both before and after the sale date, creating a 61-day period that can disallow the deduction if you buy substantially identical securities too close to the sale. If the wash sale rule applies, the disallowed loss is generally added to the basis of the replacement position rather than disappearing permanently.

Building a Systematic Harvesting Strategy

The most effective approach is to monitor your portfolio regularly for harvesting opportunities rather than waiting until year-end. Market corrections and individual security pullbacks create harvesting windows throughout the year, but the tax result still depends on recordkeeping and replacement-security choices.

Sources & Methodology

Last updated:

Methodology

This calculator estimates current-year tax benefit from a harvested capital loss in three layers. It first offsets realized capital gains using a user-defined capital-gains tax rate, then applies up to $3,000 of any remaining net loss against ordinary income using the entered marginal tax rate, and finally subtracts transaction costs. State tax is modeled as a simple additional percentage applied to both the capital-gain offset and the ordinary-income offset.

The output is an estimate, not a tax return. It does not distinguish short-term from long-term loss buckets beyond the user-supplied tax-rate inputs, does not model married-filing-separately limits, and does not determine whether a replacement security is substantially identical for wash-sale purposes.

Sources

Frequently Asked Questions

  • Tax-loss harvesting is the strategy of selling investments at a loss to generate capital losses that offset capital gains and up to $3,000 of ordinary income per year on your tax return. The goal is to reduce your current tax bill while maintaining a similar investment portfolio by purchasing a non-identical replacement security.