· four exchange APIs · rebuilt daily

The finding
At 20x leverage, an asset needs to move 4.5% against entry to trigger liquidation, but holding the position for 30 days reduces that buffer to 3.6% through funding costs alone.
Static price distance ignores how time and fee drag compress margin equity.
Funding payments directly consume available equity and move the liquidation point closer.
Price volatility converts fixed price distance into a probability of hitting maintenance margin over time.
Calculating how far from liquidation your position sits requires more than reading the price gap on an exchange interface. A static distance measured in dollars treats liquidation as a fixed wall, but leverage converts price volatility into a probability of hit over time.
When opening a perpetual futures contract, initial margin determines the starting distance to liquidation. At 20x leverage, you commit 5% of the total position value as initial collateral. If the venue requires a 0.5% maintenance margin, the position gets liquidated when losses consume 4.5% of the position value.
An exchange interface displays this as a fixed price level. If BTC trades at $60,000, a 4.5% decline sets liquidation at $57,300. This static calculation assumes equity remains constant until price moves. In live trading, holding costs and order fees alter that equity baseline continuously.
Worth knowing
Liquidations trigger based on the index price or mark price, not the last traded price on the order book. High order book volatility on a single venue will not trigger liquidation unless the underlying index benchmark moves.
Holding a perpetual contract introduces recurring cash flows in the form of funding rates. Funding is paid every eight hours between long and short traders to keep perpetual futures prices anchored to the spot market index.
When funding is positive, long position holders pay short position holders. That cash leaves the margin account directly, reducing total equity without any change in the spot price. As margin equity drops, the maintenance margin threshold stays fixed relative to position size, pulling the liquidation price closer to the current mark price.
The cost rate varies across trading venues for the exact same underlying asset.
| Venue | BTC 8h Funding Rate | BTC 24h Funding Drag | Futures Taker Fee |
|---|---|---|---|
| OKX | +0.0042% | 0.0126% | 0.050% |
| MEXC | +0.0057% | 0.0171% | 0.020% |
| Bitget | +0.0063% | 0.0189% | 0.030% |
| Bybit | +0.0100% | 0.0300% | 0.055% |
On Bybit, holding a long BTC position costs 0.0100% per 8-hour period, or 0.0300% per day. On OKX, that same position costs 0.0042% per period, or 0.0126% per day. Over extended holding periods, this funding spread directly alters how far from liquidation the position remains.
Consider a position to trace how funding payments compress distance to liquidation.
An account deposits $1,000 into a margin account and opens a $20,000 long BTC position at 20x leverage. Entry price is $60,000. The maintenance margin rate is 0.5%, requiring $100 in equity to keep the position open.
At entry:
If spot price stays flat at $60,000 for 30 days on Bybit with an average 8-hour funding rate of +0.0100%:
Without the price moving a single dollar, the buffer to liquidation shrinks from 4.5% to 3.6%. A market pull-back that would have left the position safe at entry now results in total loss of collateral.
Where this goes wrong
High leverage amplifies fee impact. A 0.055% taker fee on a $20,000 position costs $11 to enter and $11 to exit. That $22 total fee represents 2.2% of the initial $1,000 margin equity removed before funding or market price moves occur.
Distance to liquidation is a function of price volatility over time, not just price offset. An asset with high daily volatility has a high probability of touching a 4.5% liquidation threshold within a multi-day holding window even if the multi-week trend remains positive.
At 5x leverage, the required adverse move is 19.5% assuming a 0.5% maintenance margin. An asset rarely hits a 19.5% drawdown in normal trading conditions without structural trend shifts. At 20x leverage, that required move drops to 4.5%, which sits within typical single-day noise for assets like SOL or ZEC.
Holding a high-leverage position over longer horizons exposes the account to tail events. The probability of touching maintenance margin increases as holding duration extends, unless active risk adjustments replenish account collateral.
What to do instead
Calculate liquidation distance by subtracting expected cumulative funding costs and execution fees from initial margin equity before establishing high-leverage positions.
At entry, a 20x leveraged position sits approximately 4.5% away from liquidation, assuming a standard 0.5% maintenance margin requirement. Over time, recurring funding fees and trading costs consume collateral, bringing the liquidation price closer even if market prices do not move.
Positive funding rates require long position holders to pay short position holders every eight hours. These payments are deducted directly from account margin collateral, reducing total equity and shifting the liquidation price closer to the current mark price.
Based on current rates, OKX offers the lowest funding rate for holding long BTC perps at +0.0042% per 8-hour period. Bybit is the most expensive among listed venues at +0.0100% per 8-hour period.
Perpetual contracts settle funding payments directly against account equity every eight hours. As funding deductions reduce total collateral while position size stays fixed, available margin buffer shrinks and moves the liquidation price closer.