Crypto profit/loss calculator
Profit or loss, return and liquidation price of a spot or futures trade: enter the margin, the leverage, the entry and the exit. Long and short, fees included.
Crypto profit/loss calculator
How profit and liquidation price are calculated
Position value = margin × leverage. Quantity = position value ÷ entry price. Profit for a long = (exit − entry) × quantity, for a short = (entry − exit) × quantity. Fees are charged on both sides: on the value at entry and on the value at exit. Return on margin = profit after fees ÷ margin.
The liquidation price is an estimate for an isolated position with a 0.5% maintenance margin: for a long, entry × (1 − 1 ÷ leverage + 0.005); for a short, entry × (1 + 1 ÷ leverage − 0.005). Exchanges use their own maintenance tiers and add funding and fees, so the real level can differ slightly.
Without leverage, set leverage to 1: the calculator then works as a spot profit calculator, and there is no liquidation price.
- Position value
- Margin × leverage
- Quantity
- Position value ÷ entry price
- Profit, long
- (Exit − entry) × quantity − fees
- Profit, short
- (Entry − exit) × quantity − fees
- Return on margin
- Profit ÷ margin
- Liquidation, long
- Entry × (1 − 1 ÷ leverage + 0.005)
Frequently asked questions
How do I calculate crypto profit or loss?
Multiply the price change by the quantity you hold and subtract the fees. For a leveraged position the quantity is margin × leverage ÷ entry price, so the same price move gives a larger profit or loss.
How does leverage change profit?
Leverage multiplies the position value, so the return on margin is the price move multiplied by the leverage. A 2% move with 10× leverage is about 20% on the margin, before fees, in either direction.
How is the liquidation price calculated?
For an isolated position, the liquidation price is the level where the loss equals the margin minus the maintenance margin. The calculator uses a 0.5% maintenance margin; exchanges apply their own tiers.
Does it work for spot?
Yes. Set leverage to 1 and the margin becomes the amount invested.
Where do the prices come from?
The asset list fills the entry price with the latest price from Bybit. You can replace it with any price.
RSI heatmapPosition size calculatorTelegram botPrice alertsCharts
Some exchange links are partner links.