Skip to main content
Terminal Features AI Research Spot vs Futures
Launch Terminal
Free tool · Hyperliquid perps

Hyperliquid position size calculator

Work out how large a Hyperliquid trade can be for the loss you accept, then check that your stop sits before the liquidation price, using Hyperliquid’s own margin rule.

Written and checked by the CryptoBolt founder · Margin and funding rules checked against Hyperliquid’s docs on November 20, 2026 · How we build and check our tools

0.0385 units
Size for a $50.00 loss if your stop fills (stop is 2.00% from entry)
$50.00Amount at risk
$2,500.00Position value (notional)
$250.00 at 10xInitial margin needed
1.25%Maintenance margin rate
$59,240.51Estimated liquidation price (isolated)
4.4× your stop distanceLiquidation distance vs stop distance
Pay $0.75Funding over your holding time

Estimate for an isolated position using Hyperliquid’s published margin rules. It ignores trading fees, slippage, margin tiers for very large positions, and cross-margin effects, and the exchange liquidates on its own mark price. Always confirm the liquidation price shown in the Hyperliquid app. Educational tool, not financial advice. Practice the sizing with virtual funds →

How this calculator works

It combines the standard risk-based sizing formula with the margin rules Hyperliquid publishes for its perpetual futures:

The liquidation formula is the one in Hyperliquid’s liquidation docs. The maintenance margin depends on the asset: it runs from about 1.25% on 40x assets up to about 16.7% on 3x assets.

Asset max leverageMaintenance margin rateInitial margin at max leverage
3x16.67%33.33%
5x10.00%20.00%
10x5.00%10.00%
20x2.50%5.00%
25x2.00%4.00%
40x1.25%2.50%

Worked example

Account of $5,000, risking 1%, long an asset with 40x max leverage at $65,000 with a stop at $63,700, using 10x leverage:

The same trade at different leverage settings shows why the stop must come first. The position and the $50 loss at the stop never change; only the margin and the liquidation price do:

Leverage you setMargin lockedLiquidation distanceLiquidation priceStop ($63,700) hits first?
3x$833.3332.49%$43,881.86Yes
5x$500.0018.99%$52,658.23Yes
10x$250.008.86%$59,240.51Yes
20x$125.003.80%$62,531.65Yes
25x$100.002.78%$63,189.87Yes
40x$62.501.27%$64,177.22No, liquidated first

At 40x the liquidation price is closer than the stop, so the exchange would close the position before your stop could trigger.

Why your stop must come before liquidation

When equity drops below the maintenance margin, Hyperliquid first tries to close the whole position with market orders on the book, and anything left over stays with you. If equity falls below two thirds of the maintenance margin before that succeeds, a backstop liquidation hands the position to the liquidator vault, and the maintenance margin is not returned to you. Positions above 100,000 USDC are liquidated in 20% slices with a 30-second cooldown. Details are in Hyperliquid’s docs. A stop-loss that triggers earlier avoids all of this.

Isolated versus cross margin

For isolated positions the liquidation price depends on the leverage you set, because it decides how much margin is allocated. For cross positions the liquidation price does not depend on the leverage setting; a lower setting just uses more of your collateral, and your whole account value and other open positions feed into it. This calculator models isolated margin, so treat its liquidation price as indicative on a cross account.

Funding is charged hourly

Hyperliquid computes an 8-hour funding rate and pays one eighth of it every hour, with a cap of 4% per hour. The interest component is fixed at 0.01% per 8 hours, which is 0.00125% per hour. That is the default hourly rate in the calculator, so the funding figure is the floor in calm markets, not a forecast. See the Hyperliquid funding docs for the premium formula, and use the funding fee calculator to model longer holds.

What this calculator does not model

To judge how likely a given liquidation level is to be reached, use the liquidation probability calculator. For the account-level view of how a risk percentage compounds over many trades, use the risk of ruin calculator, and for spot or Binance-style sizing use the general position size calculator.

FAQ

Hyperliquid position size FAQ

How do I calculate position size on Hyperliquid?

Risk amount = balance × risk %. Position size in units = risk amount ÷ the distance between your entry and your stop-loss. Margin needed = position value ÷ leverage. Leverage does not change how much you lose at the stop, only how much margin you lock up and how close liquidation sits.

What is the maintenance margin on Hyperliquid?

Hyperliquid sets the maintenance margin at half of the initial margin at the asset's max leverage. That is about 1.25% for a 40x asset and about 16.7% for a 3x asset, and it can be higher for very large positions that fall into margin tiers.

Does a higher leverage setting make me lose more at my stop?

No. If your stop fills, the loss is the position size times the stop distance, whatever leverage you chose. Higher leverage locks less margin and moves the liquidation price closer, which is the real danger: a stop beyond the liquidation price never triggers.

How often does Hyperliquid charge funding?

Every hour. Hyperliquid computes an 8-hour rate and pays one eighth of it each hour. Funding moves between longs and shorts and is capped at 4% per hour. The calculator lets you enter your own hourly rate and holding time.

Is the liquidation price on this page exact?

No, it is an estimate for an isolated position using the documented formula. The exchange liquidates on its mark price, may apply margin tiers on large positions, and accounts for funding and your other positions on cross margin. Check the figure in the Hyperliquid app before you trade.

Keep going