Learn · Crypto futures

Crypto Liquidation Price Formula: Long and Short Examples

Jump to sections

Short answer

Liquidation starts when the money supporting your position reaches the exchange’s minimum requirement. It usually happens before that money is completely gone. Entry price, position size, margin, maintenance requirements and closing costs all affect the result; the calculator below shows how they fit together.

Visit Kraken Futures

Kraken Futures publishes separate margin and liquidation rules for its contract families. Use it to compare a contract-specific liquidation estimate with the simplified linear model here, rather than applying one formula to every margin currency.

The liquidation price formula starts with the money still supporting the trade

Take a linear contract: each one-dollar price change produces a one-dollar profit or loss per coin of exposure. The liquidation calculation asks how far that price can move before the remaining support becomes too small. It does not ask when every dollar has disappeared. Maintenance margin is the amount that must still remain while the trade is open.

Four inputs you can recognize on a position ticket

Use the actual average entry, the filled coin quantity, the net margin assigned to this position, and its applicable maintenance rate. An order for 1 BTC that fills only 0.6 BTC is a 0.6 BTC position. An account with 6,000 USDT in total is not necessarily a position with 6,000 USDT assigned. Those two substitutions are enough to make an otherwise correct equation give a meaningless answer.

The worked positionTeaching assumptions for a linear isolated contract; these are not a current exchange quote or margin tier.Scroll sideways for all columns.
InputValueMeaning
Entry, E60,000 USDT/BTCAverage filled price
Quantity, q1 BTCCoin exposure, not the number of arbitrary contract units
Margin, M6,000 USDTNet support after any already-paid opening costs
Maintenance rate, m0.5% = 0.005Applied to position value at the trial price
Other adjustmentsZero initiallyNo funding debit, closing reserve or tier deduction

At a trial price P, the long has equity M + q × (P − E). Our maintenance requirement is q × P × m. Put those expressions equal and solve for P. The price appears on both sides because, in this model, the value on which maintenance is charged changes as the market changes.

Linear isolated boundary, before extra adjustments

Long: P = (q × E − M) ÷ [q × (1 − m)]

Short: P = (q × E + M) ÷ [q × (1 + m)]

Maintenance is measured at the candidate price. Fixed entry-value maintenance, inverse contracts and portfolio risk models need different equations.

If initial margin is exactly q × E ÷ leverage, you can substitute that expression for M. If you later add or remove collateral, use the resulting margin amount instead of pretending the opening leverage still describes it. The formula is most useful when every number corresponds to an observable field, rather than a remembered slider setting.

Both sides use the same settlement unit. For BTC/USDT, multiply BTC by USDT per BTC to obtain USDT. A BTC-margined inverse position has a different payoff and cannot be repaired by simply changing the currency label. The unit check is a quick way to catch a wrong calculator before relying on its result.

A Bitcoin long at 60,000: reconcile the 54,271.36 result

Substitute the example into the balance equation: 6,000 + P − 60,000 = 0.005 × P. Move the price-dependent maintenance to the left: 0.995 × P = 54,000. Dividing gives 54,271.3568. Rounding the displayed estimate to two decimals gives 54,271.36 USDT per BTC.

Check the answer by putting it back into both balances. The position has lost 5,728.6432 USDT, leaving 271.3568 of equity. Its value is now 54,271.3568, and half a percent of that is also 271.3568. The two sides meet. That reconciliation is more informative than a liquidation number shown without its supporting balances.

Approaching the boundarySame 1 BTC long and 6,000 USDT allocation throughout; fees and funding excluded.Scroll sideways for all columns.
BTC markPosition equityMaintenanceDifference
55,0001,000275725 above requirement
54,300300271.5028.50 above requirement
54,271.36271.36271.36Approximately equal
54,0000270Already below requirement

What the quick leverage shortcut leaves out

At 10×, one divided by leverage is 10%. Subtracting 10% from 60,000 gives 54,000, the zero-equity point in this simplified example. It cannot also be the maintenance boundary when a positive amount must remain. A more refined shortcut adds the maintenance percentage to the entry-price calculation and gives 54,300. That is close here, but still treats the maintenance base differently.

The 28.64 difference between 54,300 and 54,271.36 is small compared with Bitcoin’s price, yet it can matter if a protective order is placed nearby. More importantly, a close approximation in this one case does not validate it for another leverage, maintenance rate or margin system. Compare the assumptions before comparing decimal places.

A Bitcoin position loses supporting equity until it reaches a maintenance line above zero
The trigger boundary leaves maintenance equity; exhausting the allocation is a later point in the simplified price model.

Keep full precision during the calculation, then show the estimate at readable precision. A venue may round its display to a permitted tick while evaluating the underlying margin condition more precisely.

Short liquidation, added margin and funding: change one input at a time

For the corresponding short, adverse movement is upward. Its equity is 6,000 + 60,000 − P. Set this equal to 0.005 × P and solve: 66,000 ÷ 1.005 = 65,671.64. Equity and maintenance meet at about 328.36 USDT. The short and long distances are not exactly symmetric because the short’s position value grows during the adverse move.

Now keep the quantity and entry fixed. Adding 1,000 USDT of margin moves the modeled long boundary down to 53,266.33; it moves the short boundary up to 66,666.67. No BTC has been bought or sold by that addition. You have placed more collateral behind the same price exposure, so the position can absorb a larger adverse cash result before reaching maintenance.

Reproduce the boundary, then change its support1 BTC · entry 60,000 USDT · 0.5% maintenance at the candidate price · no tier deduction.
Modeled boundary
54,271.36 USDT/BTC
Equity = maintenance
271.36 USDT

A fixed adjustment changes support; the quantity stays at 1 BTC. This is an isolated teaching model, not an exchange account estimate.

A debit matters only if it reduces the support being modeled

Suppose 30 USDT of paid funding is deducted from this isolated allocation. Support falls from 6,000 to 5,970. If a separate fixed 20 USDT must also be held for closing costs, only 5,950 remains available before the maintenance test. Our long result becomes 54,321.61 and the short result becomes 65,621.89. Both move toward entry.

The simulator treats those adjustments as a single fixed deduction so the relationship stays visible. Real venues may debit funding from a different balance or calculate a closing reserve from a price-dependent formula. In that case, enter the amount actually affecting the position and use the venue’s rule for the reserve. Do not subtract the same fee once from margin and again as an extra adjustment.

Receiving funding has the opposite effect only when the credit contributes to the support used in the test. A credit sitting elsewhere in an account need not rescue an isolated position. The account ledger tells you where the cash went; the funding rate alone does not tell you which liquidation estimate should move.

The adjusted equation and its assumptions

Let C be fixed debits and a fixed closing reserve that have not already been removed from M. Let D be a maintenance-tier deduction in the same settlement currency. Solve M − C + q(P − E) = qPm − D for a long, or M − C + q(E − P) = qPm − D for a short.

Long: P = (qE − M + C − D) ÷ [q(1 − m)]. Short: P = (qE + M − C + D) ÷ [q(1 + m)]. These expressions hold within a valid maintenance tier. A reserve proportional to P belongs in the price-dependent part of the equation, not in a fixed C.

Maintenance tiers can change the answer even when leverage stays the same

A larger position may enter a higher maintenance tier. The applicable rate and any tier deduction must be used together. The deduction offsets maintenance already accounted for in earlier bands; it is not cash credited to the wallet or a discount that you can withdraw.

A tier calculation with an internally consistent solutionTeaching schedule: 0.5% on the first 50,000 USDT and 1% above it. One BTC long at 60,000 with 6,000 margin; no other adjustments.Scroll sideways for all columns.
StepResult
Maintenance at 60,000250 + 100 = 350
Equivalent upper-tier expression1% × value − 250 deduction
Candidate liquidation price(60,000 − 6,000 − 250) ÷ 0.99 = 54,292.93
Equity and maintenance thereBoth approximately 292.93
Tier check54,292.93 remains above the 50,000 boundary

If the candidate price falls outside the tier used in the equation, solve again with the tier that contains the resulting value. For shorts, rising prices can move a position into a higher band without adding contracts.

Bybit values the position at mark and can include estimated closing fees in the displayed requirement. Separate those fees and any open-order reservations before comparing that panel with a formula for one filled position.

Compare tier limits before increasing contract quantity

Why does your exchange show a different liquidation price?

Start with the largest possible mismatch: the product and margin mode. A cross account, an inverse payoff or a multi-asset wallet is not the isolated linear example above. Once those match, work through the inputs in the order that money actually entered and left the position.

A useful reconciliation orderCompare the filled position after entry; an unfilled order preview can change with execution.Scroll sideways for all columns.
MismatchWhat to compare
Entry or quantityAverage of all fills and the coin exposure represented by the contracts
Assigned marginNet allocation, including additions, removals and already-paid costs
MaintenanceCorrect tier, price base and deduction
Fee allowanceWhether the displayed requirement already contains a closing reserve
Funding or settlementWhich balance receives each debit or credit
Shared accountOther positions, collateral valuation and pending commitments

For a partially filled order, use the fill average rather than the limit you originally requested. If you add to an existing position at a different price, both the quantity and average entry change. Replacing just the quantity while retaining the old average creates a discrepancy that looks like a margin-rule issue but is really a fill-history issue.

Bybit’s current UTA help page publishes separate isolated formulas for USDT, USDC and inverse contracts. Its USDC section also explains how session settlement updates the average entry and position accounting. A reset entry can therefore be legitimate. Compare the post-settlement balances rather than combining today’s entry with yesterday’s unrealized result.

Keep a compact record of the inputs at the same moment: contract name, mode, quantity, average entry, assigned support, tier and displayed estimate. Comparing a screenshot from before a funding payment with a wallet balance after it can manufacture a contradiction. A useful record reconciles one state of the account; it does not need a folder full of unrelated charts.

If you still cannot reconcile the result, the unresolved item should be specific: for example, whether the closing reserve is already included in maintenance. That is a question the product documentation or support can answer. “The formula is wrong” is much less actionable than identifying the exact balance or convention that differs.

Cross-margin liquidation cannot be reduced to one coin price without extra assumptions

A cross account combines several moving values. To quote a single BTC liquidation price while an ETH position is also open, a calculator must decide what happens to ETH and every collateral asset along the way. Holding them constant is a scenario, not a prediction about a stressed market.

Consider an account with 2,000 USDT of equity and a combined maintenance requirement of 300. The current surplus is 1,700. If another position loses 800 while BTC stays unchanged, that surplus falls to 900 even before considering any change in maintenance. The BTC chart has not moved, but there is less shared support behind the trade.

Kraken’s account-wide test illustrates the collateral problem

Kraken Multi-M values non-USD collateral in dollars with haircuts. Its documentation distinguishes an isolated-position test, cross liquidation that preserves isolated allocations, and an account-wide test. A fall in collateral value can therefore matter even when a particular contract’s own price result is unchanged. Isolated funding payments are documented as coming from the general wallet balance, another reason not to apply one assumed funding path everywhere.

Imagine supporting an ETH contract with BTC collateral. An ETH-only calculation can stay constant while the dollar value of BTC falls. The missing variable is the support asset, not the ETH contract quantity. To understand the account boundary you need a collateral-price scenario as well as a contract-price scenario.

Hyperliquid similarly explains that an open position’s displayed estimate can change with funding and, for cross margin, unrealized results elsewhere. Its documented formula also depends on the margin tier at the liquidation price. This makes the estimate useful for the current account state, but not a fixed promise that survives later deposits, withdrawals or new trades.

See which balances isolated and cross positions actually share

Does closing half a position move its liquidation price?

After a partial close, recalculate with the remaining quantity and equity. Realized P&L, execution costs and a lower maintenance tier can all change the new boundary. Keeping the old entry price does not justify keeping the old liquidation estimate.

Work through the remaining balance after a forced reduction

Liquidation price, bankruptcy price and closing price are different numbers

The boundary calculated above identifies a maintenance condition. It does not forecast the average price at which an exchange can close the position. The mark used for the risk test and the bids or offers available for execution serve different purposes.

In the simple long example, zero equity occurs at 54,000, whereas maintenance is reached around 54,271.36. Calling both values “the liquidation price” hides the buffer between them. An actual venue’s bankruptcy calculation can include additional accounting rules; use its definition when interpreting an account statement.

Hyperliquid describes an initial attempt to close through the order book, followed by backstop treatment if support deteriorates sufficiently. This distinction means the result of the process depends on execution and the remaining collateral, not just the first mark that crossed a threshold. It is one reason a liquidation record may contain several prices rather than one clean number.

A protective stop belongs earlier in the trading plan. Setting it at the displayed liquidation estimate gives the engine and the order little room to behave differently. The next guide examines order triggers and fills; changing the formula here cannot make an exit order guaranteed.

Check whether a stop can execute before the liquidation boundary

Questions about reconciling liquidation estimates

Why did a 10× long liquidate before the coin fell 10%?

A 10% move would consume the opening margin in a cost-free linear example. The position must still retain maintenance support, so the trigger normally comes earlier. Fees, funding and a different assigned balance can shorten the distance further.

Can the liquidation estimate move when I withdraw money?

Yes, if the withdrawal removes eligible support from the relevant collateral pool. A transfer out of unrelated funds need not affect an isolated allocation. Compare which balance actually decreased before attributing the movement to the market.

Does a blank liquidation price mean the position cannot be liquidated?

No. A blank field may reflect a display limitation, a model without a positive boundary under current assumptions, or an account-level risk system. The account still has maintenance requirements. Find the applicable risk measure rather than treating an empty field as protection.

Why does the price preview change after my market order fills?

The final quantity and average execution price are then known. Before execution, the preview must estimate them and may assume enough collateral will be supplied. Compare the filled position, especially if the market moved or only part of the order executed.

Can I use the same formula for BTCUSD inverse futures?

Not this linear formula. Inverse contracts commonly express contract value and profit in different units from a USDT-settled position. Start with the inverse payoff and its margin currency, or use the exchange’s contract-specific calculator.

How much margin would move the boundary to a chosen price?

Within this model and with no adjustments, a long requires M = q × [E − P × (1 − m)]; a short requires M = q × [P × (1 + m) − E]. Recheck the tier and costs at that target. This calculates collateral, not whether accepting that much loss is sensible.

Sources and research 4 source references

Official documentation reviewed on 7 October 2026. All prices and tier schedules in the worked examples are teaching inputs. The interactive model solves equity equal to maintenance at the candidate price for one linear isolated position, with fixed debits; it does not reproduce Kraken, Bybit or Hyperliquid account engines. Full-precision balances were checked independently. The primary scope excludes inverse payoffs and portfolio margin; no live order or authenticated account was used.

Evidence by section

Source register and access

  1. Bybit: UTA liquidation process and contract-specific formulasLink checked · Reviewed 7 Oct 2026 · Product rule · next editorial check due 2027-01-05
  2. Bybit: USDT maintenance tiers, deductions and closing reserveLink checked · Reviewed 7 Oct 2026 · Product rule · next editorial check due 2027-01-05
  3. Kraken: Managing margin and liquidations in multi-collateral tradingLink checked · Reviewed 7 Oct 2026 · Product rule · next editorial check due 2027-01-05
  4. Hyperliquid Docs: LiquidationsLink checked · Reviewed 7 Oct 2026 · Product rule · next editorial check due 2027-01-05