Crypto Profit & Loss Calculator

Calculate crypto trading profit or loss from buy and sell prices with fees.

By Konstantin Iakovlev · Updated September 2026 · Source: IRS — Digital Assets

$
$
$

Profit/Loss

$7,450.00

ROI

49.50%

P&L Breakdown

Total Cost$15,050.00
Total Revenue$22,500.00
Profit/Loss$7,450.00
ROI49.50%

Use the Crypto Profit & Loss Calculator above to calculate your results. Enter your values and see instant results — all calculations run in your browser.

Disclaimer: This calculator is for informational purposes only and does not constitute tax, financial, or legal advice. Results are estimates based on the information you provide and current rates. Always consult a qualified tax professional or financial advisor for advice specific to your situation.

How It Works

Knowing exactly what a trade earned or cost you, after every fee is stripped out, is what separates a real return from a number that only looks good on a screen. That precision matters as much for year-end tax reporting as it does for deciding which positions to add to. The point of this tool is to handle the arithmetic so your attention can stay on the trade itself.

The math runs on a single formula: (Sell Price × Quantity) − (Buy Price × Quantity) − Total Fees, with one Quantity field for the units bought and sold. 'Total Fees' is a single dollar amount covering both the buy-side and sell-side transaction costs; if your exchange charges a percentage, convert each side to dollars and add them. Say you bought 1 ETH at $5,000 with a 0.2% fee and later sold it at $7,000 with another 0.2% fee: the fees are $10 and $14, so you enter $24.

Fees are where most people quietly lose money on paper. Network charges and withdrawal costs rarely show up on the trade screen, yet they eat into the figure you actually walk away with, so leave none of them out. The same goes for partial sales: enter the precise quantity you sold, not the full position, or the number will drift. One thing this calculation deliberately leaves out is tax, and short-term gains can run as high as 37% in 2026, so treat that liability as a separate line in your planning.

Example: Selling Solana for a Profit

  1. 1 Input: you bought 5 SOL at $250 each ($1,250.00) and the exchange charged 0.15% ($1.88). About six months later you sold all 5 at $320 each ($1,600.00) and paid another 0.15% ($2.40). Enter Buy Price 250, Sell Price 320, Quantity 5 and Total Fees 4.28 ($1.88 + $2.40).
  2. 2 Total cost: $1,250.00 + $4.28 = $1,254.28. Total revenue: 5 × $320 = $1,600.00.
  3. 3 Profit: $1,600.00 − $1,254.28 = $345.72. ROI: $345.72 ÷ $1,254.28 = 27.56%.
  4. 4 You held the SOL for one year or less, so the gain is short-term and taxed at ordinary income rates. This calculator does not estimate that tax; the crypto tax calculator does.

Source: IRS — Digital Assets · Last updated: September 2026

Frequently Asked Questions

How do I report crypto gains on my taxes?
Report crypto gains and losses on Form 8949 and Schedule D. Short-term gains (held one year or less) are taxed at ordinary income rates up to 37%. Long-term gains (held over one year) are taxed at 0%, 15%, or 20% depending on your income.
Can I deduct crypto losses on my taxes?
Yes. Crypto losses offset crypto and other capital gains dollar for dollar. If your losses exceed your gains, you can deduct up to $3,000 per year against ordinary income and carry forward remaining losses to future years indefinitely.
How do I track cost basis for crypto?
Record the date, amount, and price of every purchase, sale, and conversion. You can use FIFO (first in, first out) or specific identification to determine which coins were sold. Crypto tax software like CoinTracker or Koinly can automate this process.