Guide · Execution

How to set slippage tolerance

Slippage tolerance is the single setting that most often decides whether your swap fills cleanly, fails outright, or gets sandwiched for a worse price. It is the maximum amount the price is allowed to move between the moment you sign and the moment the transaction confirms on-chain. Set it too tight and your transaction reverts when the market ticks against you, wasting gas. Set it too loose and you hand front-running bots an open invitation to push your fill to the edge of what you authorized.

This guide explains what slippage actually controls, gives concrete starting numbers for different kinds of pairs, and shows how slippage interacts with price impact and pool depth so you can choose a value deliberately instead of guessing.

What slippage tolerance really controls

When you accept a quote, the swap contract is told a minimum amount of output tokens you will accept. That floor is derived from the quoted price minus your slippage tolerance. If, by the time miners or validators include your transaction, the realized price still delivers at least that minimum, the swap succeeds. If the price has moved beyond your tolerance, the contract reverts to protect you. Slippage is therefore a protection, not a fee. You do not pay your slippage tolerance — it is simply the worst outcome you are willing to accept. Most of the time you receive better than the floor.

Practical starting numbers

For deep stablecoin pairs (USDC to USDT, for example) 0.1% to 0.3% is usually enough. For a blue-chip token against a stablecoin or the native gas coin on a major chain, 0.5% is a sensible default. For mid-cap tokens with moderate liquidity, 1% to 2% is common. For thin or freshly launched memecoins, you may need 3% or more simply to get a fill — but at that point you should also shrink your trade size, because the wide tolerance is a symptom of a shallow pool that will move sharply against you. These are starting points, not rules. The right number depends on the specific pool depth at the time you trade, which is why the same token can need different settings on different days.

Slippage is not price impact

Traders constantly confuse the two. Price impact is what your own trade does to the pool: a large order against a small reserve moves the price along the curve before anyone else acts. Slippage tolerance is your buffer against everyone else's activity between signing and confirmation. A $50,000 trade into a $200,000 pool will show large price impact no matter how you set slippage — widening tolerance will not save you from a thin market, it will only let the bad fill go through. The fix for high price impact is a smaller trade or a deeper venue, not a looser slippage setting.

Why a loose setting is dangerous on public mempools

On Ethereum and most EVM chains, pending transactions are visible in a public mempool before they confirm. A high slippage tolerance tells searchers exactly how much room they have to sandwich you: they buy in front of your trade, let your order push the price up, and sell into it, pocketing the difference your tolerance allowed. Keeping slippage as tight as the pool permits shrinks that attack surface. For large or sensitive trades, splitting the order into smaller clips reduces both price impact and the profit available to a sandwich.

A repeatable method

Start with the lowest tolerance that lets the quote simulate successfully. If the transaction fails, raise it one step at a time rather than maxing it out. For anything beyond a routine trade, check the pool's depth in Discover first so your tolerance reflects real liquidity. And whenever you pause for more than a minute between previewing and signing, request a fresh quote — the floor you accepted earlier was based on a price that has since moved.

Legal

Risk disclosure

XAUConnect is a non-custodial swap aggregator. Digital assets are volatile and may lose value rapidly. Content on this page is educational and not investment advice. Verify every contract address on the official block explorer before approving a transaction.

Frequently asked questions

What happens if slippage is set too low?

The transaction reverts when the realized price falls below your minimum, and on most EVM chains you still pay gas for the failed attempt. Raise the tolerance slightly and retry.

Is higher slippage ever the right choice?

Sometimes — thin or fast-moving pools may not fill at a tight setting. But pair a higher tolerance with a smaller trade size, because a wide tolerance on a shallow pool is exactly what sandwich bots exploit.

Does slippage cost me money directly?

No. Slippage tolerance is a maximum acceptable loss, not a fee. You frequently receive better than the floor; it only matters when the market moves against you before confirmation.

Why does the same token need different slippage on different days?

Because pool depth and volatility change. A pair that is deep and calm one day may be thin and choppy the next, so the tolerance that worked before may be too tight now.

Live execution

Trade on XAUConnect

Open the swap page to compare live routes, set slippage, and sign from your own wallet — fully non-custodial.

Continue exploring

Related markets, guides & networks

Curated next steps based on this topic — deepen your research before you trade.

Build programmatically

Swap via API for bots and AI agents — quotes, builds, and cross-chain routes.

Developer quickstart