How slippage is created
Two distinct mechanisms:
- Order-book slippage (CEX) — your market order starts at the best ask, consumes that level’s volume, then jumps to the next-best ask, and so on. The higher your trade size relative to top-of-book depth, the more levels you sweep.
- AMM slippage (DEX) — on Uniswap-style pools, price is set by a constant-product formula (x × y = k). Any swap shifts the pool ratio and therefore the price. Larger trades relative to pool size produce larger slippage; a 1% pool trade might slip ~1%, a 10% pool trade slips far more.
Slippage differs from price impact in subtle ways on DEX UIs: price impact is the permanent move your trade causes; slippage is the gap between quoted and executed. Most wallet UIs use them interchangeably.
Why slippage matters
For a retail $500 swap, slippage is usually a few basis points and invisible. For institutional size, low-liquidity tokens, or MEV-sensitive flow, slippage is the dominant execution cost:
- A $5M market buy on a $100M daily-volume altcoin can easily slip 3-5%.
- DEX swaps on low-liquidity pools are prime MEV targets — bots see the pending transaction in the mempool, buy ahead (front-run), and sell into your slippage (sandwich attack).
- Setting slippage tolerance too high in your wallet is how traders lose 10-20% on a single swap when a sandwich bot extracts the maximum.
Risks and considerations
For CEX spot trading, break large orders into smaller chunks with TWAP/VWAP execution algorithms; many platforms offer this as a built-in feature. For DEX trades, use aggregators like 1inch, CoW Swap, or Paraswap that route through multiple pools and include MEV protection. Set slippage tolerance deliberately: 0.5% for major pairs in high liquidity, up to 3% for smaller alts, and reconsider the trade entirely if you need to set tolerance above 5%. For truly large trades on thin markets, OTC desks often offer better execution than any CEX or DEX — a single phone call beats paying 4% in slippage across ten venues.