Account

What new tool do you want?

Investing & Retirement

Tax-Loss Harvesting Calculator

Estimate the tax saved by selling investments at a loss to offset capital gains and up to $3,000 of ordinary income a year (US rules).

For information and education only — not financial advice. Results are estimates based on the numbers you enter; check important decisions with a qualified professional.

How to use

  1. 1Enter the loss you'd realize and your realized capital gains this year.
  2. 2Enter your capital gains tax rate and ordinary income tax rate.

How it's calculated

Losses first offset gains (saving gains × capital gains rate). Up to $3,000 of any remaining loss offsets ordinary income; the rest carries forward to future years.

Frequently asked questions

Do short- and long-term losses differ?

Losses first offset gains of the same type, then the other type. Short-term gains are taxed at higher ordinary rates, so offsetting them saves more.

What about the wash sale rule?

If you buy the same or a substantially identical security within 30 days, the loss is disallowed for now. Buy a similar but not identical fund instead.

Is harvesting always worth it?

It lowers your cost basis, so you may pay more tax later — it's a deferral, but the time value and potential lower future rates can still make it worthwhile.

Why losses offset gains before they offset ordinary income, and why that order matters

A realized capital loss first applies against realized capital gains dollar for dollar — only once gains are fully offset can any remaining loss apply against ordinary income, capped at $3,000 per year, with anything beyond that carrying forward to future tax years. Since capital gains and ordinary income are often taxed at different rates, understanding which bucket a loss actually lands in matters for correctly estimating the real tax savings.

Worked example: Tax-Loss Harvesting Calculator

A $10,000 harvested loss against $4,000 of realized gains this year, at a 15% capital gains rate and 24% ordinary income rate: the first $4,000 of the loss offsets the gains (saving $600 at the 15% rate), the next $3,000 offsets ordinary income (saving $720 at the 24% rate, since the ordinary-income offset is capped at $3,000 per year), and the remaining $3,000 of loss carries forward to next year — for $1,320 in total tax saved this year.

Why harvesting a loss is often a deferral, not a permanent tax saving

Selling an investment at a loss and immediately buying something similar (but not 'substantially identical,' to avoid the wash sale rule) resets the cost basis lower on the replacement investment — meaning a larger taxable gain awaits whenever that replacement is eventually sold at a profit. The real benefit isn't erasing tax permanently; it's the time value of paying less tax now in exchange for potentially more tax later, plus the chance that future tax rates or circumstances turn out more favorable than today's.

Why a large loss can keep paying off for years through the carryforward

Unused losses beyond the current year's gains and the $3,000 ordinary-income limit don't expire — they carry forward indefinitely, available to offset gains or up to $3,000 of income in every future year until fully used. A single large loss realized in one bad year can therefore function like a multi-year tax shield, quietly reducing tax bills in several future years rather than being a one-time event, which is worth remembering when a harvested loss is much larger than the current year's gains can absorb.

Related tools

More: Investing & Retirement