FIFO cost-basis calculator

SARS expects first-in, first-out (FIFO) cost basis for crypto. Enter your buys (oldest first) and how much you sold, and see which units FIFO disposes of and the base cost it produces.

Buy lot (oldest first)QuantityTotal cost (ZAR)
Buy 1
Buy 2
Buy 3
Quantity matched (FIFO)
FIFO base cost
Capital gain

Real portfolios have hundreds of lots across many coins. Coinfig runs FIFO automatically across everything you own.

Do this automatically

Estimate only. General information, not tax advice — confirm with a registered tax practitioner.