Crypto Capital Gains Calculator

Estimate crypto gains and losses from your trades using FIFO, LIFO or HIFO, with short and long-term split.

Estimates only. Tax rules differ by country and change often, and some places treat crypto differently. Use this to organise your numbers, then check them with a tax professional.

Type is buy or sell. Fee is optional and in the same currency as the price. Dates as YYYY-MM-DD. Use one currency for all lines.

Estimate your crypto gains from a simple list

Paste your buys and sells and the calculator matches each sale to earlier purchases using FIFO, LIFO or HIFO, then reports proceeds, cost basis and the gain or loss for every sale, split into short-term and long-term using a holding period you choose. You also get a CSV to share with an accountant and a list of coins you still hold.

How the methods differ

  • FIFO sells your oldest coins first. It is the default in many jurisdictions.
  • LIFO sells your most recent purchases first.
  • HIFO sells the highest-cost coins first, which tends to lower gains.

What it does and does not do

Fees are added to the cost of a buy and subtracted from the proceeds of a sale. The calculator does not fetch prices, import exchange files, track transfers between wallets, or handle staking rewards, airdrops, mining income, swaps between coins or fiat conversions. Swaps and rewards usually have their own tax treatment, so enter them as separate buys and sells at their fair values if your rules say so.

Tax rules vary

Which methods are allowed, how long a holding must be to count as long-term, whether losses offset gains, and whether crypto is taxed as property, income or something else all depend on where you live. The optional tax rates here are rough and ignore allowances and loss carry-overs. This tool is not tax advice, so verify your results with a qualified professional or your tax authority.

Questions fréquentes

Which cost basis method should I use?

Use the one your tax authority permits or requires. Some countries mandate a particular method or pooling rules.

Why does it say I sold more than I bought?

Earlier buys do not cover the sale. Add the missing purchases, including coins received by transfer.

Are fees included?

Yes. A buy fee raises your cost and a sell fee lowers your proceeds.

Does it handle swaps and staking rewards?

Not automatically. Record them as buys and sells at fair value if your rules treat them that way.

Is my data uploaded?

No. The calculation runs in your browser.

Plus dans Web3 & Crypto SEO Tools