Crypto Profit & Loss Calculator

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

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

$
$
$

Profit/Loss

$7,400.00

ROI

49.17%

P&L Breakdown

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

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. With the broader crypto market projected to reach a valuation of $7.7 trillion by 2026, 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 Sold) - (Buy Price * Quantity Bought) - Total Fees. 'Total Fees' here covers both the buy-side and sell-side transaction costs, whether your exchange charges a percentage of the trade value or a flat amount. 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; each of those deductions is folded into the result rather than rounded away.

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 in 2026

  1. 1 You bought 5 Solana (SOL) on January 15, 2026, at an average price of $250 per SOL. The exchange charged a 0.15% buy fee.
  2. 2 On July 20, 2026, you sold all 5 SOL at $320 per SOL. The selling exchange charged a 0.15% sell fee.
  3. 3 Your total profit from this trade is $348.13.
  4. 4 This represents a solid 27.85% return on your initial investment, after accounting for all trading fees. This profit could be subject to short-term capital gains tax depending on your jurisdiction and holding period.

Source: IRS — Digital Assets · Last updated: April 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 under one year) 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.