2026-09-22 6 min read

Tax Loss Harvesting Calculator

Tax saved by deliberately harvesting losses against gains.

Calculator

Loss to Harvest
$
Gains to Offset
$
Your Marginal Rate(%)
%
Capital Gains Rate(%)
%

Results

Optimal

Tax Saved by Harvest

$3,140.00

Loss Used

$20,000.00

Carryforward

$0.00

Live results update as you type — currently showing tax saved by harvest of $3,140.00. Replace the defaults with your own numbers.

Visualizations

Harvest Value

3,140$Saved
0$Carryforward

Formula

Deliberately realizing losses to offset gains plus a $3,000 ordinary slice.

Used = min(harvest, gains + $3,000); Saved = used at cap/margin

Variables

SymbolNameUnitDescription
HHarvest$Loss realized
GGains$Offset

Explanation

Tax saved by harvesting.

Step-by-Step Calculation

Follow each step to understand how the result is calculated from your inputs.

Step 1

Use = min(harvest, gains + $3,000) = min($20,000.00, $18,000.00 + $3,000)

Result: $20,000.00
Step 2

Savings at cap rate on gains, margin on ordinary slice

Result: $3,140.00
Final Answer
$3,140.00

Worked Examples

See how the calculator works with different scenarios.

Scenario

The tax loss harvesting calculator run on the values above.

Inputs

harvestAmount:20000
harvestGains:18000
marginalRate:22
capRate:15

Calculation

1. Use = min(harvest, gains + $3,000) = min($20,000.00, $18,000.00 + $3,000) → $20,000.00 2. Savings at cap rate on gains, margin on ordinary slice → $3,140.00

Result

Tax Saved by Harvest: $3,140.00

Interpretation

Harvest in December, replace with a non-identical fund to stay invested without a wash sale.

Understanding Your Result

Your Result: Tax Saved by Harvest: $3,140.00

What This Means

Tax saved by harvesting.

Why It Matters

Harvest in December, replace with a non-identical fund to stay invested without a wash sale.

Professional Interpretation

Harvest in December, replace with a non-identical fund to stay invested without a wash sale.

How this is calculated

Deliberately realizing losses to offset gains plus a $3,000 ordinary slice.

What drives the result

Taxable = income − deductions. Apply each bracket rate to its slice, sum, subtract credits. Marginal prices the next dollar; effective averages all dollars. Pre-tax contributions and well-timed deductions move dollars out of high slices.

Recommendations

  • •Mind $3,000 annual ordinary cap.
  • •Carry excess forward - it never expires.

Educational Content

Introduction

Income tax is progressive: deductions set the taxable base, brackets price each slice, credits cut the bill directly. Withholding and quarterly estimates only prepay that liability.

Concept Explanation

Taxable = income − deductions. Apply each bracket rate to its slice, sum, subtract credits. Marginal prices the next dollar; effective averages all dollars. Pre-tax contributions and well-timed deductions move dollars out of high slices.

Applications

▸Forecasting April liability
▸Tuning W-4 withholding
▸Sizing quarterly vouchers
▸Choosing regimes and deductions

Benefits

  • •Bracket-accurate liability
  • •Withholding and quarterly alignment
  • •Side-by-side regime math

Limitations

  • •Single-filer simplified brackets
  • •State codes not modeled
  • •Law changes need re-checks

Best Practices

  • •Aim near-zero refund
  • •Hit safe harbor on estimates
  • •Re-elect regimes yearly

Common Misconceptions

Myth: Moving brackets taxes everything higher
Truth: Only the new slice faces the higher rate.
Myth: A refund means winning
Truth: It means over-withholding all year.

Practical Tips

  • •Harvest in December.

Common Mistakes

Selling winners too
Net the two first.

Assumptions

This calculator makes the following assumptions to provide estimates:

Gains taxed at cap rate: Ordinary slice at margin.

Limitations

Be aware of these limitations when using this calculator:

Limitation: Single-filer simplified brackets
Limitation: State codes not modeled
Limitation: Law changes need re-checks

Frequently Asked Questions

Answers to common questions about this calculator.

Wash sale?
Avoid identical security 30 days each side.
How accurate is the tax loss harvesting calculator?
It follows the stated formula from your inputs with simplified single-filer brackets. Confirm filing status and current law before filing.
Are these exact IRS figures?
Simplified single-filer math for planning. Confirm filing-status brackets and law changes before filing.

Related Calculators

Explore more calculators related to this topic.

Related Guides

Deepen your understanding with these educational resources.

Glossary

Technical terms used in mortgage calculations explained in plain language.

Marginal rate
Tax on the next dollar — the rate that prices deductions and extra income.

Authoritative References

Trusted sources and standards referenced by this calculator.

Applicable Standards

Simplified single-filer federal-style brackets for planningMoney rounded for display only; math at full precisionState codes not modeled — add state on top

Was This Calculator Helpful?

Page Information

Last Updated:

2026-09-22

Version:

2.0.0

License:

Free to use for educational and professional purposes.