Free · runs locally · tax year 2026

Crypto tax-loss harvesting calculator

See which of your crypto lots are below cost, what selling them before Dec 31, 2026 would realize, and how the result nets against your 2026 gains and the $3,000 limit. Your files never leave this page.

How the numbers are worked out

  • Accounts. Each imported file is its own account. Since January 1, 2025, basis is tracked wallet-by-wallet (see Rev. Proc. 2024-28). A send from one file that matches a receive in another within 7 days carries the original basis and acquisition date.
  • Past sales. Replayed FIFO (or HIFO) to find your realized 2026 short- and long-term gains and losses, plus the lots you still hold.
  • Harvest plan. Proceeds = units × the price you use. Gain or loss = proceeds − basis. Long-term means held more than one year on the sale date you choose.
  • Netting. Short- and long-term results are combined Schedule D-style. A net loss offsets up to $3,000 of ordinary income ($1,500 married filing separately), and the rest carries forward (IRS Topic 409).
  • Form 8949 box. G/J if the lot was acquired after 2025 in the same custodial account (basis reported on the 1099-DA), H/K if it is older or was transferred in (basis usually not reported), I/L for self-custody sales with no 1099-DA (i1099-DA, i8949).
  • Tax effect. Only if you enter your own rates. It's a rough federal estimate that ignores brackets, NIIT, AMT and state tax.

Before you sell: four checks

  1. Identify lots at the exchange. Brokers report the earliest units first unless you identify lots at or before the sale (i1099-DA). Set HIFO or specific ID in your exchange if it offers it, before placing the order.
  2. ETFs and stocks are different. Spot crypto ETFs and crypto stocks are securities and fall under the 30-day wash-sale rule. See the wash-sale checker.
  3. Converting to a stablecoin is still a sale. Selling BTC for USDC realizes the gain or loss just like selling for dollars.
  4. Keep records. Save the CSVs, your lot selections and price screenshots. You'll need them to reconcile the 1099-DA in early 2027.
How does the calculator pick lots?

For past sales in your files it replays history using FIFO (the broker default when you don't identify lots) or HIFO if you choose it. For the harvest plan you can sell every lot that is currently at a loss (specific identification), or test FIFO/HIFO for a quantity.

Which CSV formats work?

Coinbase transaction history (Buy, Sell, Convert, Send, Receive, rewards/staking rows), Kraken trades.csv (USD, USDC and USDT pairs), Gemini transaction history saved as CSV, the Robinhood account activity report (crypto rows only: stocks and ETFs are excluded and flagged), and the HarvestLedger generic template for anything else.

Is short-term or long-term decided correctly?

A lot is long-term if you sell it more than one year after you acquired it. Holding-period counting starts the day after acquisition (IRS Topic 409). The table shows the term as of the sale date you pick.

What doesn't it handle?

DeFi, liquidity pools, NFTs, margin, futures, lending, gifts, inheritances, state taxes and non-USD pairs. Unknown-basis transfers need your input. Treat results as an estimate to check against your records.

Educational self-prep content, not tax, legal or investment advice. Sources: IRS Instructions for Form 1099-DA (2026), Instructions for Form 8949, IRS Topic 409, CRS IF13359. Checked November 24, 2026.