Free tool

Crypto gains calculator (FIFO)

Enter up to two purchases and one sale of the same coin. The calculator uses the oldest coins first (FIFO) and splits the gain into short-term (held 365 days or less) and long-term. Runs in your browser; nothing is stored or sent.

Total gain

-

Proceeds
-
Cost basis (FIFO)
-
Short-term gain
-
Long-term gain
-

Informational tool only. Not financial, tax, or legal advice. Not tax advice. Estimates only; verify with a qualified tax professional.

Want the full version with your own data? FIFO cost basis, short- and long-term gains, a Form 8949-style disposal report and a staking/airdrop income summary by tax year.

See the Crypto Tax & Cost-Basis Spreadsheet, $24

How it works

Proceeds = quantity sold x sale price - fee. FIFO takes coins from the first buy until it runs out, then the second. A lot held more than 365 days counts as long-term. The fee is spread across lots by quantity.

FAQ

Is this tax advice?

No. It is an educational estimate. Rules differ by country and situation; check with a qualified tax professional.

Why FIFO?

FIFO (first in, first out) is a common default cost-basis method. Your rules may allow or require another method.

Informational tool only. Not financial, tax, or legal advice.