CoinPopBit

Crypto Futures Calculator: Margin, Fees, Breakeven, Funding and Liquidation

Enter one trade and get the five numbers that decide it, in the order they depend on each other. Everything runs in your browser; nothing is sent or stored.

By CoinPop Market Desk · Fee tables and help pages checked 2026-11-14 · Editorial policy

Position

Positive rate: longs pay, shorts receive. Current rates: live funding rates.

1Margin needed
-
2Trading fees (in + out)
-
3Breakeven exit price
-
4Funding while holding
-
5Liquidation price
-
Fees + funding as % of margin
-
Net PnL at planned exit
-
Net PnL at stop
-

Default fee rates are the regular-tier USDT perpetual rates: OKX 0.020% maker / 0.050% taker (okx.com/fees), Bybit 0.020% / 0.055% (Trading Fee Structure), MEXC BTCUSDT 0.000% / 0.040% (mexc.com/fee, set per contract). The 0.5% maintenance margin rate is a default for the example; replace it with the rate shown for your contract and position tier. Isolated margin only.

The five numbers, in the order they depend on each other

  1. Margin = position value ÷ leverage. Profit and loss come from position size: a 2,000 USDT position gains or loses 20 USDT per 1% move at any leverage. Leverage sets how much margin stands behind it.
  2. Trading fees = position value × fee rate, once to open and once to close. They are charged on the full position, not on the margin. OKX lists 0.0200% maker and 0.0500% taker for regular-tier perpetuals (fee table, read 2026-11-14).
  3. Breakeven = Entry × (1 + opening fee + funding paid) ÷ (1 − closing fee) for a long. The price has to move this far before closing makes money. Leverage does not change it.
  4. Funding fee = position value × funding rate at each settlement (OKX funding help, updated Oct 28, 2026). A positive rate means longs pay shorts. Only positions open at the settlement moment pay or receive. On an isolated position, funding you pay comes out of the margin.
  5. Liquidation price. OKX says a position may be reduced or liquidated when its maintenance margin ratio is at or below 100%, judged on the mark price (OKX liquidation help, updated 11 Aug 2026). Solved for price, an isolated long with no added margin is liquidated near Entry × (1 − 1/leverage) ÷ (1 − MMR − taker fee). Bybit publishes its own form in Liquidation Process (updated 2026-10-15), and MEXC in its Margin Calculation Guide.

The last two outputs put these together: your net result at a planned exit and at a stop, after fees and funding. If the stop lies beyond the liquidation price, the position would be liquidated before the stop is reached, and the calculator says so.

One trade at four leverage levels (worked example)

OKX rates · 2,000 USDT long at 150 · taker in and out · 3 funding payments at +0.01% · MMR 0.5%
LeverageMargin (USDT)Fees + funding (share of margin)BreakevenLiquidation
5x4002.60 (0.65%)150.20120.66 (-19.56%)
10x2002.60 (1.30%)150.20135.75 (-9.50%)
20x1002.60 (2.60%)150.20143.29 (-4.47%)
50x402.60 (6.50%)150.20147.81 (-1.46%)

Calculated values, not quotes. The cost in USDT and the breakeven price are the same in every row; what changes with leverage is the margin behind them and the distance to liquidation.

Why your exchange may show different numbers

Frequently asked questions

What does a crypto futures calculator work out?
For one trade it works out the margin needed, the trading fees, the breakeven exit price, the funding cost while holding, the liquidation price and the net profit or loss at a planned exit. This page does all of them from one set of inputs.
Which number should I calculate first?
Position size. Margin, fees, funding and the liquidation price all follow from it. Leverage only decides how much margin backs the position.
Does higher leverage increase my profit?
Not for the same position size. A 2,000 USDT position gains or loses the same amount per 1% move at 5x or 50x. Higher leverage means less margin, so the same result is a larger share of it and the liquidation price is closer.
How is funding included?
Funding per settlement is position value times the funding rate. Enter the rate and how many settlements you expect to hold through. A long pays when the rate is positive; a short receives.
Why does the liquidation price change after funding?
On an isolated position, funding you pay is taken from the position margin, which moves the liquidation price closer to entry. The calculator shows both the price at open and the price after the funding entered.
Does this work for cross margin?
No. In cross margin the liquidation price depends on the whole account. Use the estimated liquidation price on your exchange.
Is anything I type stored?
No. The calculation runs in your browser and nothing is transmitted.

Sources and limits

OKX fee table, funding fee mechanism (updated Oct 28, 2026), liquidation price help (updated 11 Aug 2026) and position tiers; Bybit Trading Fee Structure and Liquidation Process; MEXC fee page and Margin Calculation Guide. Checked 2026-11-14. Results are planning estimates, not trading advice; leveraged futures can lose the whole margin.