A token trades at $1. You enter $100 into a decentralized exchange (DEX), and the preview offers 98 tokens. By the time the swap goes through, you receive 97. Where did the three-token difference come from?
In this example, two tokens are explained by price impact. Your order is large enough to move the price in the liquidity pool, and the quote already accounts for that. One more token is explained by slippage. Another trade changes the pool’s price after you get your quote and before your swap goes through. We’ll leave fees out so you can follow each change.1
| Stage | Tokens for $100 | How to read it |
|---|---|---|
| Before you enter the order | 100 | The pool’s starting price gives you a reference point of $1 per token. |
| When you preview the swap | 98 | The quote is 2 tokens below the 100-token reference. That’s 2% price impact measured against the expected output. |
| When the swap completes | 97 | You receive 1 token fewer than the 98 quoted. That’s 1 ÷ 98, or about 1.02% adverse slippage. |
What does slippage tolerance change?
Look for the minimum output in the swap details. With a quote of 98 tokens, suppose the screen shows a minimum of 97.02.2
An outcome of 97.5 clears that floor. Under this minimum, a swap that would deliver only 97 tokens fails. Raising the tolerance allows a lower payout. The two tokens of price impact are already reflected in the original quote of 98.3
How can you spot price impact before signing?
Preview a smaller order in the same pool and compare the tokens per dollar. If $10 buys 9.98 tokens while $100 buys 98, the smaller order gets 0.998 tokens per dollar and the larger one gets 0.98. With the same starting pool price and route, the two quotes show the effect of order size before you execute either swap.
For a closer look at how trade size affects what you can sell for, see Fenton’s guide to token liquidity.
