DEX Aggregators: Slippage and Price Impact, With Examples
How DEX aggregators route your swap, and how slippage and price impact decide what you receive, with worked numbers, a slippage table and a fair-swap checklist.
Written by Lucas Bennett
7 min read

A DEX aggregator is a service that checks many decentralized exchanges and liquidity sources at once and routes your swap through the path that returns the most tokens after fees. It finds a strong quote, but two numbers decide what you actually receive: price impact, set by your trade size, and slippage tolerance, set by you.
- Price impact is how far your own trade moves the price. In our example pool, a 10,000 USDC trade receives 1.28% less than the spot price including the fee, and a 100,000 USDC trade 9.34% less.
- Slippage tolerance is the extra movement you accept before the swap cancels. Your minimum received is the quote minus that percentage.
- Aggregators cut price impact by splitting trades. In the example, splitting a 100,000 USDC trade across two pools nearly halves the shortfall.
- Loose slippage invites sandwich bots, while slippage that is too tight fails and still costs the network fee.
- Judge every swap by its minimum received, not its headline rate.
Below is a worked example with real numbers, a slippage table by pair type and a checklist to run before every swap.
Most decentralized exchanges price tokens with automated market makers: pools of two tokens whose price comes from the ratio of what they hold. The classic formula, used by Uniswap v2, keeps the product of the two reserves constant (x times y equals k), so each unit you buy makes the next one dearer.
One pool rarely gives the best result. An aggregator queries many pools and venues, then builds a route that may split your order across several pools or hop through an intermediate token such as wrapped ETH. 0x, which Terra Wallet uses for swaps on seven EVM networks, says its Swap API draws on more than 150 liquidity sources.
A quote is a snapshot. Prices move between the moment you see it and the moment your transaction lands in a block, and that gap is what slippage settings are for.
Here is what one pool does to trades of different sizes. The example pool holds 1,000,000 USDC and 1,000,000 of a token called XYZ, so the spot price is 1 USDC, and it charges a 0.30% fee like a Uniswap v2 pool.
| You pay (USDC) | You receive (XYZ) | Shortfall vs. spot price |
|---|---|---|
| 1,000 | 996.01 | 0.40% |
| 10,000 | 9,871.58 | 1.28% |
| 50,000 | 47,482.97 | 5.03% |
| 100,000 | 90,661.09 | 9.34% |
| 100,000, split across two such pools | 94,965.95 | 5.03% |
Three lessons fall out of the numbers:
- Fees are fixed, impact grows. The 0.30% fee is the same slice at any size. Price impact is the part that balloons.
- Losses grow faster than the trade. The percentage lost to impact rises roughly in step with size, so the amount lost rises much faster: the 10,000 trade gives up nearly 100 tokens to impact, the 1,000 trade about 1.
- Splitting works. Sending half of a 100,000 trade through each of two equally deep pools cuts the shortfall from 9.34% to 5.03%. That is exactly the job an aggregator does.
Real pools are messier. Uniswap v3 introduced concentrated liquidity, where providers place funds in chosen price ranges, so depth varies by token and by moment. The shape is the same, though: the thinner the liquidity, the faster your price slips.
Slippage tolerance is the worst extra price movement you will accept, as a percentage of the quote. The router turns it into a minimum amount out, and if the swap would deliver less, it reverts instead of filling.
Using the table: a quote of 9,871.58 XYZ with 0.5% slippage gives a minimum received of 9,822.22 XYZ, and at 1% it is 9,772.86 XYZ. That minimum is the number to judge.
| Pair type | Starting slippage we would use | Why |
|---|---|---|
| Stablecoin to stablecoin, such as USDC to USDT | 0.1% to 0.3% | Prices barely move, so a tight limit costs little |
| Major tokens, such as ETH or wrapped BTC | 0.3% to 0.5% | Deep liquidity and moderate volatility |
| Smaller or volatile tokens | 0.5% to 1% | Thinner pools move more between quote and block |
| Tokens with transfer taxes | Only what the tax requires, after reading the contract | High settings are where bad fills hide |
Setting slippage is a trade-off. Too tight and the swap fails in a fast market, and on EVM networks a failed transaction still pays its network fee. Too loose and you hand the difference to whoever can capture it.
On a public mempool, bots watch for large pending swaps. In a sandwich, a bot buys just before your trade, lets your trade push the price up, then sells right after. ethereum.org's MEV documentation notes that sandwiched users get more slippage and worse execution.
Your slippage tolerance is the bot's budget. Allow 3% and a bot can push your fill to just inside 3% and pocket much of the gap. Practical defenses:
- Keep slippage as tight as the pair allows.
- Split very large trades, or wait for deeper liquidity.
- Prefer routes that submit transactions privately instead of through the public mempool, where your wallet or aggregator offers that.
- Be wary of thin, newly launched tokens, where both impact and sandwich profits run highest.
| Cost | What drives it | How to keep it down |
|---|---|---|
| Pool fee | Set per pool: 0.30% on Uniswap v2, standard tiers of 0.05%, 0.30% and 1% on v3, any level on v4 | Liquid pairs can route through low-fee pools |
| Price impact | Your trade size against pool depth | Smaller trades, deeper pools, split routes |
| Slippage used | Price moves and bots between quote and block | A tight tolerance |
| Network fee | Network demand and route complexity | A layer 2 for smaller trades |
| Token approval | Your first swap of an ERC-20 through a contract | Usually needed once per token and contract; revoke unused ones later |
| Service fee | Charged by some providers or wallets | Read the quote breakdown |
On Ethereum mainnet the network fee can swallow a small trade, while on a layer 2 it is usually minor. Our guide to Ethereum gas fees shows how that fee is set, and our explainer on EIP-7702 smart accounts, live on Ethereum since the Pectra upgrade on May 7, 2025, shows how batching can fold the approval and the swap into one step.
- Confirm the token contract, not just the symbol. Copycat tokens reuse names.
- Read the minimum received and the price impact before the rate.
- If price impact is above about 1%, try a smaller amount or a different pair.
- Set slippage for the pair type, not the most the app allows.
- Keep enough of the network's coin for the fee, plus the approval on a first swap.
- Refresh a stale quote instead of confirming it.
- Review your approvals now and then and revoke the ones you no longer use.
Terra Wallet gets quotes from 0x on Ethereum, BNB Smart Chain, Polygon, Avalanche, Arbitrum, Optimism and Base, from Jupiter on Solana and from SunSwap on Tron. The swap is signed on your device and settles from your own address, and the quote refreshes while the Swap screen is open.
In the Android app you choose 0.1%, 0.5% (the default) or 1.0% slippage, and the browser extension also accepts a custom value. On Solana, Jupiter sets slippage for each order itself. The screen shows price impact when the route reports it and highlights a high value.
The Android app also simulates EVM swaps right before sending, so a swap that is sure to fail is stopped before it costs a fee, and the first swap of a token uses a single Approve & Swap confirmation. The features page describes swaps and bridging, the chains page shows where swaps are available, and the swap FAQ covers quotes and failed swaps.
Price impact is the price change your own trade causes, and it is already in the quote. Slippage is any further movement between the quote and execution, which your tolerance caps. A large trade in a thin pool has high price impact even when slippage is zero.
Start low and raise it only when swaps fail for a clear reason. Roughly 0.1% to 0.3% suits stablecoin pairs, 0.3% to 0.5% major tokens, and 0.5% to 1% smaller or volatile ones. A token that only trades at 10% or more deserves a hard look at its contract.
Usually, for anything beyond small trades in the most liquid pairs. An aggregator compares many pools and can split your order, while a single DEX offers only its own liquidity. Check the quote anyway, because the best route can change by the second.
Most often the price moved past your slippage limit before the transaction confirmed, your balance of the network's coin was too low for the fee, or a token approval was still pending. On EVM networks the failed attempt still costs gas, so refresh the quote before retrying.
This article is for education only and is not financial, investment, tax or legal advice.
Sources
- developers.uniswap.org: How Uniswap works (opens in a new tab)
- developers.uniswap.org: Fees (opens in a new tab)
- docs.0x.org (opens in a new tab)
- ethereum.org: MEV (opens in a new tab)
- ethereum.org: Gas (opens in a new tab)
- eips.ethereum.org: EIP-7702 (opens in a new tab)
- ethereum.org: Pectra (opens in a new tab)


