Trading

Slippage

The difference between expected and actual trade price due to price movement during execution.

Slippage — Slippage is the difference between the expected price of a trade and the actual execution price, caused by price movement between the time a transaction is submitted and when it is confirmed on-chain. On decentralized exchanges, slippage is determined by trade size relative to liquidity pool depth — a $10,000 trade against a pool with $100,000 in reserves typically produces 5-10% slippage.

What Is Slippage?

Slippage occurs when the price you see when initiating a trade differs from the price you actually receive. In decentralized finance, this happens for two main reasons: the AMM's pricing curve causes price impact proportional to trade size, and other transactions may execute before yours, shifting the pool's reserves and therefore the price.

For example, if you attempt to buy a token at $1.00 but receive it at $1.03, you experienced 3% slippage. On highly liquid pairs like ETH/USDC on Uniswap, slippage on a $10,000 trade is typically under 0.1%. On low-liquidity memecoin pairs, even a $500 trade might produce 5% or more slippage.

How Slippage Works

On AMMs, slippage comes from two sources. First, price impact is the deterministic slippage caused by the AMM formula. In a constant product pool, buying token X reduces its supply in the pool, raising its price. The larger the trade relative to the pool, the greater the price impact. A trade representing 1% of pool reserves produces roughly 2% price impact.

Second, price movement occurs when other trades execute between the time you submit your transaction and when it is confirmed (typically 12 seconds on Ethereum, 400 milliseconds on Solana). If another large buy executes before yours, the token price rises, and your trade executes at the new, higher price.

Traders protect against slippage by setting a slippage tolerance — the maximum acceptable difference from the quoted price. If actual slippage exceeds this threshold, the transaction automatically reverts. Common settings range from 0.5% for stable pairs to 5-15% for volatile memecoins.

Why Slippage Matters

Slippage directly affects trading profitability. A trader buying $1,000 of a token with 5% slippage effectively pays $1,050 for $1,000 worth of tokens — a $50 loss before any price appreciation. For active traders making dozens of trades per day, cumulative slippage costs can exceed hundreds or thousands of dollars.

High slippage tolerance also makes traders vulnerable to sandwich attacks, where MEV bots exploit the gap between the quoted price and the maximum acceptable price to extract profit.

Managing Slippage in Volume Generation

Volume bots must carefully manage slippage to avoid eroding the session budget. OpenLiquid calculates the optimal trade size for each swap based on the current pool depth, ensuring that individual trades produce less than 0.5% price impact. The bot also monitors pool reserves in real time and adjusts trade parameters if liquidity changes during a session. On low-liquidity tokens, the bot uses smaller, more frequent trades to generate target volume without significant slippage costs.

Common questions about Slippage in cryptocurrency and DeFi.

For major token pairs (ETH, SOL, stablecoins), 0.5% to 1% is sufficient. For mid-cap DeFi tokens, 1% to 3% is typical. For memecoins and newly launched tokens with thin liquidity, 5% to 15% may be necessary. Setting slippage too low causes transactions to revert; setting it too high exposes you to sandwich attacks.

Slippage occurs on both centralized and decentralized exchanges, but it is more pronounced on DEXs because AMM pools typically have less liquidity than centralized order books. On a centralized exchange, slippage manifests as order book depth — a large market order may fill across multiple price levels.

Pool size is inversely related to slippage. A $10,000 trade in a $1,000,000 pool produces approximately 1% price impact. The same trade in a $100,000 pool produces roughly 10% impact. Doubling the pool liquidity approximately halves the slippage for any given trade size.

Ready to put your knowledge into practice?

Start Boosting