Crypto profit calculator

This crypto profit calculator works out the net result of buying a coin and later selling it, after a percentage fee on each side. It is deliberately simple, which makes it useful for seeing how fees and percentage moves interact before looking at a real trade history.
The formula
Proceeds = coins × sell price × (1 − fee)
Profit or loss = proceeds − amount invested
Worked example
Illustrative figures: $2,500 invested at a buy price of $50,000, sold at $56,000, with a 0.2% fee on each trade.
- After the buy fee, $2,495 buys $2,495 ÷ $50,000 = 0.0499 coins.
- Sale value before fee: 0.0499 × $56,000 = $2,794.40. After the 0.2% sell fee: $2,788.81.
- Profit: $2,788.81 − $2,500 = $288.81, a return of about 11.55%.
The price rose 12%, but the result is lower because both fees are taken. If instead the coin were sold at $47,000, proceeds would be about $2,340.61, a loss of $159.39 or roughly 6.38%, deeper than the 6% price fall for the same reason.
Reading the result
- Break-even sits above the buy price. With fees on both sides, the price must rise a little before a trade shows a profit.
- Percentages are not symmetrical. A 50% fall requires a 100% rise to recover; see the crypto module.
- Other costs are excluded. Spreads, network fees, withdrawal fees and taxes are not included and can be significant, especially on small amounts. The fees module covers them.
The tool assumes a spot purchase paid in full. It does not model leverage, funding rates or liquidation on derivatives, which change the outcome sharply.
Using the result sensibly
Treat the output as a check on expectations, not a forecast. Try entering a sell price below your buy price as well as above it; seeing the loss in money terms before a trade is often more useful than seeing the potential gain. For regular purchases made at different prices, work out an average buy price first and use that as the input.