Order book depth and slippage: how order size moves the price
How order book depth decides slippage: walking the book, average fill price, spread vs slippage vs price impact, impact prices and why thin books move.
On this page
Slippage is the difference between the price you expect and the average price an order actually fills at. It happens because a market order takes liquidity level by level from the order book: the larger the order compared with the size resting near the price, the further it reaches and the worse the average fill. Order book depth, the amount of size resting within a given distance of the price, is what decides how large that difference gets.
This guide explains how an order walks the book, how spread, slippage and price impact differ, how exchanges use impact prices, and how to read depth figures on our pages.
What depth means
An order book lists resting limit orders: bids below the price from traders willing to buy, asks above it from traders willing to sell. Depth is the total size of those orders within some distance of the current price, usually stated in USD per side.
A figure such as "depth within one percent" adds up every bid between the price and one percent below it, and every ask between the price and one percent above it. A deep book holds a lot of size close to the price; a thin book holds little, so even moderate orders reach far.
On Hyperliquid the order book is part of the chain's state, one book per asset, and orders are matched in price-time priority: the best price first, and at the same price the order that arrived first.1 Prices sit on a tick grid and sizes on a lot grid.1
Walking the book
A market order does not fill at one price. It takes the best level first, then the next, until its size is filled. The average of those fills is the execution price.
The same arithmetic applies to sells against the bids. It also explains why depth, not only the spread, decides the cost of larger orders: the spread is the gap at the very top of the book, while depth decides how quickly prices worsen behind it.
Spread, slippage and price impact
Three terms are often mixed up:
- Spread. The gap between the best bid and the best ask. Every immediate round trip pays it, regardless of size.
- Slippage. The difference between the expected price and the average fill of one order. It grows with order size and shrinks with depth. It also includes the price moving between the moment an order is sent and the moment it fills.
- Price impact. How far the best price moves because of the order. In the example above, the best ask moved up by two levels. Impact can partly fade as new orders refill the book, which is called resilience.
Impact prices: depth turned into one number
Exchanges need a price that a real trade of meaningful size could achieve, not just the best quote. Hyperliquid computes an impact bid and an impact ask: the average execution prices of a trade of a fixed notional, used in the premium that drives funding.2 The impact notional is 20000 USDC for BTC and ETH and 6000 USDC for all other assets.3
The gap between the impact bid and the impact ask is therefore a compact depth measure. When the two sit close to the mid price, a trade of that size moves little; when they spread apart, the book is thin. Our API returns both impact prices for each Hyperliquid market on the /markets endpoint, next to the mid price. How the premium becomes a funding rate is covered in How funding rates are calculated.
Why depth changes from minute to minute
Depth is not a fixed property of a coin. A few patterns recur:
- Distance from the price. Most books hold the most size near the price and thin out further away.
- Volatility. Market makers widen and reduce their quotes when prices move fast, so depth tends to fall exactly when large orders arrive.
- Coin size. Smaller coins usually have far thinner books than the largest ones, so the same order moves them much more.
- Pulled orders. Large resting orders can be cancelled at any moment. The order book heatmap guide shows how walls are tracked and what a pulled wall does and does not mean.
Depth, liquidations and stops
Forced orders are market orders. When a liquidation closes a position, the closing order walks the book like any other market order. On Hyperliquid, the exchange first sends market orders to the book to close a liquidated position, and for positions above 100k USDC only 20% at a time.4
That is why the same liquidation size does different things on different books. On a deep book it is absorbed with little movement. On a thin book it can move the price enough to reach the next liquidation level or the next stop orders, which then add their own market orders. Liquidation cascades describes how that chain forms, and a liquidation heatmap shows where those levels sit.
How large orders reduce slippage
Because slippage grows with size relative to depth, large orders are often split. Hyperliquid's documented order types include a TWAP that sends smaller suborders at regular intervals, and a scale order that places several limit orders across a price range.5 Limit orders avoid walking the book entirely, at the cost of possibly not filling. The guide Hyperliquid order types covers each one.
Reading depth on Blockmetric
The order flow tab of every covered coin, for example BTC order flow, shows the dollars resting within one percent of the price on each side and which side is heavier, next to the order book heatmap and its walls. The API endpoint /orderbook/{coin} returns resting USD per price bucket and the depth within one, two and five percent with the bid and ask imbalance; the reference is in the API docs. Depth sits next to taker flow on the same tab, and How to read CVD explains that side.
Limits of the data
- Visible orders only. A book shows resting orders at the moment of the snapshot. Orders can be added or cancelled before any trade reaches them.
- Snapshots. Our book data is sampled, not every single change, so very short-lived orders can be missed.
- No owners. Order books carry no names. A large resting order cannot be attributed to anyone from the book alone.
- One venue at a time. Depth on one venue says nothing about another. Slippage depends on where an order is actually sent.
Common questions
Is slippage the same as a fee? No. A fee is charged by the venue. Slippage is the cost of filling at worse prices than expected because the book had to be walked, or because the price moved.
Why does slippage rise in fast markets? Market makers often reduce their quotes when prices move quickly, so depth drops while more market orders arrive.
What is a good depth figure? There is no single threshold. Depth matters relative to the size of the order: an order that is small against the size within the first fraction of a percent will see little slippage.
Sources
- Hyperliquid Docs, "HyperCore: Order book" (accessed 2026-11-11)Back to text
- Hyperliquid Docs, "Funding" (accessed 2026-11-11)Back to text
- Hyperliquid Docs, "Contract specifications" (accessed 2026-11-11)Back to text
- Hyperliquid Docs, "Liquidations" (accessed 2026-11-11)Back to text
- Hyperliquid Docs, "Order types" (accessed 2026-11-11)Back to text
How we collect and check the data: Data & methodology.
See today’s numbersThe live pages update continuously.
See BTC order book depth