Liquidity Guides · Topic

Understanding Slippage in Cryptocurrency Trading

Slippage is the most common unpleasant surprise in crypto trading, and the most predictable one — it is fully visible in the order book before you trade.

By CoinDock Editorial Published Last reviewed

Direct answer

Slippage is the difference between the price a trader expects when submitting an order and the price at which the order actually executes. It widens when order-book liquidity is thin, when the order is large relative to resting depth, or when the market moves between submission and matching. It is not a fee and is not charged by the exchange — it is a consequence of how order books fill. It can be negative or positive for the trader.

The formula

slippage = (average fill price − expected price) / expected price

Expressed as a percentage. A buy expected at 100 USDT that fills at an average of 101 shows 1% negative slippage.

Sign convention is worth stating because it trips people up: for a buy, filling higher than expected is negative for you. For a sell, filling lower than expected is negative for you. Both are "slippage."

Why it happens

A market order does not execute at one price. It consumes resting orders from the book, starting at the best available price and walking deeper until the requested quantity is filled.

So the average fill price is worse than the quoted best price whenever your order is larger than the quantity resting at that best price — which, on most books, is nearly always.

The "price" displayed before you trade is the best price for a specific, often small, quantity. It is not a price available at your size.

A worked example

You buy 10,000 tokens. The ask side reads:

Price Quantity available Cumulative
1.00 2,000 2,000
1.02 3,000 5,000
1.06 3,000 8,000
1.15 5,000 13,000

Your order walks the book:

2,000 × 1.00 =  2,000
3,000 × 1.02 =  3,060
3,000 × 1.06 =  3,180
2,000 × 1.15 =  2,300
─────────────────────
total spent  = 10,540 for 10,000 tokens
average fill = 1.054

slippage = (1.054 − 1.00) / 1.00 = 5.4%

You saw 1.00 and paid 1.054. Nothing malfunctioned and nobody charged you 5.4% — the book simply did not hold 10,000 tokens at 1.00.

The three drivers

Depth. The dominant factor. A book with 500,000 tokens resting near the midpoint absorbs your 10,000 without noticing. A book with 2,000 does not. See market depth guide.

Order size relative to depth. Slippage is not about absolute size — it is about size relative to what is resting. The same 10,000-token order is trivial on one pair and catastrophic on another.

Volatility and timing. Between submission and matching, the book can change. In fast markets, resting orders are cancelled and repriced continuously, so the depth you saw may not be the depth you get. This is why slippage is worst during exactly the moves you most want to trade.

Positive slippage exists

Less discussed, but real. If the market moves in your favour between submission and execution, you can fill better than expected. A buy submitted at an expected 100 that fills at 99.5 has positive slippage.

Venues differ in whether they pass this on. The asymmetry is worth knowing about: a system that gives you the worse price but keeps the better one is not passing through slippage, it is charging a spread.

How to reduce it

In rough order of effectiveness:

Use limit orders. A limit order refuses to execute beyond your specified price, which eliminates negative slippage entirely. The cost is that it may not fill, or may fill only partially. On an illiquid pair this is almost always the correct default.

Check depth before sizing. Look at the book, not just the price. If you want to buy 10,000 and only 3,000 rests within an acceptable range, your order is too large for this market right now.

Split large orders. Executing in pieces over time lets the book replenish between them. This trades execution speed for price, and introduces the risk that the market moves against you in the meantime.

Avoid thin hours and volatile moments. Depth varies through the day and collapses during sharp moves.

Trade the more liquid pair. If a token trades against both USDT and a native asset, the deeper book will usually produce a better all-in result even after any conversion.

See how to reduce slippage for the mechanics.

Slippage tolerance settings

Some interfaces let you set a maximum acceptable slippage, cancelling the order if it would exceed that. Useful, with two caveats:

  • Set too tight, orders fail repeatedly in normal conditions, and each retry costs time during which the price moves.
  • Set too loose, the setting stops protecting you at all. A 50% tolerance is not a safeguard.

The right value depends on the pair's actual depth, which is a reason to look at the book rather than pick a default.

Common mistakes

  • Treating slippage as an exchange fee. It is a property of the book. The exchange fee is separate and charged in addition.
  • Judging expected slippage from the quoted price. The quote is for the size at the top of the book, not yours.
  • Using market orders on thin pairs out of habit. This is where the largest, most avoidable losses occur.
  • Forgetting the exit. Depth on the buy side does not guarantee depth on the sell side when you want out.
  • Blaming slippage for a bad entry. If the book showed the depth, the information was available before trading.

Related on Liquidity Guides

Prepare Your Coin for Trading

Continue your CoinDock journey.

Go