โ† Back to Blog

How to Calculate Crypto Profits and Losses (2026)

By Coin Advice | Updated: April 30, 2026

You bought Bitcoin at $60,000. You sold at $70,000. "I made $10,000!" you tell your friend.

But wait... you also:

What's your REAL profit? And how do you calculate it for taxes?

If you don't know the answer, you're going to have a bad time with the IRS (or your local tax authority).

Let's break down exactly how to calculate crypto profits/losses, the difference between FIFO/LIFO, and how to never mess up your taxes again.

The Basic Profit Formula (You Must Know This)

Profit = Selling Price - Cost Basis Example: But here's where it gets messy...

The "Which Bitcoin Did I Sell?" Problem)

Imagine you bought Bitcoin THREE times:

  1. 0.5 BTC at $50,000 (Total: $25,000)
  2. 0.3 BTC at $60,000 (Total: $18,000)
  3. 0.2 BTC at $70,000 (Total: $14,000)
Total: 1.0 BTC, $57,000 average cost basis.

Now you sell 0.5 BTC at $80,000.

Question: WHICH 0.5 BTC did you sell? The IRS says: You MUST specify which coins you sold. Here are the methods:

FIFO vs. LIFO vs. HIFO (Tax Methods)

FIFO (First-In, First-Out) โ€” MOST COMMON

How it works: You sell the OLDEST coins first. Example: Profit: $80K - $50K = $30,000 per BTC ร— 0.5 = $15,000 profit Tax impact: HIGHER taxes (you're selling the cheapest coins first = bigger gains). Used by: 80% of crypto traders (default on Coinbase, Binance).

LIFO (Last-In, First-Out)

How it works: You sell the NEWEST coins first. Example: Profit: $80K - $70K = $10,000 per BTC ร— 0.5 = $5,000 profit Tax impact: LOWER taxes (you're selling the expensive coins first = smaller gains). Used by: Advanced traders in the US (saves on taxes).

HIFO (Highest-In, First-Out) โ€” BEST FOR TAXES)

How it works: You sell the HIGHEST-COST coins first. Example: Profit: $80K - $70K = $10,000 per BTC ร— 0.5 = $5,000 profit Tax impact: LOWEST taxes (same as LIFO, but more precise). Used by: People with crypto tax software (Koinly, CoinTracker).

How to Track Your Cost Basis (Don't Do This Manually!)

Tracking 100+ trades manually in Excel? You'll mess up and get audited.

Method 1: Crypto Tax Software (RECOMMENDED)

Koinly (Visit Site): CoinTracker (Visit Site): Use our Coin Advice Profit Calculator for quick calculations without software.

Method 2: Exchange-Native Tracking

Coinbase: Binance: Problem: Only tracks that ONE exchange. If you use 3 exchanges + MetaMask, you need software.

Method 3: Coin Advice Profit Calculator (Free & Simple)

How to use it:
  1. Go to Profit Calculator
  2. Enter: Coin, Buy Price, Sell Price, Quantity
  3. Select FIFO/LIFO
  4. See profit/loss + ROI instantly
Best for: Quick calculations (not tax reporting).

Real-World Example: Calculating a Messy Portfolio)

Your 2026 trades:
  1. Jan 1: Buy 1 BTC at $60,000
  2. Mar 1: Buy 0.5 BTC at $50,000
  3. Jun 1: Buy 0.3 BTC at $70,000
  4. Sep 1: Sell 1 BTC at $80,000
  5. Dec 1: Sell 0.5 BTC at $90,000
Using FIFO (First-In, First-Out): Trade 4 (Sell 1 BTC at $80K): Trade 5 (Sell 0.5 BTC at $90K): Total Profit (FIFO): $20,000 + $20,000 = $40,000 Using LIFO (Last-In, First-Out): Trade 4 (Sell 1 BTC at $80K): Trade 5 (Sell 0.5 BTC at $90K): Total Profit (LIFO): $24,000 + $15,000 = $39,000 Tax impact: LIFO = $1,000 LESS taxes (because you sold the $70K coins first in Trade 4, reducing gains).

ROI (Return on Investment) โ€” The Percentage That Matters)

ROI = (Profit รท Cost Basis) ร— 100 Example: What's a good ROI? Use our Profit Calculator to model different ROI scenarios.

Crypto-to-Crypto Taxes (The Hidden Trap!)

You trade 1 BTC (worth $60K) for 20 ETH (worth $60K).

You just triggered a taxable event! The math: This applies to: Only NON-taxable events:

Short-Term vs. Long-Term Capital Gains)

In the US (2026 rates):

Short-Term (Held < 1 Year)

Tax rate: Ordinary income tax (10-37%) Example:

Long-Term (Held > 1 Year)

Tax rate: Preferential rate (0-20%) Example: Strategy: If possible, hold for 1+ years to cut taxes by 30-50%.

Tools to Calculate Profits & Taxes)

1. Coin Advice Profit Calculator (Free)

2. Koinly ($49-$179/year)

3. CoinTracker ($59-$299/year)

4. Coin Advice Portfolio Tracker (Free)

The Bottom Line)

Calculating crypto profits isn't optional. The IRS (and tax authorities worldwide) WILL come knocking.

To stay safe:
  1. Choose FIFO or LIFO (FIFO = higher taxes, LIFO = lower)
  2. Use tax software (Koinly, CoinTracker)
  3. Track EVERY trade (even crypto-to-crypto)
  4. Hold 1+ years for lower long-term tax rates
  5. Use Profit Calculator for quick checks
Remember: "I didn't know it was taxable" is NOT a defense. Every crypto-to-crypto trade is taxable.

Ready to calculate your profits? Use our Profit Calculator for quick ROI checks, Portfolio Tracker to monitor total P&L, and tax software (Koinly/CoinTracker) for IRS-compliant reporting.


Want to learn more about taxes? Read our Crypto Taxes Guide and Dollar-Cost Averaging to reduce your taxable events.