What Is the Difference Between Price Impact and Slippage on a Swap?
Price impact vs slippage: your trade moves the pool price; slippage is movement between quote and execution. Learn how trade size and minimum received differ.
The Block Press Editors4 min read
Price impact is the price change your trade causes in a pool; slippage is the difference between the quoted price and the price when the trade executes. On a decentralized exchange swap, trade size and pool liquidity set price impact, while market moves and transactions landing first determine slippage.
- Price impact is estimated when the swap is quoted.
- Slippage is uncertain until the transaction is included.
- Slippage tolerance sets the minimum received; it does not lower price impact.
Price impact comes from moving the pool’s reserves
Price impact is the effect of your own order on the pool’s price. In a constant-product AMM such as a Uniswap pool, the reserves follow x*y=k: a swap changes the balance of each token while keeping their product constant, before fees.
For a trade that adds Δx to the input-side reserve x, the approximate impact on the average execution price is Δx/(x+Δx). That compares the execution price with the pool’s starting mid price. It depends on trade size relative to reserves, so the same order has more impact in a shallower pool.
Say you sell 10 ETH into a pool with 100 ETH on the input side. The estimate is 10/(100+10), or about 9% impact before fees and before any slippage. The pool’s reserves move as the swap executes, so the average price for those 10 ETH is worse than the starting mid price.
A decentralized exchange aggregator can split an order across pools with available liquidity. Matcha swap is one interface for comparing routes across liquidity sources; in this comparison, splitting a large order can reduce the impact on any one pool. The result depends on the routes and liquidity available for that swap.
Slippage is the gap between quote and execution
Slippage is the movement between the price shown in a quote and the price at execution. The quote describes the trade using the pool state available at that moment. The executed price can differ because that state may change before the transaction is included in a block.
Wallet confirmation takes time. During that delay, other swaps can land first and move the reserves and price. A sandwich attack is one way bots can use transactions around a pending swap to worsen its execution. Slippage is therefore uncertain at quote time, even when price impact can already be estimated.
The two figures describe different comparisons. Price impact compares your expected execution price with the pool’s starting mid price; slippage compares the eventual execution price with your quote. A swap can have high impact and little slippage if the pool does not move before inclusion. It can also have modest impact and still slip if other trades move the market during confirmation.
Smaller orders reduce impact; tolerance limits execution drift
Halving the order roughly halves its impact in a constant-product pool when the reserves stay the same. With the illustrative 100 ETH input reserve, reducing the sale from 10 ETH to 5 ETH changes the estimate from about 9.1% to about 4.8%, before fees. The trade changed; the pool’s starting reserves stayed the same.
That gives you a practical first step when a friend sees a high-impact warning: try a smaller amount and compare the quote. Raising slippage tolerance does not improve the pool price or lower price impact. It only lets execution proceed through a larger difference from the quote.
Slippage tolerance sets the minimum received: the transaction reverts if the amount received falls below that limit. A higher tolerance accepts a wider range of execution prices, while a lower tolerance can make a trade fail if the market moves beyond it. On liquid pairs, keep tolerance low enough to limit unwanted drift, and pause to reassess a high-impact warning before confirming.
Related
What slippage tolerance should I set?
Set tolerance to the smallest amount of quote movement you are willing to accept. It is a limit on execution drift, not a remedy for high price impact. If the trade is likely to move beyond that limit before inclusion, it can revert.
Why is price impact so high on my swap?
Price impact is high when the order is large relative to the liquidity in its route. Try a smaller amount and compare the estimate; an aggregator may find a split across pools, but available liquidity determines whether that helps.
What does minimum received mean?
Minimum received is the least output the swap can deliver and still execute under your slippage tolerance. If execution would return less, the transaction reverts.
Price impact is driven by your order against the pool’s reserves; slippage is driven by what happens before inclusion. Check the first to understand the quoted price, and the second to understand the execution limit that protects your minimum received.