Home › Savings & Investing › Tax-Loss Harvesting Calculator

Tax-Loss Harvesting Calculator

See how much tax you save by selling investments at a loss before 31 December: gains offset, the $3,000 deduction and the carryforward.

Updated 25 November 2026 · Free · No sign-up · Private

By Mohd Huzaifa✓ Formulas checked against official sourcesLast reviewed: 25 November 2026
Result
2,400
Tax saved this year2,400
Gains offset10,000
Deducted from ordinary income3,000
Loss carried forward2,000

Quick answer: using this tax-loss harvesting calculator with losses you can harvest = 15,000, type of loss = Short-term (held 1 year or less), short-term gains this year = 2,000, long-term gains this year = 8,000, ordinary income tax rate = 24%, long-term capital gains rate = 15%, married filing separately? = No ($3,000 limit), the tax saved this year is 2,400. Change any value above to get your own result instantly.

See how much tax you save by selling investments at a loss before 31 December: gains offset, the $3,000 deduction and the carryforward.

How do I use the tax-Loss Harvesting Calculator?

  1. Enter Losses you can harvest.
  2. Enter Type of loss.
  3. Enter Short-term gains this year.
  4. Enter Long-term gains this year.
  5. Enter Ordinary income tax rate.
  6. Enter Long-term capital gains rate.
  7. Enter Married filing separately?.
  8. Results update instantly. Use 🔗 Copy link or 📸 Image to share them.

How does the tax-Loss Harvesting Calculator work?

Losses offset gains of the same type first, then the other type; up to $3,000 of the rest reduces ordinary income; the remainder carries forward

What does a worked example look like?

With losses you can harvest = 15,000, type of loss = Short-term (held 1 year or less), short-term gains this year = 2,000, long-term gains this year = 8,000, ordinary income tax rate = 24%, long-term capital gains rate = 15%, married filing separately? = No ($3,000 limit): tax saved this year: 2,400; gains offset: 10,000; deducted from ordinary income: 3,000; loss carried forward: 2,000.

Simplified: assumes the gains entered are your only capital gains for the year and ignores the 3.8% net investment income tax and state tax.

How the netting works

  1. Short-term losses offset short-term gains; long-term losses offset long-term gains.
  2. Any net loss then offsets gains of the other type.
  3. Up to $3,000 of what's left ($1,500 if married filing separately) reduces ordinary income.
  4. The rest carries forward to future years, keeping its short- or long-term character.

Short-term losses that offset short-term gains are the most valuable, because those gains would be taxed at ordinary income rates.

When to talk to a professional

Check the wash-sale rule (including purchases in IRAs and a spouse's accounts) and talk to a tax professional before large year-end trades.

Popular searches this calculator answers

  • tax loss harvesting calculator
  • $3,000 capital loss deduction
  • capital loss carryover
  • sell stocks at a loss for taxes
  • wash sale rule
  • year-end tax moves 2026

Frequently asked questions

What is tax-loss harvesting?

Selling investments that are worth less than you paid so the capital loss offsets capital gains, and up to $3,000 of ordinary income a year ($1,500 if married filing separately). Unused losses carry forward with no time limit.

What is the wash-sale rule?

If you buy the same or a substantially identical security within 30 days before or after the sale, the loss is disallowed for now and added to the cost of the new shares.

When is the deadline?

The sale must happen by the last trading day of the year (31 December 2026 for the 2026 tax year).

How do you calculate tax-loss harvesting?

The formula is: Losses offset gains of the same type first, then the other type; up to $3,000 of the rest reduces ordinary income; the remainder carries forward. For example, with losses you can harvest = 15,000, type of loss = Short-term (held 1 year or less), short-term gains this year = 2,000, long-term gains this year = 8,000, ordinary income tax rate = 24%, long-term capital gains rate = 15%, married filing separately? = No ($3,000 limit), the result is 2,400.

What does the Tax-Loss Harvesting Calculator show?

See how much tax you save by selling investments at a loss before 31 December: gains offset, the $3,000 deduction and the carryforward. It shows tax saved this year, gains offset, deducted from ordinary income and loss carried forward. Everything runs in your browser and nothing is stored.

Sources & references

How we keep this accurate: every formula on this page is tested against worked examples and checked against the official sources above. We review rates and rules whenever the government, RBI or regulators announce changes. Spotted an error? Tell us and we'll fix it.

🤖 Ask EasyCalcAI

Type your question in plain words and get an instant answer. Examples: "mortgage 350k 10% down 6.5%", "take home on 75000 in Ontario", "tax on 100000 in Australia", "20% VAT on 1500", "10000 compound at 7% for 20 years", "EMI for 30 lakh at 8.5% for 20 years".

✍️ Built and checked by Mohd Huzaifa, founder of EasyCalcAI · Last updated 25 November 2026. The calculator uses the formula shown on this page; results are estimates for planning, not professional advice.