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.
Positive rate: longs pay, shorts receive. Current rates: live funding rates.
The five numbers, in the order they depend on each other
- 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.
- 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).
- 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.
- 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.
- 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%| Leverage | Margin (USDT) | Fees + funding (share of margin) | Breakeven | Liquidation |
|---|---|---|---|---|
| 5x | 400 | 2.60 (0.65%) | 150.20 | 120.66 (-19.56%) |
| 10x | 200 | 2.60 (1.30%) | 150.20 | 135.75 (-9.50%) |
| 20x | 100 | 2.60 (2.60%) | 150.20 | 143.29 (-4.47%) |
| 50x | 40 | 2.60 (6.50%) | 150.20 | 147.81 (-1.46%) |
Why your exchange may show different numbers
- Your fee tier. VIP levels, token-based discounts and contract-specific rates change the fee.
- Maintenance rate by tier. The rate rises with position size. OKX's published tiers for the BTC USDT perpetual start at 0.4% (up to 1,000 contracts, 100x max), then 0.5% (66.66x) and 0.75% (50x) (position tiers, read 2026-11-14).
- Funding is not fixed. The rate keeps changing until settlement, can be negative, and is charged on the mark-price value. This page uses your entry notional and one rate for every settlement.
- Cross margin. In cross mode the whole account balance backs the position; use the exchange's position panel.
- Mark price and slippage. Liquidation is judged on the mark price, and market orders can fill away from the price you saw.
Frequently asked questions
What does a crypto futures calculator work out?
Which number should I calculate first?
Does higher leverage increase my profit?
How is funding included?
Why does the liquidation price change after funding?
Does this work for cross margin?
Is anything I type stored?
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.