Crypto Profit Calculator
Crypto profit = quantity × (sell − buy) minus fees on both legs; with leverage, quantity = margin × leverage ÷ buy price. Example: $1,000 margin at 10x on BTC bought at $75,000 and sold at $78,750 (+5%) makes $500 gross, $20.50 fees at 0.1% per leg, $479.50 net: 47.95% on margin.
ROI is net profit over cash invested; with leverage the same ratio is ROE on margin, so price moves, fees and funding are all multiplied against a smaller base. The leveraged long above breaks even at $75,150.
Model spot or leveraged long and short trades with realistic fees. Trade the same exposure as an on-chain perpetual with a web3 wallet — see on-chain perps sizing or leverage calculator for margin and liquidation detail.
Last updated · How these numbers are calculated
Results
- Quantity
- —
- Gross profit
- —
- Buy fee
- —
- Sell fee
- —
- Net profit
- —
- ROI
- —
- Break-even sell
- —
- ROE (on margin)
- —
- Liquidation (generic)
- —
- Liquidation (margin-loss rule)
- —
Worked example
$1,000 long BTC at $75,000, sold at $82,500, 0.1% fee each side → quantity 0.0133333, gross $100.00, fees $1.00 + $1.10 = $2.10, net $97.90, ROI 9.79%.
Related: position size calculator, liquidation price. Compare venues (not advice).
Net profit and ROI at 1x vs 10x
| Price move | Exit price | Net profit (1x) | ROI (1x) | Net profit (10x) | ROE (10x) |
|---|---|---|---|---|---|
| −5% | 71,250 | −$51.95 | −5.20% | −$519.50 | −51.95% |
| −2% | 73,500 | −$21.98 | −2.20% | −$219.80 | −21.98% |
| +2% | 76,500 | +$17.98 | +1.80% | +$179.80 | +17.98% |
| +5% | 78,750 | +$47.95 | +4.80% | +$479.50 | +47.95% |
| +10% | 82,500 | +$97.90 | +9.79% | +$979.00 | +97.90% |
Assumptions: 0.1% fee on each leg, $1,000 cash or margin, no funding. The 10x column is only valid above the generic liquidation price of 67,875; below it the margin is gone. Entry is an example, not a live quote. Full formulas and data dates: methodology.
FAQ
How do I calculate crypto profit with leverage including fees?
Quantity = margin × leverage ÷ buy price. Net profit = quantity × (sell − buy) − buy fee − sell fee, with each fee charged on that leg's position value. For $1,000 at 10x on BTC from $75,000 to $78,750 the quantity is 0.13333 BTC, gross $500, fees $20.50 at 0.1% per leg, net $479.50, ROE 47.95%. Funding and liquidation are separate: check the liquidation price first.
Are fees included in ROI?
Yes — net profit subtracts both legs (percent of each leg's position value); ROI uses your USD investment or margin as the denominator, and with leverage ROE matches ROI on margin.
What is the break-even sell price?
The exit price where net profit after both fees is zero. For the 10x example above it is $75,150 on a 75,000 entry at 0.1% per leg.
Can I calculate a short trade?
Yes: flip to short and gross profit uses the inverse price move. Break-even uses the short fee algebra. Liquidation for either side is on the liquidation price calculator.