Crypto Tax Calculator

Estimate capital gains and losses on cryptocurrency trades using FIFO, LIFO, or average cost. Enter buy and sell transactions to see a summary—not a tax bill or filing-ready report. US-focused; consult a tax professional before filing.

Disclaimer: This information is for educational purposes only and should not replace professional financial or tax advice. Consult a qualified advisor for your specific situation.

Transactions

Cost basis and crypto taxes (US overview)

When you sell crypto for more than you paid, you may have a capital gain; if less, a capital loss. Cost basis is what you paid (including fees in many cases). FIFO, LIFO, and average cost are different ways to match sells to earlier buys when you have multiple purchases.

This calculator helps you explore those totals for simple buy/sell histories. It does not handle every taxable event (swaps, income, wash sales, multi-wallet consolidation) and does not apply federal or state tax rates. For complex portfolios, use specialized crypto tax software or a qualified CPA.

How This Calculator Works

1

Enter buys and sells

List each transaction with date, type, quantity, price, and fees.

2

Pick a matching method

FIFO, LIFO, or Average Cost determines how sells consume purchase lots.

3

View gains and losses

See totals for proceeds, cost basis, gains, losses, and net result.

About Crypto Tax Calculator

Add buy and sell transactions, choose a cost basis method, and calculate total gains, losses, and net result. Calculations run in your browser. Output is an estimate for education and planning— not IRS filing software.

FIFO

Matches sells to your oldest purchase lots first.

LIFO

Matches sells to your newest purchase lots first.

Average cost

Uses a blended average price across remaining holdings.

How to Use This Tool

1

Add transactions

Enter buy and sell rows with date, amount, price per unit, and optional fees.

2

Choose cost basis method

Select FIFO, LIFO, or Average Cost to match sells with purchases.

3

Calculate

The tool pairs sells with buys and totals gains, losses, proceeds, and cost basis.

4

Review net result

See total gains, losses, and net gain or loss—not an estimated tax payment.

5

Consult a professional

Use results for planning; a CPA or crypto tax software is needed for accurate filing.

Pro Tips

  • This tool summarizes gains and losses—it does not calculate tax owed
  • FIFO is common for matching lots, but holding period still affects tax rates
  • Swaps, staking rewards, and airdrops may be taxable—track them separately
  • Keep exchange CSV exports and wallet history for complete cost basis
  • Consider our capital gains calculator for a single sale estimate
  • Speak with a tax professional before filing

Frequently Asked Questions

Does this calculator show my tax bill?
No. It estimates capital gains and losses from your entered buy and sell transactions using your chosen cost basis method. It does not apply tax rates, split short- vs long-term holding periods, or produce a filing-ready return. Use a CPA or dedicated crypto tax software for that.
What is the difference between FIFO and LIFO?
FIFO (First In, First Out) matches each sell against your oldest purchases first. LIFO (Last In, First Out) matches against your newest purchases first. Average Cost uses a blended purchase price across remaining holdings. The method you may use can depend on IRS rules and your situation—confirm with a tax professional.
How does the IRS treat cryptocurrency?
In the United States, the IRS generally treats cryptocurrency as property. Selling, trading, spending, or earning crypto (mining, staking, airdrops) can be taxable events. You report gains or losses based on cost basis versus proceeds. This tool is a US-focused educational helper only.
Do I owe tax if I only hold crypto?
Holding cryptocurrency is usually not a taxable event by itself. Tax reporting typically applies when you dispose of crypto or receive it as income. Rules vary by country; this page assumes US guidance.
What records should I keep?
Keep dates, amounts, USD values, fees, exchange statements, and wallet records for every transaction. Accurate cost basis depends on complete history—especially if you use FIFO or LIFO across many trades.
Can crypto losses offset gains?
In the US, capital losses can generally offset capital gains. Net losses may offset up to $3,000 of ordinary income per year, with excess carried forward. Limits and rules change—verify with current IRS guidance or a tax advisor.