Slippage is the difference between the price at which a trader expected to trade and the price at which the order actually filled. It most often affects market and stop orders in a thin order book, with large sizes and during sharp moves.
Where it comes from
A market order fills against the best opposing orders in the book. If there is less available at the best price than you want to buy, the rest fills at the next, more expensive levels, and the average price ends up worse. The thinner the book and the bigger the order, the stronger the effect. The second cause is latency: while the order travels to the exchange, the price has time to move, especially in the seconds after news. The third is stop orders: when triggered, they become market orders and fill wherever opposing orders exist, not exactly at the stop level.
Slippage on a DEX
A decentralised exchange usually has no order book; the price is set by a liquidity pool, and a large swap moves it by itself. That is price impact, which the interface shows before the trade. Separately you set a slippage tolerance: how far the final price may deviate from the quoted one while the transaction waits to be included in a block. Too small a tolerance and the transaction fails, though the network fee is still charged. Too large and it invites sandwich attacks: a bot spots your transaction in the mempool, buys just before it and sells right after, pocketing the difference.
How to reduce it
The simplest remedy is a limit order: it will not fill worse than the stated price, although it may not fill at all. Large orders are split into parts and executed gradually. Trade liquid pairs and avoid the minutes around major data releases and the first minutes after a listing. On a DEX, set a reasonable tolerance, a fraction of a percent for liquid pairs, and do not swap through a pool with little liquidity. Before trading, it helps to check the depth of the order book: how many coins sit at the nearest price levels.
Why it matters
Slippage is a hidden fee that does not appear in the exchange's price list. In a single trade it seems trivial, but for scalping and frequent trading it can eat most of the profit. A backtest that ignores slippage shows results that are too good. Positive slippage also happens, when a trade fills at a better price, but do not count on it: in a fast market it almost always works against whoever pays for urgency.
A trader wants to buy 10,000 USDT of a hypothetical coin at market when the best price is 2.00. Only 1,500 coins are available at that price, and further orders are spread across levels up to 2.02. His order fills at an average of about 2.01. Slippage is around 0.5%, roughly 50 USDT, which is more than the trading fee on the same trade.
Related terms
Market OrderOrder BookLimit OrderLiquidityDecentralized ExchangeMempool
On the site
TradingFutures calculatorOptions levelsHyperliquid
This article was written by AI. Check specific rates, taxes and broker terms with primary sources.