How leverage works in crypto futures
How leverage works in crypto perpetual futures: margin and notional, why one move liquidates a 20x position but not a 5x one, and what it leaves alone.
On this page
Leverage in crypto futures is the ratio between a position's size and the margin that backs it: at 10x, the margin carries a position ten times its size, so every price move changes the margin ten times as much in percentage terms. The higher the leverage, the less margin stands between the position and its liquidation price, which is why the same small move can close a 20x position and leave a 5x one open.
This guide explains the arithmetic, shows how leverage sets the distance to liquidation, and lists the things leverage does not change, using the margin rules Hyperliquid publishes for its perpetual futures.
Margin, notional and leverage
Three numbers describe a leveraged position:
- Notional is the position's value: size in coins times the price.
- Margin is the collateral backing it.
- Leverage is notional divided by margin.
On Hyperliquid the margin needed when a position is opened is position_size * mark_price / leverage, and leverage can be set to any whole number between 1 and the asset's maximum.1 The maximum depends on the market and, for large positions, on the margin tier; it ranges from 3x to 40x.2
Leverage does not create money. It lets a trader commit less collateral to a position of a given size, and in return the position reacts more sharply relative to that collateral.
Leverage sets the distance to liquidation
A position is liquidated when its equity falls below the maintenance margin, a small share of the notional set by the market. On Hyperliquid it is half of the initial margin at maximum leverage, so 1.25% for a market with 40x maximum leverage such as BTC.2 The room a position has to lose is roughly its margin minus that maintenance margin, and the margin is the notional divided by the leverage.
That gives a useful rule of thumb for an isolated position: the price can move about 1 / leverage - maintenance rate against it before liquidation. The exact value comes from Hyperliquid's published liquidation formula, and our liquidation calculator applies it to the current margin tiers of Hyperliquid's main perpetual markets.
The pattern holds for shorts with the direction reversed. Doubling leverage roughly halves the distance to liquidation, and close to the maximum leverage the distance shrinks to little more than the price noise of a few minutes. How far tracked positions on Hyperliquid actually sit from their liquidation prices is the subject of distance to liquidation.
Cross margin changes the picture
Everything above describes isolated margin, where the leverage setting fixes the margin of one position. In cross margin, all cross positions share the account's equity. Hyperliquid states that the liquidation price of a cross position does not depend on the leverage set: a cross position at lower leverage simply uses more collateral.2
What matters in cross margin is the account's effective leverage: the total notional of all cross positions divided by the account value. A trader who selects 20x on one position but holds five times that position's margin in the account is, in effect, trading at a much lower leverage, and the liquidation price reflects that. The reverse is also true: several modest positions in one cross account can add up to high effective leverage.
Leverage after the position is opened
Leverage is not a fixed property of a position once it is opened. Hyperliquid checks leverage only when a position is opened; afterwards, the trader is responsible for monitoring leverage usage.1 Several things move it:
- Price moves. A losing position has less equity behind the same notional, so its effective leverage rises as the price moves against it.
- Funding and fees. Both are paid on the notional, not the margin, so at high leverage they take a larger share of the margin per hour.
- Changing the setting. The leverage of an existing position can be increased without closing it.1
- Margin changes. Adding isolated margin, or depositing to a cross account, lowers the effective leverage.
Funding in particular is easy to underestimate at high leverage. A funding rate that looks negligible on the notional is many times larger as a share of the margin. Our guide to funding rates explains how it is paid and how to compare rates across venues.
What leverage does not change
A common misreading is that higher leverage means higher risk per trade. For a given position size, it does not: a BTC position of a given size loses the same number of dollars on the same move at 2x and at 20x. What leverage changes is how much collateral is committed, and therefore how close the liquidation price sits and how much of the account a single position can consume.
Dollar risk is set by position size and by the price at which the trader would exit. Our position size calculator works the other way round from leverage: it takes the amount a trader is willing to lose and the distance to a chosen exit price, and returns the size as risk / |entry - exit price|. Leverage then only decides how much margin that size ties up, and whether the liquidation price sits beyond the exit price or in front of it.
Limits
The numbers in this guide use Hyperliquid's published rules and illustrative prices. They leave out fees, funding and slippage, which all move a real liquidation price, and other venues set different maximum leverage and maintenance rates. Liquidation uses the mark price, not the last trade, so a position can be liquidated even if the last trade never printed at the liquidation price.
Sources
- Hyperliquid Docs, "Margining": https://hyperliquid.gitbook.io/hyperliquid-docs/trading/margining (accessed 2026-11-05)Back to text
- Hyperliquid Docs, "Liquidations": https://hyperliquid.gitbook.io/hyperliquid-docs/trading/liquidations (accessed 2026-11-05)Back to text
How we collect and check the data: Data & methodology.
See today’s numbersThe live pages update continuously.
Size a position