Skip to main content
Crypto tax · Taxes

Crypto Cost Basis Calculator - FIFO, LIFO & HIFO (2026)

Calculate your gain or loss using FIFO, LIFO, or HIFO — and instantly compare which method saves you the most tax.

By Eric Nkando, senior writer · 2 min read · Updated 15 Sep 2026

!crypto tax cost basis calculator dashboard

Free Tool

Crypto Cost Basis Calculator

Calculate your gain or loss using FIFO, LIFO, or HIFO — and instantly compare which method saves you the most tax.

Purchase lots

Date

Quantity

Price per unit

+ Add lot

Sale details

Units sold

Sale price per unit

Sale fees

Currency

USD ($)GBP (£)AUD (A$)CAD (CA$)

Sale date

Cost basis method

FIFO — first in, first out LIFO — last in, first out HIFO — highest cost first

Result FIFO

Proceeds

—

Cost basis

—

Gain / loss

—

Avg cost / unit

—

  • This calculator tracks cost basis only. Tax owed depends on your country, income, and holding period — use the Capital Gains Calculator for the full tax estimate.

Method comparison

Lot-by-lot breakdown

![](https://secure.gravatar.com/avatar/2510b5bff6da2a621dbc7f1cf5b06ef4806fc5df5b7efac038bc48d4ce190e39?s=80&d=mm&r=g)

Written by

Eric Nkando

I’m Eric Nkando, a crypto and crypto tax enthusiast, with other extensive experiences in forex and stock markets. I believe crypto and blockchain are no longer alien topics and I’m here to help investors tackle emerging issues of taxation and prudential investment strategies. My approach? Delivering clear, insightful analysis on digital assets, market trends, and trading strategies, bridging complex technical concepts with practical investment perspectives. My work has been widely published on leading financial platforms such as Investing.com, FXLeaders, and The Distributed.

September 14, 2026

September 14, 2026

September 14, 2026

  • [Does Binance Report To The IRS? [Explained]](/crypto-tax/does-binance-report-to-the-irs/)

September 14, 2026

More in Calculator

  • [Crypto Staking & Income Tax Calculator – US, UK, Australia & Canada (2026)

5 months ago](/crypto-tax/crypto-staking-income-tax/)

  • [Crypto Capital Gains Tax Calculator – US, UK, Australia & Canada (2026)

5 months ago](/crypto-tax/capital-gains-calculator/)

Top gainers 24h

  • Loading market data...

Top losers 24h

  • Loading market data...

Make sense of crypto.

Weekly analysis. No hype, no jargon. Free.