Enter the gains you've already realized and the underwater positions you still hold - then see which losses to harvest, how they net against your gains, and what the move is actually worth in tax.
US filers: the ordinary-income offset is generally capped at $3,000 per year ($1,500 if married filing separately), with the excess carried forward. Adjust if your jurisdiction differs.
Only positions worth less than their basis produce a harvestable loss. Tick the ones you'd actually sell in the table below.
| Harvest | Asset | Qty | Basis | Value | Unrealized | Term | Offsets | |
|---|---|---|---|---|---|---|---|---|
| No positions yet - add one above or load the demo. | ||||||||
Tax-loss harvesting means deliberately selling a position that's worth less than you paid, turning a paper loss into a realized one that can offset the gains you've already taken. The asset was going to be worth what it's worth either way - harvesting just converts the decline into something useful on your tax return.
Losses don't get applied wherever you like. Short-term losses offset short-term gains first, and long-term losses offset long-term gains first. Whatever remains in either bucket then crosses over to offset the other type. Only after all capital gains are wiped out can leftover losses touch ordinary income - and there the annual deduction is generally capped at $3,000 ($1,500 if married filing separately). Anything still unused carries forward indefinitely to future tax years.
That ordering is why short-term losses tend to be the most valuable: they first attack short-term gains, which are taxed at ordinary income rates rather than the lower long-term rates.
You have $12,000 of short-term gains and $8,000 of long-term gains, and you harvest a $16,000 short-term loss. It wipes out the short-term gains entirely, then $4,000 crosses over to reduce the long-term gains to $4,000. At 32% and 15%, your tax on gains falls from about $5,040 to $600.
For stocks, buying a substantially identical security within 30 days either side of the sale disallows the loss. Because the IRS treats crypto as property rather than a security, that rule has not historically applied to directly held digital assets - which is why crypto harvesting is often described as unusually flexible. Treat this as a live issue rather than settled ground: legislation to extend wash-sale treatment to digital assets has been proposed repeatedly, tokenized securities may be treated differently, and the economic substance doctrine remains a general backstop against transactions with no purpose beyond the tax result. Check the current position before relying on it.
One more trade-off worth understanding: rebuying at the lower price resets your cost basis down and restarts the holding period. Harvesting often defers tax rather than erasing it - which is usually still worth doing, especially against short-term gains, but it isn't free money.
Use it before year-end: losses have to be realized by December 31 to count for that tax year. Export the plan as CSV so you have a record of which lots you intended to sell and why.
This calculator works from figures you supply. If you need those figures pulled from your actual trading history - or want harvesting opportunities surfaced automatically through the year - these platforms do that continuously.
Full netting order, per-position selection, ordinary-income cap and carryforward - with the tax difference shown before and after. Free and private.
Scroll up to use it ↑Our ledger tool: enter or upload transactions to produce the realized gain figures this calculator needs, and flag remaining lots that are underwater.
Open the calculator →Tracks unrealized positions continuously and surfaces harvesting candidates during the year, rather than leaving them to be discovered at filing.
Visit CoinTracker →Broad integration coverage with realized and unrealized gain views, and tax reports covering more than 20 countries where local loss rules differ.
Visit Koinly →Turns messy trade history into reconciled realized gains and losses, with a direct path to Form 8949 once you've decided what to harvest.
Visit CoinLedger →The IRS's own topic page on capital gains, loss limits, and carryovers - the authoritative source for the netting rules modelled here. Free.
Read the IRS page →