Free · No signup · Nothing leaves your browser

Crypto tax gain/loss calculator (FIFO)

Paste your buy/sell history, get realized gain/loss per sale using first-in-first-out cost basis — the calculation runs entirely in your browser, nothing is ever uploaded to any server.

🔒 Your transaction data never leaves this page. There's no server upload — check your browser's network tab if you want to verify that yourself.

1. Format your data as CSV

One transaction per line: date, asset, type (buy or sell), quantity, price per unit. Header row optional.

dateassettypeqtyprice
2026-01-15BTCbuy0.562000
2026-03-02BTCsell0.271000
2026-02-01ETHbuy41900

2. Paste or upload

Why FIFO

First-in-first-out matches each sale against your oldest remaining purchase lots first. It's the default/required method in many jurisdictions when you haven't specifically elected another method (like specific-ID or HIFO) — check your own jurisdiction's rules, since this varies and this tool doesn't know which country you're in.

This is a calculation aid, not tax advice. Verify the output before filing anything, and consult a real tax professional for your specific situation.

More free tools