Crypto Tax-Loss Harvesting Calculator
What realising a loss is worth this year — and what it quietly costs you in the year you finally sell.
Because crypto is property rather than a security, you can rebuy immediately — the 30-day wash-sale rule does not reach it on the current rules.
A $20,000 crypto loss, against $8,000 of short-term gains and $100,000 of other income, saves $2,420 in federal tax this year — $8,000 of it against the gains, $3,000 against ordinary income, and $9,000 carried forward. Because crypto is property rather than a security, you can rebuy the same token immediately instead of waiting 30 days.
It also resets your cost basis to $30,000, making a future gain $20,000 larger. Federal only, 2026 rules, before state tax.
Why crypto is different from stocks here
Section 1091 disallows a loss where you acquire “substantially identical stock or securities” within 30 days either side of the sale. The text is limited to stock and securities. The IRS treats virtual currency as property, not as a security — so the rule does not reach it.
The practical difference is exposure. A stock investor harvesting a loss has to be out of the position for 30 days and wear whatever the market does in that window, which can easily cost more than the tax saved. A crypto holder can sell and rebuy in the same minute, keeping the position while banking the loss.
This is current law, not permanent law. Extending wash-sale treatment to digital assets has been proposed in Congress more than once. Nothing here should be read as a prediction that it will still work in a future tax year.
Harvesting defers tax. It does not erase it.
Most harvesting calculators show you the saving and stop, which makes it look like free money. It is not, and the reason is mechanical: when you rebuy at the lower price, your cost basis resets down by exactly the loss you just claimed. Here that is $50,000 down to $30,000, which makes the gain on an eventual sale $20,000 larger — the same number as the loss, moved into the future.
What you actually gain is narrower than the headline, and worth stating plainly:
- Use of the money in the meantime. Tax deferred is tax you can invest until it is due.
- Rate arbitrage, if it goes your way. Saving at today’s ordinary rate and paying later at the long-term rate is a real gain. If your income rises instead, it works against you.
- Converting a short-term gain into a long-term one, since the rebought position starts a new holding period.
The $3,000 wall
Losses offset capital gains without limit, but only $3,000 a year can be applied against ordinary income. Everything beyond that carries forward indefinitely.
For a large loss with no gains to absorb it, that is a long queue: a $100,000 loss with no capital gains takes over thirty years to use up at $3,000 a year. The carryforward never expires, but “never expires” and “useful soon” are different things — which is why the calculator shows the carryforward as its own line rather than folding it into the saving.
Once you sell
Realising the loss is a disposal like any other, so it needs the same cost-basis treatment as a sale at a profit. Work the disposal through FIFO, LIFO or HIFO to get the exact figure, since which lots you are treated as selling changes the loss. If some of your holdings arrived as rewards rather than purchases, their basis is the income you already declared.
Common questions
Does the wash-sale rule apply to crypto?
How much tax does harvesting a loss actually save?
Is there a limit on how much loss I can use?
Is harvesting free money?
Do short-term and long-term losses work the same way?
Does this work for stocks too?
How we calculate this
Losses net in the statutory order: against gains of the same character first, then across, then against ordinary income up to $3,000, with the remainder carried forward. The saving values each slice at the rate that slice was actually taxed at — ordinary rates for short-term gains and income, capital gains rates for long-term.
The basis reset is reported next to the saving, not hidden. A tool that shows only what you save is describing half of the transaction.
Where to go next
Realising a loss is a disposal like any other, so which lots you sell changes the figure. Run it through FIFO, LIFO or HIFO to get the exact loss.
For coins that arrived as staking, mining or airdrops rather than purchases, their basis is the income you already declared, not what you paid.
Federal only; state treatment varies. Reflects current law on wash sales, which has been the subject of repeated legislative proposals. Models one position rather than a whole portfolio, and ignores transaction fees and spread, which eat into the saving on a real round trip. Estimates for general information only — not financial, tax, or investment advice.