Slippage is the quiet cost that most Hyperliquid traders never see in their PnL breakdown. You click "Market", the order fills, and the average entry is a little worse than the price you saw on screen. On a small BTC trade the difference is almost nothing. On a large order in a thin altcoin perp it can cost more than the trading fee and the funding combined.
This guide explains what slippage and price impact are on Hyperliquid, why they happen on a fully on-chain order book, how to estimate them before you trade, and which order types help you control them. It also shows how to measure the real cost afterwards so you can see whether your execution is improving.
## What slippage means on Hyperliquid
Hyperliquid runs a central limit order book (CLOB) on its own L1. There is no AMM curve: every fill comes from a resting limit order placed by another trader or market maker. That makes slippage easier to reason about than on a DEX swap.
- **Price impact** is the gap between the best price in the book (best bid or best ask) and the average price your order actually gets because it eats through several price levels.
- **Slippage** is the broader difference between the price you expected when you clicked and the price you received. It includes price impact plus any movement in the market between your decision and the fill.
When you send a market order, it is really an aggressive order that takes liquidity level by level until it is filled or until it reaches your slippage limit. The interface lets you set a maximum slippage for market orders. If filling the full size would require a worse price than that limit, the rest of the order is not filled.
## A concrete example
Imagine the ask side of a mid-cap perp looks like this:
| Price | Size available |
|---|---|
| 10.00 | 2,000 |
| 10.02 | 3,000 |
| 10.05 | 5,000 |
| 10.10 | 10,000 |
You market buy 10,000 contracts.
- 2,000 fill at 10.00 = 20,000
- 3,000 fill at 10.02 = 30,060
- 5,000 fill at 10.05 = 50,250
Total cost is 100,310 for 10,000 contracts, so your average entry is **10.031**. The best ask was 10.00, which means you paid about **0.31% in price impact** on top of the taker fee. If you had bought only 2,000, the impact would have been zero.
Now imagine the same trade with 10x leverage. A 0.31% worse entry is about 3.1% of your margin gone the moment you open. If you close the position later with another market order, you pay a similar cost on the way out. A round trip can easily cost 0.6% of notional before fees and funding.
## Why some markets slip more than others
Liquidity on Hyperliquid is very uneven between markets. A few factors decide how much you will slip:
1. **Order book depth.** BTC and ETH usually have deep books close to the mid price. Newer or smaller listings can have only a few thousand dollars on each level.
2. **Spread.** The wider the gap between best bid and best ask, the more you pay just to cross it.
3. **Volatility.** During fast moves market makers pull or widen their quotes, so the book gets thinner exactly when you most want to trade.
4. **Order size relative to depth.** Price impact is not linear. Doubling your size can more than double the cost because the extra size reaches worse levels.
5. **Timing.** Liquidity changes during the day and around big news, listings and liquidation cascades.
A useful rule: before you trade size in any market, look at the book and ask how much notional sits within 0.1%, 0.5% and 1% of the mid price.
## How to estimate slippage before you trade
You do not need special tools to get a first estimate.
1. **Open the order book** for the market and switch to a view with enough levels to cover your size.
2. **Add up the size** on the side you would take (asks for a buy, bids for a sell) until you reach your order size.
3. **Calculate the average price**, as in the example above, and compare it with the best price.
4. **Double it for a round trip** if you plan to exit with a market order too.
5. **Compare it with your target.** If your expected profit is 1% and you are paying 0.6% in round-trip impact plus fees, the trade is much worse than it looks on the chart.
The [Hyperliquid perp calculator guide](/en/blog/perp-calculator-hyperliquid-guia) and the [position size calculator](/en/blog/hyperliquid-position-size-calculator) help you work out size and liquidation price. Add the impact estimate to that plan, especially when you use high leverage (see the [leverage guide](/en/blog/hyperliquid-leverage-guide)).
## Order types that reduce slippage
Hyperliquid gives you several ways to control execution. The full list is in our [order types guide](/en/blog/hyperliquid-order-types-guide); these are the ones that matter most for slippage.
### Limit orders
A limit order sets the worst price you accept. If you place it inside the spread or at the best price, you can avoid price impact completely and often pay the lower maker fee instead of the taker fee. The trade-off is that you might not get filled.
### Post-only (ALO)
A post-only order (Add Liquidity Only) is cancelled if it would match immediately. It guarantees you are the maker, so you never cross the spread. It is useful when you are patient and want the maker fee.
### Immediate-or-cancel (IOC)
An IOC limit order fills whatever it can up to your limit price right away, then cancels the rest. It is a market order with a hard price cap, and it is a clean way to say "buy as much as you can up to 10.03, nothing worse".
### TWAP orders
A TWAP order splits a large trade into smaller sub-orders spread over a time window you choose. Each sub-order only has to take a small slice of the book, which gives market makers time to refill liquidity between slices. TWAP is the standard tool when your size is large relative to the book and you are not in a hurry.
### Scale orders
Scale orders place several limit orders across a price range. Instead of buying everything at once, you build the position as the price moves through your levels.
### Market orders with a slippage limit
If you do use market orders, set a sensible maximum slippage. A tight limit protects you in a thin or fast market, at the cost of sometimes getting a partial fill.
## Slippage when closing: stops, TP/SL and liquidations
Slippage does not only happen on entry.
- **Stop market orders** turn into market orders when triggered. In a fast move they can fill well beyond your trigger price.
- **Stop limit orders** cap the price but may not fill at all if the market jumps past your limit.
- **Liquidations** are the most expensive exit. When your margin is gone the position is closed in the market, often during the worst liquidity of the day. Our [liquidation guide](/en/blog/hyperliquid-liquidation-guide) and [ADL guide](/en/blog/hyperliquid-auto-deleveraging-adl-guide) explain what happens next.
Also remember that triggers and liquidations use the mark price, not the last traded price. The difference is covered in [mark price vs oracle price](/en/blog/hyperliquid-mark-price-vs-oracle-price).
## The real cost of a trade: fees + funding + slippage
Most traders look at fees and funding and stop there. A complete view of a trade has three parts:
1. **Trading fees**, maker or taker (see the [fees guide](/en/blog/hyperliquid-fees-guide)). The referral code HYPERFOLIO gives you a 4% discount on fees; details are in the [referral code guide](/en/blog/hyperliquid-referral-code-guide).
2. **Funding** paid or received while the position is open (see [funding rate explained](/en/blog/hyperliquid-funding-rate-pnl-guide-2026)).
3. **Execution cost**: spread plus price impact on entry and exit.
Here is a simple example on a 50,000 USD notional trade, opened and closed with market orders:
| Cost | Approximate amount |
|---|---|
| Taker fees, entry + exit | depends on your fee tier |
| Funding for 2 days | depends on the rate |
| Price impact, 0.15% each way | about 150 USD |
The exact fee and funding values depend on your tier and the market, but the point holds: on a thin market, the execution line can be the biggest one.
## How to measure your slippage after the fact
Estimating is good; measuring is better. For each trade, compare:
- the **mid or best price** at the moment you sent the order, and
- the **average fill price** in your trade history.
The gap, multiplied by the size, is your execution cost. You can export your fills (see [how to export Hyperliquid trade history](/en/blog/hyperliquid-export-trade-history)) and add a column for it in your [trading journal](/en/blog/hyperliquid-trading-journal). After a few weeks you will see which markets and which order types cost you the most.
[Hyperfolio](https://app.hyperfolio.fun) helps here because it shows your positions, fills and realized PnL by wallet without asking for keys or a wallet connection. It is read-only: you paste an address and see the data. That makes it easy to check the average entry of each position against the price you remember seeing, and to review your [real PnL after fees and funding](/en/blog/hyperliquid-real-pnl-fees-funding-guide).
## A pre-trade checklist
Before any trade that is large for the market you trade:
- Check how much size is available within 0.5% of the mid.
- Estimate the average fill price for your full size.
- Prefer limit, post-only or IOC orders over plain market orders.
- Use TWAP or scale orders when your size is large relative to the book.
- Set a maximum slippage on market orders.
- Avoid trading size right after big news or during liquidation cascades.
- Plan your exit too: a stop market can slip just like an entry.
- Afterwards, record the fill price against the expected price.
## FAQ
### Does Hyperliquid have slippage if it is an order book?
Yes. An order book removes AMM curve slippage, but any order that takes more size than is available at the best price fills across several levels, and that creates price impact. Fast markets also move between your click and the fill.
### How do I set the slippage tolerance on Hyperliquid?
The trading interface lets you set a maximum slippage for market orders. If filling your order needs a worse price than that limit, the unfilled part is not executed. Check the current setting in the order panel before trading.
### Is a limit order always better than a market order?
It avoids price impact and usually pays a lower maker fee, but it may not fill. If you must be in or out right now, an IOC limit order with a price cap is often a good middle ground.
### Do TWAP orders guarantee a better price?
No. TWAP reduces the impact of each slice, but the market can move against you during the window. It is a tool to reduce impact on large size, not a price guarantee.
### Does slippage show up in my PnL?
Yes, but indirectly. It is already included in your average entry and exit prices, so it is not listed as a separate line like fees or funding. That is why it is worth measuring on purpose.
### Can Hyperfolio show me my execution cost?
Hyperfolio shows your fills, average entry, realized PnL, fees and funding by wallet, read-only and for free. You can compare those fills with the price you expected to see how much execution is costing you.
## Conclusion
On Hyperliquid, slippage is mostly a question of size versus depth. Check the book, estimate your average fill, choose the order type that fits your urgency and measure the result afterwards. Small changes in execution add up over hundreds of trades.
If you want to see your fills, average entries and real PnL in one place without connecting your wallet, open [Hyperfolio](https://app.hyperfolio.fun) and paste your address.