🌾

Crypto Tax Loss Harvesting Calculator

Estimate how much tax you can save by harvesting crypto losses against short-term and long-term gains, plus leftover ordinary income offsets.

Scenario preset

Automate the hard part.

Koinly syncs wallets and exchanges, calculates realized gains/losses, and exports tax forms. Ledger keeps next-year trades offline.

Try Koinly → Ledger Nano S Plus →

📈 Realized gains this year

💸 Tax rates

🔁 Rebuy assumptions

Unrealized loss positions

Symbol Qty Cost basis Price Unrealized P/L Harvest

Check the Harvest column to include a position. The calculator optimizes losses against short-term gains first.

Total harvestable loss

Tax savings this year

Short-term gain offset

Long-term gain offset

Ordinary income offset

Loss carried forward

Verdict

How the math works

  • Harvested short-term losses first offset short-term gains, which are taxed at the highest rate.
  • Remaining losses then offset long-term gains at the long-term rate.
  • If net losses remain, up to the ordinary-income offset limit reduces ordinary income.
  • Any loss still left carries forward to future years.
  • State tax savings are estimated by applying the state rate to the same total offset. NII tax is added only if selected.

Last updated: 2026-07-20. See notes.

Frequently asked questions

What is tax loss harvesting for crypto?

You sell assets that have lost value to realize a capital loss, then use that loss to offset capital gains and up to $3,000 of ordinary income per year. Any remaining loss carries forward to future tax years.

Does crypto have a wash-sale rule?

In the US, crypto currently is not subject to the wash-sale rule because it is treated as property rather than a security. This means you can sell at a loss and immediately rebuy. Legislation has been proposed to close this loophole, so the calculator shows what changes if a wash-sale rule is applied.

Should I harvest short-term or long-term losses first?

Short-term losses offset short-term gains first, which are taxed at your ordinary income rate. That usually gives the biggest immediate tax benefit. Long-term losses offset long-term gains, which are taxed at lower capital-gains rates.

What if my losses are bigger than my gains?

First, losses offset gains of the same character. Then net losses can offset up to $3,000 of ordinary income per year for US taxpayers. Anything left carries forward indefinitely to future years.

Is this tax advice?

No. This is an educational estimator. Tax rules, rates, and wash-sale treatment differ by jurisdiction and change often. Consult a qualified tax professional before making trades.

This calculator is for estimation and educational purposes only. Crypto tax rules vary by country and change often. In the US, crypto is currently treated as property and is not subject to the wash-sale rule, though proposed legislation could change that. Consult a tax professional before trading for tax purposes.

🚀 Get AI automation insights daily

15:00 MST. One-click unsubscribe.

Subscribe