Calculator

Crypto profit & PnL calculator

Work out the profit, loss, return, and ROI on margin for a long or short crypto trade — from your entry, exit, position size, and leverage.

Side
Profit / loss
$200
Return on position: +20%
ROI on margin: +20%

Gross PnL from price only — before trading fees, slippage, and funding, which reduce your net result. Educational, not financial advice.

How it works

Profit is the price move times your size — positive when a long exits higher or a short exits lower. Return on position measures that against the full notional; ROI on margin measures it against the capital you actually posted, which is where leverage amplifies the percentage. The same dollar move is a small return on notional but a large one on a thin margin — the double edge of leveraged perpetuals.

FAQ

How do you calculate profit on a crypto trade?

For a long, profit is (exit price − entry price) × quantity; for a short, it is (entry price − exit price) × quantity. Divide by your margin to get return on margin, which leverage amplifies in both directions.

What is ROI on margin?

Return on the capital you actually posted. With leverage, your margin is the notional divided by leverage, so a small price move becomes a large percentage gain or loss on margin — the reason leveraged trades cut both ways.

Does this include fees and funding?

No. This is gross PnL from price only. Trading fees, slippage, and funding payments reduce your net result — use the funding calculator to estimate the holding cost of a perpetual.

More tools: liquidation price · position size · funding