How do you calculate PnL and ROE on crypto futures?

On a USDT-margined perpetual, PnL for a long is quantity × (exit price − entry price), and for a short it is quantity × (entry price − exit price). ROE is that PnL divided by the initial margin of the position. Leverage changes the margin, so it changes ROE, but it does not change the PnL in USDT. Net PnL is what remains after trading fees and funding. Leveraged futures carry a high risk of loss.

What is the PnL formula for a USDT perpetual?

USDT-margined perpetuals are linear: PnL moves one-for-one with price, settled in USDT.

  • Long: PnL = quantity × (exit price − entry price)
  • Short: PnL = quantity × (entry price − exit price)

Quantity is the position size in the coin (for example 0.05 BTC). Bybit's and OKX's help pages publish the same linear formulas (sources below). For contracts settled in the coin instead of USDT, the formula is different; see USDT-margined vs coin-margined futures.

What is ROE and how is it calculated?

ROE (return on equity; some exchanges label it ROI or PnL ratio) is PnL as a percentage of the initial margin used to open the position:

ROE = PnL ÷ initial margin × 100

Initial margin = quantity × entry price ÷ leverage.

As of November 2026, OKX defines its P&L ratio as P&L / initial margin, and Bybit defines ROI (%) as unrealized P&L / initial margin × 100.

What does a worked long and short example look like?

Illustration only; numbers are placeholders, not a track record.

Bitcoin USDT perpetual, quantity 0.05 BTC, entry 60,000, 10x leverage.

  1. Position value: 0.05 × 60,000 = 3,000 USDT. Initial margin: 3,000 ÷ 10 = 300 USDT.
  2. Long closed at 61,200: PnL = 0.05 × (61,200 − 60,000) = +60 USDT. ROE = 60 ÷ 300 = +20%. Price moved 2%; at 10x the ROE is 10 × 2% = 20%.
  3. Short closed at 61,200: PnL = 0.05 × (60,000 − 61,200) = −60 USDT. ROE = −20%.
  4. Short closed at 58,800: PnL = 0.05 × (60,000 − 58,800) = +60 USDT. ROE = +20%.

These are before fees and funding.

Why does leverage change ROE but not PnL?

Keep the same 0.05 BTC long from 60,000 to 61,200:

Leverage Initial margin PnL ROE
5x 600 USDT +60 USDT +10%
10x 300 USDT +60 USDT +20%
20x 150 USDT +60 USDT +40%

The dollar result comes from quantity and price distance only. Higher leverage shrinks the margin, which inflates ROE in both directions and moves the liquidation price closer. A high ROE screenshot says little about risk; the dollar loss at the stop does. See leverage explained for choosing leverage with a fixed risk per trade.

What is the difference between unrealized and realized PnL?

  • Unrealized PnL is the open position's result at the current price. Exchanges differ on which price they use: as of November 2026, OKX's PnL rules compute it from the mark price, while Bybit displays it from the last traded price by default and lets you view the mark-price value. On the same 0.05 BTC long, a mark price of 60,900 shows +45 USDT and a last price of 61,000 shows +50 USDT. See mark price vs last price.
  • Realized PnL is booked when you close all or part of the position, and it includes the fees and funding charged along the way.

How do fees and funding change net PnL?

Net PnL = gross PnL − trading fees − funding paid + funding received.

Illustration only (amounts are placeholders, not any exchange's schedule): the long above makes +60.00 USDT gross. If opening and closing fees total 2.40 USDT and the position paid 0.90 USDT of funding while open, net PnL = 60.00 − 2.40 − 0.90 = +56.70 USDT, and ROE on the 300 USDT margin is 18.9%. Funding is paid or received only if the position is open at a funding time; see how funding rates work.

How do you express PnL in R?

R is the amount you planned to lose if the stop is hit. With a stop at 59,400 on the 0.05 BTC long, 1R = 0.05 × (60,000 − 59,400) = 30 USDT. The +60 USDT gross result is +2R; the +56.70 USDT net result is 56.70 ÷ 30 = +1.89R. R compares trades of different sizes and leverage on one scale, which ROE does not. Size positions from R with the position size calculator guide.

How does Tradeture show this?

On Tradeture, Mtrader lets you set the entry, stop-loss, take-profit, and risk per trade; it sizes the position automatically and records the trade in an automatic journal. It works through a trade-only API key on USDT-based perpetual contracts at Bitunix (recommended), OKX, Bitget, Bybit, or MEXC, and funds stay on the exchange. Past performance does not guarantee future results.

What are the short answers on PnL and ROE?

How do I calculate PnL on a USDT perpetual?

For a long, PnL = quantity × (exit price − entry price). For a short, PnL = quantity × (entry price − exit price). A 0.05 BTC long from 60,000 to 61,200 makes +60 USDT before fees and funding.

What is ROE in crypto futures?

ROE is PnL divided by the initial margin of the position, shown as a percentage. Some exchanges call it ROI or PnL ratio. With 300 USDT of margin, +60 USDT of PnL is +20% ROE.

Does higher leverage increase my profit?

No. Leverage lowers the margin needed for the same position, so ROE gets larger in both directions, but the PnL in USDT depends only on quantity and price distance. Higher leverage also moves the liquidation price closer.

Why is my closed PnL lower than the unrealized PnL I saw?

Unrealized PnL usually leaves out the closing fee, and realized PnL includes trading fees and any funding paid while the position was open. The price used for the display, mark or last, can also differ.

Should I track ROE or R?

Track R for decisions. R measures each result against the loss you planned at the stop, so trades with different leverage and size compare fairly. ROE mainly reflects the leverage you chose.

Sources

Read November 9, 2026

Related: crypto futures PnL, ROE and margin calculator

Last reviewed by Ric Mescallado