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 |
| ROI | 49.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 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 Total cost: $1,250.00 + $4.28 = $1,254.28. Total revenue: 5 × $320 = $1,600.00.
- 3 Profit: $1,600.00 − $1,254.28 = $345.72. ROI: $345.72 ÷ $1,254.28 = 27.56%.
- 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?
Can I deduct crypto losses on my taxes?
How do I track cost basis for crypto?
You might also need
Crypto Tax Calculator
Calculate capital gains tax on cryptocurrency trades. Short-term vs long-term with NIIT calculation.
Crypto Mining Profitability Calculator
Calculate mining revenue, electricity costs, and profitability. See ROI timeline and break-even.
Staking Rewards Calculator
Calculate crypto staking income with compounding. Compare returns at different APY rates.