Slippage Tolerance
Published Last updated
Key Takeaway
Slippage tolerance is the maximum percentage difference between the quoted swap price and the actual execution price a user is willing to accept before a DEX transaction automatically reverts.
Learn These First
What Is Slippage Tolerance?
Slippage tolerance is the maximum percentage difference between the quoted swap price and the actual execution price a user is willing to accept before a DEX transaction automatically reverts.
How Slippage Tolerance Works
Frequently Asked Questions
What is slippage tolerance on a DEX?
Slippage tolerance on a DEX is a setting that defines the maximum price difference you are willing to accept between the swap price quoted when you initiate a transaction and the price at which it actually executes on the blockchain. If the price has moved beyond your specified tolerance by the time the transaction is confirmed — due to other trades hitting the same pool or general market movement — the smart contract automatically cancels the transaction and returns your tokens. This setting protects you from executing a swap at a price significantly worse than what you saw when you initiated it.
What slippage tolerance should I set on Uniswap or other DEXs?
For most standard token swaps on liquid DEXs, a slippage tolerance of 0.5% to 1.0% is appropriate and balances execution reliability against front-running protection. For stablecoin-to-stablecoin swaps — such as USDC to USDT — set tolerance as low as 0.05% to 0.1%, since these prices should barely deviate. For newly launched, low-liquidity, or highly volatile tokens, you may need 2%–5% to get transactions confirmed, but be aware this increases front-running risk. Always start with the minimum and increase only if transactions fail repeatedly. Most DEX interfaces show a warning above 1% or 5% indicating elevated risk.
Why does setting high slippage tolerance increase front-running risk?
When you set a high slippage tolerance, your pending transaction in the blockchain mempool advertises to MEV bots that you will accept execution at a price significantly worse than quoted. These bots monitor pending transactions and can insert their own buy orders ahead of yours — purchasing the token before your transaction executes and pushing the price up — then sell immediately after your transaction confirms at the elevated price, profiting from the difference. The higher your tolerance, the larger the gap between quoted and acceptable execution price, and the wider the profit window available to a front-running bot targeting your transaction.
Common Misconceptions About Slippage Tolerance
Setting slippage tolerance to 100% guarantees your transaction will always go through.
Setting slippage tolerance to 100% does allow the transaction to execute regardless of price movement, but it exposes you to potentially receiving far less than expected — including a near-total loss of value in extreme cases. It also makes the transaction a highly attractive target for MEV front-running bots, which can push the price to the maximum tolerance level before your transaction confirms, capturing most of the value for themselves. A 100% tolerance is never appropriate for a genuine swap and is most commonly associated with scam token interactions that deliberately require extreme tolerance settings to execute.
Slippage tolerance and slippage are the same thing.
Slippage is the actual price difference that occurs between the expected and executed price of a trade — it is the outcome. Slippage tolerance is the maximum acceptable slippage a user is willing to tolerate before a transaction reverts — it is the protective input setting. Actual slippage can be zero, or any positive or negative percentage depending on market conditions. Tolerance is a pre-set threshold that determines whether the transaction proceeds or reverts when actual slippage occurs. The two are related but serve completely different functions in the trade execution process.
If a DEX transaction fails, it means your slippage tolerance was too high.
A failed or reverted DEX transaction most commonly means the actual price movement exceeded your slippage tolerance — indicating the tolerance was set too low for current market conditions, not too high. Other causes of transaction failure include insufficient gas fees causing the transaction to expire in the mempool, token approval not being set correctly, or the token contract having restrictions such as buy limits or trading cooldowns. When transactions fail repeatedly due to price movement, the appropriate response is to increase tolerance incrementally or wait for lower-volatility conditions rather than assuming tolerance settings are excessively high.