About this guide: I'm Lawrence, the writer behind supa.is. Between February and May 2026 I've published 150+ articles on supa.is across crypto and brokerage tooling — including 30+ Hyperliquid-specific guides (recent examples: Cross Margin vs Isolated Margin, Portfolio Margin Requirements, Funding Rate Calculator). The most-repeated reader question across that Hyperliquid archive is exactly *how to calculate liquidation price and maintenance margin*, which is why I'm publishing this standardized guide instead of answering one-off.

*Evidence: Logged-out mainnet public UI, captured and refreshed automatically each week. Official source.*
On Hyperliquid, your liquidation price is the line between a profitable trade and a wiped-out account. Because Hyperliquid operates on-chain, there's no customer support to call if you get rekt—you need to understand the math behind your maintenance margin to manage risk yourself.
In this guide, we will break down how Hyperliquid calculates maintenance margin, how to find your exact liquidation price, and provide a clear calculator formula so you can manage your leverage safely in 2026.
What is Maintenance Margin on Hyperliquid?
Before calculating your liquidation price, you must understand maintenance margin.
When you open a leveraged position on Hyperliquid, you deposit an initial margin. However, as the market moves against you, your equity decreases. The maintenance margin is the minimum amount of equity you must have in your account to keep the position open. If your equity falls below this threshold, your position is automatically liquidated.
Hyperliquid dynamically adjusts the maintenance margin based on the volatility of the asset and the size of your position. Highly volatile assets (like certain altcoins) require a higher maintenance margin percentage compared to stable assets (like BTC or ETH). Additionally, larger positions often face higher maintenance margin requirements to protect the platform's insurance fund.
How Hyperliquid Calculates Maintenance Margin
Hyperliquid uses a tiered system for maintenance margin. The formula generally follows this structure:
$$ \text{Maintenance Margin} = \text{Position Notional Value} \times \text{Maintenance Margin Rate} $$
The Maintenance Margin Rate is not a flat percentage. It is determined by:
- The Asset: BTC might have a 1% maintenance margin rate, while a volatile altcoin might have 3-5%.
- Position Size: As your position size grows, the maintenance margin rate increases. This is to prevent large traders from over-leveraging and causing systemic risk.
How Hyperliquid Calculates Liquidation Price
Your liquidation price is the specific market price at which your account equity equals your maintenance margin. If the market price hits this level, your position is closed, and your remaining equity is used to cover the maintenance margin requirement.
Like what you're reading? Try it yourself — this link supports ChartedTrader at no cost to you.
Trade on Hyperliquid →The Liquidation Price Formula
The exact formula Hyperliquid uses depends on whether you are going long or short.
For a Long Position: $$ \text{Liquidation Price} = \frac{\text{Entry Price} \times \text{Initial Margin} - \text{Maintenance Margin}}{\text{Position Size} - \text{Maintenance Margin Rate} \times \text{Position Size}} $$ For a Short Position: $$ \text{Liquidation Price} = \frac{\text{Entry Price} \times \text{Initial Margin} + \text{Maintenance Margin}}{\text{Position Size} - \text{Maintenance Margin Rate} \times \text{Position Size}} $$Where:
* Entry Price: The price at which you opened the position. * Initial Margin: The amount of capital you put up (in USD equivalent). * Position Size: The total notional value of your position (Entry Price Quantity). * Maintenance Margin Rate: The percentage required by Hyperliquid for that specific asset and size.Simplified Calculator Formula
While the exact formula can be complex, you can use a simplified version to estimate your liquidation price quickly:
For Longs: $$ \text{Liquidation Price} \approx \text{Entry Price} - \left( \frac{\text{Initial Margin} - \text{Maintenance Margin}}{\text{Position Size}} \right) $$ For Shorts: $$ \text{Liquidation Price} \approx \text{Entry Price} + \left( \frac{\text{Initial Margin} + \text{Maintenance Margin}}{\text{Position Size}} \right) $$Example Calculation
Let's say you want to open a long position on BTC on Hyperliquid with the following parameters:
* Initial Margin: $1,000 * Leverage: 10x * Position Size: $10,000 (10x $1,000) * Entry Price: $60,000 * Maintenance Margin Rate: 1% (for BTC at this size) * Maintenance Margin: $100 ($10,000 1%) Calculating the liquidation price for the long: $$ \text{Liquidation Price} = \frac{60,000 \times 1,000 - 100}{10,000 - (0.01 \times 10,000)} = \frac{60,000,000 - 100}{10,000 - 100} = \frac{59,999,900}{9,900} \approx \$60,606 $$The exact formula gets messy, so let's use the simplified logic that actually works for quick mental math:
$$ \text{Liquidation Price} = \text{Entry Price} - \left( \frac{\text{Initial Margin} - \text{Maintenance Margin}}{\text{Position Size}} \right) \times \text{Entry Price} $$ $$ \text{Liquidation Price} = 60,000 - \left( \frac{1,000 - 100}{10,000} \right) \times 60,000 $$ $$ \text{Liquidation Price} = 60,000 - (0.09 \times 60,000) = 60,000 - 5,400 = \$54,600 $$So, if BTC drops to $54,600, your position will be liquidated. This means you can afford a 9% drop in price before losing your entire $1,000.
Cross Margin vs. Isolated Margin: How It Affects Liquidation
Your choice of margin mode drastically changes your liquidation price. Hyperliquid supports both Cross Margin and Isolated Margin.
Isolated Margin
In isolated margin, your liquidation price is calculated based *only* on the margin allocated to that specific position. If the position is liquidated, you only lose the isolated margin. Your other funds in the account are safe. * Liquidation Price: Closer to your entry price because the margin buffer is smaller. * Best for: Traders who want to strictly limit their maximum loss on a single trade.Cross Margin
In cross margin, your entire account balance is used as collateral for the position. Your liquidation price is pushed further away from your entry price because the system can draw from your other funds to keep the position alive. * Liquidation Price: Further from your entry price, giving you more breathing room. * Best for: Traders who want to avoid liquidation during temporary volatility spikes, but risk losing their entire account balance if the market moves severely against them.To learn more about the differences, check out our guide on Cross Margin vs Isolated Margin on Hyperliquid.
How to Find Your Liquidation Price on Hyperliquid
You don't need to do the math manually every time. Hyperliquid provides the liquidation price directly in the trading interface.
- Open the Trade Panel: Navigate to the perpetual futures market for the asset you want to trade.
- Enter Your Order Details: Select your leverage, enter the amount, and choose your margin mode (Cross or Isolated).
- Check the Order Preview: Before you click "Buy" or "Sell", look at the bottom of the order panel. Hyperliquid will display:
Always double-check this number before confirming your order. If the liquidation price is too close to the current market price, consider reducing your leverage or increasing your initial margin.
How to Avoid Liquidation on Hyperliquid
Knowing the math is useless if you don't manage your risk. Here is how to keep your positions alive.
1. Use Stop-Loss Orders
Never rely on your liquidation price as your exit strategy. A stop-loss order will close your position at a predetermined price, allowing you to cut losses before they wipe out your margin. Hyperliquid supports limit stop-loss orders, which you can set when opening a position or adding them to an existing one.2. Keep a Healthy Margin Ratio
Aim to keep your margin ratio well above the maintenance margin. Aim to keep your margin ratio well above the maintenance margin—ideally, never let your equity drop below 2x the requirement. This gives you a buffer against sudden wicks that might trigger a liquidation.3. Monitor Funding Rates
If you are holding a leveraged position for a long time, funding rates can eat into your margin. If the funding rate is negative and you are long, you pay the funding. Over time, this reduces your initial margin, pushing your liquidation price closer to the current market price. Check our guide on Hyperliquid Funding Rate History & Cost Calculator to understand how much funding can impact your PnL.4. Avoid Max Leverage
Hyperliquid allows high leverage on many assets, but using max leverage is a fast track to liquidation. A 100x leverage position means a 1% move against you wipes out your entire account. Stick to lower leverage (5x-10x) to give your trades room to breathe.5. Understand Portfolio Margin
If you are a larger trader, Hyperliquid offers portfolio margin, which calculates margin requirements based on the overall risk of your portfolio rather than individual positions. This can significantly lower your maintenance margin requirements and push your liquidation price further away. Read our guide on Hyperliquid Portfolio Margin to see if you qualify.FAQ
How do I calculate liquidation price on Hyperliquid manually?
You can use the formula:Liquidation Price = Entry Price - ((Initial Margin - Maintenance Margin) / Position Size) * Entry Price for long positions. However, it is highly recommended to use the liquidation price displayed directly in the Hyperliquid trading interface before placing your order.
What happens if I get liquidated on Hyperliquid?
If your account equity falls below the maintenance margin, your position is automatically closed. You lose the initial margin allocated to that position. In severe cases where the liquidation price is breached quickly, you might also incur a liquidation penalty fee (usually 0.1% to 0.5% of the position size), which is deducted from your remaining equity.Does Hyperliquid have auto-deleveraging (ADL)?
Yes, if a position cannot be liquidated by the insurance fund, Hyperliquid uses auto-deleveraging. This means the most profitable long positions (for a short liquidation) will have their positions partially closed to cover the deficit. This is rare but important to understand for high-leverage, high-volatility trades.Can I add margin to an existing position to avoid liquidation?
Yes. If you are using cross margin, your entire account balance is already acting as margin. If you are using isolated margin, you can add more funds to the isolated margin of that specific position, which will push your liquidation price further away from the current market price.How often does Hyperliquid update maintenance margin rates?
Maintenance margin rates are updated dynamically based on market volatility and position size. During periods of extreme volatility, Hyperliquid may increase maintenance margin requirements to protect the platform. Always check the current rates in the trading interface.Risk Warning
Risk Warning: Crypto trading involves substantial risk of loss. Never invest more than you can afford to lose. This is not financial advice.
If you are ready to start trading on Hyperliquid with a clear understanding of your risk, you can sign up using our referral link to get a 4% fee discount on your first $25M in trading volume.
Sign up on Hyperliquid