Calculate the liquidation price of a crypto cross-margin position from balance, position size and entry price, or an isolated position from leverage.

All balances and notionals use USD; prices use USD per underlying unit.

Collateral available at entry, excluding this positionโ€™s unrealized P&L.

Position size in USD: quantity ร— entry price (margin ร— leverage).

Illustrative default 0.5%; enter the applicable exchange rate. Presets are not verified coin-specific tiers.

Optional settings


Calculator Functions

FunctionWhat it doesWhat it requires
Cross โ€” liquidation priceFinds the price at which a single cross-margin position reaches its maintenance marginRequires collateral balance, position notional at entry and entry price
Cross โ€” collateral balanceFinds the collateral that puts liquidation at a chosen priceRequires position notional at entry, entry price and liquidation price
Cross โ€” entry notionalFinds the position size in USD that puts liquidation at a chosen priceRequires collateral balance, entry price and liquidation price
Cross โ€” entry priceFinds the entry price that gives a chosen liquidation priceRequires collateral balance, position notional at entry and liquidation price
Isolated โ€” liquidation priceFinds the liquidation price of an isolated-margin position from its leverageRequires entry price and leverage
Isolated โ€” leverageFinds the leverage that puts liquidation at a chosen priceRequires entry price and liquidation price
Isolated โ€” entry priceFinds the entry price that gives a chosen liquidation price at a set leverageRequires leverage and liquidation price
Cross โ€” additional collateral for targetFinds the extra collateral that moves liquidation out to a target priceRequires collateral balance, position notional at entry, entry price and target price

Every function also asks for the position direction, Long or Short, and a maintenance margin rate. The rate starts at 0.5%, and the 0.5% and 1.0% presets are examples, not any exchangeโ€™s tier for a particular coin. Balances and notionals are in USD and prices are in USD per unit.

Cross Margin Liquidation Formulas

LPlong = E ร— (1 + m โˆ’ B รท P)
LPshort = E ร— (1 โˆ’ m + B รท P)
LPLiquidation price (USD per unit)
EEntry price (USD per unit)
mMaintenance margin rate as a decimal: 0.5% = 0.005
BCollateral balance at entry, without this positionโ€™s unrealized profit or loss (USD)
PPosition notional at entry: quantity ร— entry price (USD)

The position holds P รท E units, so a long is worth B + (P รท E) ร— (price โˆ’ E) and a short B + (P รท E) ร— (E โˆ’ price). The formulas give the price where that equity falls to the maintenance margin, taken here as m ร— P and held fixed at the entry notional.

Exchanges define maintenance margin in a similar way, as position notional times a maintenance margin rate, but they subtract a maintenance amount and move both figures up in tiers as the position grows [1]. The formulas here use one rate and no maintenance amount, so they follow the same idea without reproducing any exchangeโ€™s number.

Cross โ€” liquidation price

A $4,000 long entered at $400 with $100 of collateral and a 0.5% rate liquidates at 400 ร— (1 + 0.005 โˆ’ 100 รท 4,000) = $392. The same position short liquidates at 400 ร— (1 โˆ’ 0.005 + 0.025) = $408. When B รท P is at or below m the position is already at its maintenance threshold at entry, and the result says so. A long with enough collateral to survive a price of zero shows โ€œNo positive liquidation priceโ€.

Cross โ€” collateral balance

B = P ร— (1 + m โˆ’ LP รท E)

This is the long form; a short uses B = P ร— (LP รท E โˆ’ 1 + m). To put liquidation at $392 on a $4,000 long entered at $400, the collateral needed is 4,000 ร— (1.005 โˆ’ 0.98) = $100. The chosen price has to be on the losing side of entry: at or below it for a long, at or above it for a short.

Cross โ€” entry notional

P = B รท (1 + m โˆ’ LP รท E)

With $100 of collateral, a $400 entry and liquidation wanted at $392, the largest long is 100 รท 0.025 = $4,000 of notional, which is 10 units. A short divides by (LP รท E โˆ’ 1 + m) instead.

Cross โ€” entry price

E = LP รท (1 + m โˆ’ B รท P)

A long with $100 behind $4,000 of notional and liquidation at $392 was entered at 392 รท 0.98 = $400. For a short the divisor is (1 โˆ’ m + B รท P).

Isolated โ€” liquidation price

LPlong = E ร— (1 + m โˆ’ 1 รท L)

Isolated margin sets aside P รท L for the position, where L is the leverage, so B รท P becomes 1 รท L. At 10ร— and a $400 entry a long liquidates at 400 ร— (1.005 โˆ’ 0.1) = $362 and a short at 400 ร— (0.995 + 0.1) = $438. Margin added to the position later is not counted.

Isolated โ€” leverage

L = 1 รท (1 + m โˆ’ LP รท E)

A long entered at $400 that should liquidate at $362 needs 1 รท (1.005 โˆ’ 0.905) = 10ร—. A short that should liquidate at $438 gives the same 10ร— from 1 รท (LP รท E โˆ’ 1 + m).

Isolated โ€” entry price

E = LP รท (1 + m โˆ’ 1 รท L)

At 10ร— with liquidation at $362, a long was entered at 362 รท 0.905 = $400.

Cross โ€” additional collateral for target

Add = max(0, Breq โˆ’ B)

Breq is the collateral balance formula evaluated at the target price. Moving a $4,000 long entered at $400 from $392 out to $380 needs 4,000 ร— (1.005 โˆ’ 0.95) = $220 in total, so $120 more than the $100 already there. The result is the bare threshold with no cushion, and it is $0 when the balance already covers the target.

Limits of This Estimate

  • The model covers one position. A real cross-margin liquidation price also depends on the maintenance margin and unrealized profit or loss of every other contract sharing the wallet [1], so it moves as those positions move.
  • Exchange maintenance margin rates and maintenance amounts change with position size, and exchange formulas work from the mark price [1]. Fees and funding payments are left out. The exchange rules described here are as published on December 31, 2025.
  • Leverage amplifies losses. When the market moves against a margined position the trader must add margin or close out, and can lose more than the initial investment [2].
  • These estimates are based on the best available data and estimations. Use the liquidation price shown by the exchange for any real position.

Sources