About the Crypto Tax Calculator
The Crypto Tax Calculator runs entirely in your browser — your trade data never leaves your device.
When you sell, spend or swap crypto, most tax authorities tax the gain — the sale proceeds minus your cost basis — not the whole amount. Cost basis is simply what you originally paid, and how you match buys to sells changes the number. This tool applies FIFO, LIFO or average cost and shows the realised gain on each disposal.
How to use this tool
- Paste your transactions, one per line, as date, buy|sell, amount, price.
- Choose a cost-basis method — FIFO is the default in most countries.
- Enter your capital gains tax rate.
- Press Calculate to see the realised gain and estimated tax.
FIFO, LIFO or average cost?
| Method | How it works |
|---|---|
| FIFO | The oldest coins are sold first — the standard in the US, UK and much of the world. |
| LIFO | The newest coins are sold first; allowed in some jurisdictions. |
| Average cost | All buys pooled into one weighted average price, common in Canada and parts of Europe. |
Pro tip
Keep a record of every trade with its timestamp and price. Most exchanges will export a CSV; reformat it into the four columns above. Garbage in, garbage out — especially if you have moved coins between wallets.
Who is this tool for?
Crypto investors estimating a tax bill, checking whether a method saves money, or sanity-checking an exchange's tax report before filing.