Calculators

Crypto Tax Calculator (FIFO/HIFO, Multi-Wallet)

Last updated: November 5, 2026 · Uses 2026 federal tax brackets and thresholds

Enter your buys, sales and transfers for one coin. The calculator tracks cost basis separately in each wallet, as the IRS requires from 2025, matches each sale to purchase lots using FIFO or HIFO, and splits the result into short-term and long-term gains for the tax year you choose.

How it works

  • Buy: adds a lot to the wallet with its date and total cost, including fees.
  • Transfer: moves lots between your own wallets, keeping their original cost and dates; it isn’t taxable.
  • Sell: matches the wallet’s lots by FIFO (oldest first) or HIFO (highest cost first). Lots held more than one year are long-term.
  • If a sale exceeds what a wallet holds, the missing part is flagged and treated as zero basis, which usually means a wallet or transfer is missing.

Example

With the sample data, the 0.4 BTC sold from Coinbase in April 2026 comes from the 0.3 BTC lot left after the transfer and part of the 2025 lot. Switching between FIFO and HIFO shows how the method changes your gain. See FIFO vs HIFO and wallet-by-wallet cost basis.

Frequently asked questions

Can I use it for my tax return?

It’s for checking and planning. For hundreds of transactions or several coins, use crypto tax software. See best crypto tax software.

Are crypto-to-crypto swaps sales?

Yes. Enter a swap as a sale of the coin you gave up, at its dollar value, and a buy of the coin you received. See crypto-to-crypto trades.

Sources

This calculator gives educational estimates only and is not tax, legal or investment advice. Results depend on details it doesn’t capture; consult a qualified tax professional before acting.