How This Cryptocurrency Profit Calculator Works

Profit on a trade is not just sell price minus buy price. Fees are charged on both sides: the buy fee raises what the trade cost you, and the sell fee cuts what you actually receive. Total invested = coins owned × buy price + buy fee. Total received = coins owned × sell price − sell fee. Profit = total received − total invested. ROI = profit ÷ total invested × 100. The live price button fills the sell price with the current USD market price from CoinGecko, a free public price feed that needs no key — but it is a market snapshot, not your exchange's execution price, and you can always type your own sell price instead.

Worked example: 2 coins bought at $20,000 each with a $50 buy fee, sold at $30,000 each with a $75 sell fee. Total invested = 2 × $20,000 + $50 = $40,050. Total received = 2 × $30,000 − $75 = $59,925. Profit = $59,925 − $40,050 = $19,875. ROI = $19,875 ÷ $40,050 × 100 = 49.63%. Without any fees the profit would have been $20,000, so the $125 of fees cost $125 of profit — small here, but on a losing trade fees deepen the loss by the same amount.

Practical tips

Count fees on both sides.

Many traders remember the sell fee and forget the buy fee. Both come out of the same profit, and on small trades a flat fee can wipe out the gain entirely.

ROI and profit dollars answer different questions.

A 49.63% ROI on $40,050 is $19,875; the same ROI on $400 is $198.50. Judge a trade by both numbers, not by the percentage alone.

A live price is a moment in time.

Crypto prices move in seconds, and your exchange's price includes its own spread. Re-check the price at the moment you actually trade — do not treat a loaded price as a locked-in sale price.

Taxes are not in this result.

Capital gains tax depends on your country, your holding period and your other income. Keep a record of buy price, sell price and fees for your tax return.