Find the liquidation price (liq price) of any Hyperliquid perp, long or short. Pick the market, and the entry starts at its current price. In isolated margin give your leverage; in cross margin give your account value. You get the liquidation price, how far price can move before it, and where it sits against the current price, using Hyperliquid's own formula and the market's maintenance margin.
Also: Hyperliquid PnL calculatorThe liquidation formula, explainedAll Hyperliquid calculators
BTC about $80,716 (price on Oct 15) · up to 40x · funding 0.00125%/h
Isolated: only the margin you put on this position backs it.
1x to 40x, the Hyperliquid cap for BTC.
Optional in isolated mode: the liquidation price does not depend on size. Fill it in to see the margin.
Percent of the position’s value. Leave blank for Hyperliquid’s rate for BTC: half the initial margin at its 40x cap, so 1.25%. Above the asset’s first notional break the rate doubles; enter 2.50 for a position that size.
BTC recently at $80,716.
BTC allows up to 40x on Hyperliquid.
$10,000.00 at 10x.
Half the initial margin at 40x, for the first margin tier.
Hyperliquid liquidates a position when account equity falls below the maintenance margin. Its published rule is liq = price − side × margin_available / size / (1 − l × side), with side = +1 for a long and −1 for a short, margin_available = isolated margin − maintenance margin required, and l the maintenance-margin rate. For an isolated position opened at entry with leverage L the size cancels and it reduces to entry × (1 − 1/L) / (1 − l) for a long and entry × (1 + 1/L) / (1 + l) for a short.
The maintenance margin is half the initial margin at the asset’s maximum leverage, not at the leverage you chose: l = 1 / (2 × max leverage): 1.25 % for BTC (40x), 2 % for ETH (25x), 2.5 % for SOL and XRP (20x), 5 % for 10x assets. Picking the asset sets the rate; the leverage field is capped at the asset’s max. Worked example, BTC long $50,000 at 10x: 50,000 × 0.9 / 0.9875 = $45,569.62, an 8.86 % cushion. The rate steps up above the asset’s first notional break ($150M for BTC); use the maintenance-margin override under Advanced for a position that size. Max leverages come from Hyperliquid’s meta endpoint, and the entry starts at the market’s latest price.
In cross margin the whole account backs the position, so margin_available = account value − maintenance margin required, and Hyperliquid notes that the leverage setting does not change the liquidation price. With one open position of size N (USD at entry) on an account worth A, the size cancels again: entry × (1 − A/N) / (1 − l) for a long and entry × (1 + A/N) / (1 + l) for a short. It is the isolated formula with the whole account as margin. BTC long, $10,000 at $50,000 on a $2,500 account: $37,974.68, a 24.05 % move. Other open cross positions share the account and need their own maintenance margin, so with several open the real price is closer than this.
Cushion percentage is the price move (down for a long, up for a short) that liquidates the position. Use it to sanity-check leverage against expected volatility: a 3.8 % cushion (BTC at 20x) against an asset that swings 8 % intraday is a setup designed to liquidate. A 1x long has no liquidation price: the mark would have to reach $0.
Keel is a strategy builder for Hyperliquid. Describe an idea, backtest it with fees, slippage and funding, and run it live on Hyperliquid’s crypto perps. Start free, and connect a wallet when you’re ready to trade.
Hyperliquid’s rule is liq = price − side × margin_available / position_size / (1 − l × side), where l is the maintenance-margin rate (half the initial margin at the asset’s maximum leverage) and margin_available is the margin backing the position minus the maintenance margin required. For an isolated position opened at entry with leverage L that reduces to: long liq = entry × (1 − 1/L) / (1 − l), short liq = entry × (1 + 1/L) / (1 + l). BTC long $50,000 at 10x: l = 1/(2 × 40) = 1.25 %, so liq = 50,000 × 0.9 / 0.9875 = $45,569.62, an 8.86 % cushion.
Maintenance margin is the minimum equity Hyperliquid requires you to hold against a position before liquidating. On Hyperliquid it is half the initial margin at the asset’s max leverage, not at the leverage you chose, so it depends on the asset: 1.25 % for BTC (40x), 2 % for ETH (25x), 2.5 % for SOL and XRP (20x), 5 % for 10x assets such as HYPE, DOGE, AVAX and BNB. The calculator applies that rate when you pick the asset. Above the asset’s first notional break ($150M for BTC, $100M ETH, $70M SOL, $40M XRP, $20M or $3M for the alt groups) the max leverage halves and the rate doubles; enter that rate in the override field for a position that size.
Higher leverage means a smaller move against you exhausts your margin, while the maintenance margin stays fixed by the asset. For a BTC long the cushion is 18.99 % at 5x, 8.86 % at 10x, 3.80 % at 20x and 1.27 % at 40x (BTC’s max). A 1x long has no liquidation price at all: its margin covers a move to $0. This calculator surfaces both the absolute price and the cushion percentage so you can size leverage relative to expected volatility.
Yes. Switch to Cross and enter your account value. Under cross margin the whole account backs the position, so Hyperliquid uses account value minus maintenance margin in the same formula, and the leverage setting does not change the liquidation price. For one open position that gives long liq = entry × (1 − A/N) / (1 − l) and short liq = entry × (1 + A/N) / (1 + l), where A is the account value and N the position size in USD. BTC long $10,000 at $50,000 on a $2,500 account: 50,000 × 0.75 / 0.9875 = $37,974.68, a 24.05 % move, against 8.86 % for the same trade on 10x isolated. Other open cross positions share the account and add their own maintenance margin, so with more than one position open the real price is closer than this.
Build a strategy in Keel that includes explicit stop-loss orders sized relative to liquidation distance. Keel places the stops automatically on every fill and re-prices them when the position changes, which is tighter risk control than relying on the liquidation engine.
The formula behind this calculator, worked examples, the margin-tier table, and what happens at liquidation: market order, backstop, ADL.
Compute gross PnL, funding cost, and net PnL for any HL perp trade. The funding-cost layer is the line every other calculator skips.
Your new average entry and liquidation price after adding to a perp position.
Live ranking of HL perps by current funding rate, annualized, with 7d persistence. Find pairs paying the most carry right now.
Cross-sectional screener for HL perps. Filter by momentum, funding, volume, breakout, and regime metrics across 200+ pairs.