PnL and ROE calculator

Enter the margin, leverage, entry and exit prices to get the position size, PnL in USDT, ROE and how much the fees take.

PnL+100.00 USDT
ROE+100.00 %
Position size2,000.00 USDT
Quantity0.6667
Fees2.05 USDT
Net after fees+97.95 USDT

The result is an estimate: every exchange has its own margin tiers, fees and rules. Check the exact figures in the position panel of your exchange.

How it is calculated

Position size = margin × leverage, quantity = size / entry price. Long PnL = quantity × (exit − entry), short PnL = quantity × (entry − exit). ROE = PnL / margin × 100%. Fees are charged on the notional at entry and at exit: notional × taker rate (usually 0.04–0.06%).

Example

Margin 100 USDT, 20x, an ETH long from $3,000 to $3,150: size 2,000 USDT, 0.667 ETH, PnL = 0.667 × 150 = 100 USDT, ROE 100%. Fees at 0.05% × 2 ≈ 2.05 USDT.

Liquidation and PnL right on the chart

In the AZOTHX terminals the liquidation price, the stop and the position's PnL are lines on the chart, and orders are placed from it — on Binance, Bybit, OKX and other exchanges.

Open the terminals

FAQ

What is the difference between PnL and ROE?

PnL is the result in money (USDT), ROE is the same result as a percentage of the margin you put in. At 20x a 1% price move gives roughly 20% ROE.

Does leverage change the profit?

With the same margin — yes: leverage increases the position size, and with it the PnL, the loss and the fees. With the same position size leverage only changes the margin and the ROE.

Is funding included?

No: funding depends on how many payments fall within the trade. Use the funding calculator for it.

Other calculators