Cost tools
Crypto futures PnL calculator
Enter an entry price, an exit price, the size and the leverage to see gross profit or loss, the fees taken off it and the return on the margin you posted.
Profit and loss calculator
Long or short, net of fees and funding
This is the realised result after the position is closed. Liquidation is not modelled here — open the liquidation tool to see how far the price can move against you before margin runs out.
How the pnl calculator works
Gross PnL
Long: (exit − entry) × quantity. Short: (entry − exit) × quantity. Leverage does not change this number, only the margin needed to hold the position.
Net PnL
Gross PnL minus the entry fee and the exit fee. Funding paid or received while the position was open comes on top.
Return on margin
Net PnL divided by the margin posted. This is the figure exchanges label ROE or ROI, and it scales with leverage.
Common questions
Work out the price difference times the quantity, then subtract the fees for both fills. Divide by your margin to get the return on margin.
This calculator is an estimate for planning, not an order preview. Everything runs in your browser and nothing is stored. The exchange’s own tier, mark price and risk rules decide the final figure. Compare published rates on the reviews page.
Bybit
OKX
Bitget
KuCoin
Binance
Deribit
Phemex
MEXC
BingX