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.
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.
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
- Liquidation priceWhere the exchange closes your position at a given leverage
- Position sizeHow much to buy so the stop costs a set share of your balance
- FundingWhat a position pays or receives over the holding time
- Averaging (DCA)Average entry after several buys
- Risk / rewardStop-to-target ratio and the win rate it needs
- Break-even priceWhere a trade covers its entry and exit fees
- Crypto profitWhat you make buying and selling a coin