CoinPopBit

How to Calculate Crypto Futures Profit: PnL, Net PnL and ROE

Futures profit has three layers: the price move on the position (gross PnL), what is left after fees and funding (net PnL), and that result as a share of your margin (ROE). Exchanges show the first and third on screen; the second is the one that reaches your balance.

By CoinPop Market Desk · OKX help pages checked 2026-11-14 · Editorial policy

The three numbers, in order

  1. Gross PnL: the price move times the position

    OKX's rules for USDT-margined contracts: long PnL = face value × number of contracts × multiplier × (mark price − average open price); a short reverses the price difference (OKX Futures PnL calculation rules, updated 2026-08-11). Face value × contracts × multiplier is simply the coin quantity, so a 4-coin long that moves from 250 to 260 shows +40 USDT.

  2. Unrealized vs realized

    While the position is open, the PnL on screen is unrealized and uses the mark price, so it moves with the market. It becomes realized only when you close, at your actual fill price.

  3. Net PnL: subtract fees and funding

    Each fill pays notional × fee rate, once to open and once to close (OKX fee calculation). Funding is paid or received at each settlement you hold through (OKX funding mechanism). Net PnL = gross PnL − opening fee − closing fee − funding paid (+ funding received).

    All-in-one futures calculator (net PnL at your exit) →
  4. ROE: the result as a share of margin

    OKX calls this the P&L ratio: P&L divided by initial margin, where initial margin is the position value divided by leverage. Because margin is a fraction of the position, the same price move gives a bigger ROE at higher leverage: a 4% move is 16% ROE at 4x and 80% at 20x.

    Leverage calculator →
  5. Work backwards from the exit you need

    If you know the profit you want, the breakeven price tells you the minimum exit that covers both fees and funding, and the position size calculator sizes the trade from your stop-loss.

    Breakeven calculator →

Worked example: 4-coin long, 250 → 260, 4x

ItemValue (USDT)How it is calculated
Gross PnL40.004 × (260 − 250)
Fees (taker 0.05% both ways)−1.024 × 250 × 0.05% + 4 × 260 × 0.05%
Funding, one settlement at 0.01% (assumed)−0.101,000 × 0.01%
Net PnL38.88gross − fees − funding
ROE on screen (gross)16.00%40 ÷ 250 initial margin
ROE after costs15.55%38.88 ÷ 250

Calculated values with OKX regular-tier taker fees (checked 2026-11-14). The funding rate is an assumption for illustration and changes every settlement.

Common mistakes

Frequently asked questions

How do I calculate profit on a crypto futures trade?
Multiply the coin quantity by the price change (exit minus entry for a long, entry minus exit for a short), then subtract the opening and closing fees and any funding you paid.
What is ROE in crypto futures?
Return on equity, which OKX calls the P&L ratio: P&L divided by the initial margin of the position. It grows with leverage because margin is the position value divided by leverage.
Why does my PnL change when the price barely moves?
Unrealized PnL uses the mark price, which can differ slightly from the last traded price, and leverage magnifies the change relative to your margin.
Do fees depend on leverage?
No. Fees are charged on the position value. Higher leverage makes the same fee a bigger share of your margin.

Sources and limits

OKX Futures PnL calculation rules, OKX fee calculation, OKX funding mechanism, checked 2026-11-14. Other exchanges use similar formulas with their own fees and reference prices. Education, not trading advice.