Slippage tolerance
Also called: max slippage, slippage setting, slippage limit, minimum received
A swap on a decentralized exchange is not filled the moment you click. It waits a few seconds, sometimes longer, before it is included in a block, and other trades can change the liquidity pool in that time. Slippage tolerance is the limit you set for that wait: how far below the quote you still accept the result. The DEX turns it into a minimum amount of tokens, and if the swap would deliver less, the smart contract cancels it.
How slippage tolerance works
The minimum you receive is the quote reduced by the tolerance:
minimum received = quoted amount × (1 − tolerance)
Example. A swap of 10,000 dollars of WETH is quoted at 752.2 LINK. With a 1% tolerance, the minimum is 752.2 × 0.99 = 744.7 LINK. If the pool moves so that you would get 748 LINK, the swap fills. If you would get 740 LINK, it cancels. On a 10,000 dollar swap, each 1% of tolerance is about 100 dollars you agree to give up.
Most swap screens show this as “minimum received”. Many also offer an automatic setting chosen by the interface; check what it picks before confirming a large swap.
Too tight vs too wide
| Setting | What happens |
|---|---|
| Too tight | The swap fails when the price moves even slightly, and you pay the network fee for nothing |
| Just right | The swap fills, with little room for anyone else to take |
| Too wide | The swap always fills, and a bot can take up to the full tolerance in a sandwich attack |
The course computed sandwich attacks on a real LINK/WETH pool (Uniswap v2, reserves from 11 October 2026): on a 10,000 dollar swap, a bot could take about 50 dollars at 0.5% tolerance, 100 at 1%, 300 at 3% and 500 at 5%. Your tolerance is the bot’s budget.
How to set it
- Use the smallest tolerance that fills, often around 0.5% on deep pools.
- Check the price impact first. If it is several percent, lower the size or find a deeper pool; a wider tolerance will not help.
- For tokens that charge a fee on transfer, the tolerance must cover that fee, or the swap fails.
- Use a private or MEV-protected route where your wallet or aggregator offers one.
Slippage tolerance vs a limit order
A tolerance does the same job as a limit order on an exchange: it caps the worst price you accept. The difference is visibility. A limit order waits in the book at your price; a tolerance is published with your pending swap, so others can see exactly how much room you left.
In the course
The lesson what slippage is shows the tolerance setting on a real swap screen and how a sandwich attack uses it. Decide your worst acceptable price before you click, not after.
Questions about slippage tolerance
What slippage tolerance should I use?
The smallest setting your swap fills with. On deep pools of major tokens that is often around 0.5% or less. If a swap keeps failing at a tight setting, the pool is moving fast or is too thin, which is a warning in itself.
What happens if slippage tolerance is too low?
If the price moves against you by more than the tolerance before your swap is confirmed, the swap fails and nothing is exchanged. On most blockchains you still pay the network fee for the failed transaction.
Is high slippage tolerance dangerous?
Yes. Your pending swap and its tolerance are visible to anyone. A bot can push the price up to the edge of your tolerance before your swap and sell right after it. With a 5% tolerance on a 10,000 dollar swap, that can cost you about 500 dollars.
What is the difference between slippage tolerance and price impact?
Price impact is how much your own swap moves the pool price, shown before you confirm. Slippage tolerance is the extra margin you allow on top, for the market moving before the swap is included. If the price impact alone is larger than you want to pay, the tolerance cannot fix that; a smaller swap or a deeper pool can.