Trading & Futures

Crypto Futures PnL & ROE Calculator

Profit, loss and return on margin for any leveraged long or short — with fees included.

  • Free
  • No sign-up
  • Runs in your browser
Position side
$
$
x
%
Updates as you type
Result
Net profit / loss
—
ROE (return on margin)
—
Initial margin
—
Gross PnL (before fees)
—
Total fees (open + close)
—

In short: This futures PnL calculator works out the net profit or loss of a leveraged crypto trade after fees, plus your ROE — the return on the margin you put up.

Futures pnl calculator — ChainMaths

How to use it

Pick long or short, enter entry and exit prices, the quantity in coins, your leverage and the fee per side. The calculator returns your net profit or loss, the fees you pay to open and close, and your ROE — the return on the margin you put up.

The formulas

Gross PnL (long)  = (Exit − Entry) × Quantity
Gross PnL (short) = (Entry − Exit) × Quantity
Fees              = (Entry + Exit) × Quantity × Fee rate
Initial margin    = Entry × Quantity ÷ Leverage
ROE               = Net PnL ÷ Initial margin × 100

Worked example

A 10x long of 0.1 BTC from $60,000 to $63,000 with 0.05% fees:

Gross = 3,000 × 0.1 = $300
Fees  = (60,000 + 63,000) × 0.1 × 0.0005 = $6.15
Net   = $293.85
Margin = 6,000 ÷ 10 = $600  →  ROE ≈ 48.98%

PnL vs ROE

Leverage does not change your dollar profit — the quantity does. It only changes how much margin you lock up, which is why ROE grows with leverage while PnL stays the same. High ROE also means a nearby liquidation price.

Funding payments are not included. To estimate them for trades you hold for days, use the funding rate calculator.

When to use a futures PnL calculator

Use it to plan a trade’s target before you enter, to check whether a small move is worth the fees, and to understand an exchange’s PnL screen. Traders often look at ROE and feel rich or ruined, but ROE depends on leverage. The dollar PnL is what actually lands in your account, so the calculator shows both side by side.

Common mistakes

  • Judging trades by ROE alone. 50% ROE at 50x leverage is only a 1% price move — and a 2% move the other way is a liquidation.
  • Forgetting the closing fee. Fees are charged when you open and again when you close.
  • Mixing up linear and inverse contracts. Coin-margined (inverse) contracts pay profit in the coin, so the numbers differ.
  • Ignoring funding on trades held over several funding intervals.

Key takeaways: futures pnl calculator

  • A futures PnL calculator shows profit after fees, not just the price difference.
  • ROE grows with leverage, but the dollar PnL depends only on quantity and price move.
  • Fees are paid on both opening and closing, so they matter most on small, quick trades.

Futures pnl calculator FAQ

Is this for USDT-margined (linear) contracts?

Yes. Inverse (coin-margined) contracts calculate profit in the coin, not in dollars, so results differ.

Which fee should I use?

Use the taker fee for market orders and the maker fee for limit orders that rest on the book. If unsure, use the taker fee to be conservative.

Why is my exchange PnL slightly different?

Exchanges show unrealised PnL on the mark price and may include funding already paid. Realised PnL after closing should be very close to this result.

Further reading: futures contracts explained (Wikipedia).