Why Slippage Happens in DeFi

Slippage in DeFi isn't friction or bad luck — it's a mathematical consequence of how automated market makers work. This post explains price impact, the slippage tolerance trap, and how the design is evolving.
Lewis Jackson
CEO and Founder

Every time you use a decentralized exchange, you'll see a slippage setting — usually defaulted to 0.5% or 1%. Most people accept it without thinking. The UI makes it feel like a technical detail, something to configure and move on from.

It's not a technical detail. Slippage is a direct consequence of how DeFi trading is designed, and understanding it tells you something important about how automated market makers actually work — and why certain trades carry risks that order books don't.

Why AMMs Create Price Impact

To understand why slippage happens in DeFi, you need to understand what's different about AMMs compared to how trading works elsewhere.

On a centralized exchange, trading happens through an order book. Buyers post limit orders (buy at $X or better), sellers post limit orders (sell at $X or better), and a matching engine pairs them. When you execute a market trade, you're being matched against someone else's standing order. If a limit order exists at your price, you get that price — precisely.

AMMs don't work that way. There's no order book, no counterparty standing ready to match you. Instead, there's a pool of tokens locked in a smart contract, governed by a mathematical formula that determines the price at any moment.

The most common is the constant product formula, pioneered by Uniswap: x × y = k

Where x and y are the quantities of the two tokens in the pool, and k is a constant that never changes. This formula has one specific consequence: as you buy token A from the pool, the supply of A decreases and the supply of B increases. The formula forces the price to move against you as the trade executes.

Here's what that looks like in practice. Suppose a pool holds 1,000 ETH and 2,000,000 USDC. The current price is 2,000 USDC per ETH. You want to buy 50 ETH.

After your purchase, the pool has 950 ETH. For the product to remain constant, it now needs roughly 2,105,263 USDC. You paid about 105,263 USDC for 50 ETH — that's approximately 2,105 per ETH rather than 2,000. You paid 5.25% more than the quoted price.

You didn't do anything wrong. That's just what the formula does.

This is called price impact — the mathematical shift in price caused directly by your trade. It's distinct from the broader concept of slippage, which also includes price movement that happens between when you submit a transaction and when it confirms on-chain. Both matter, but price impact is the structural one: it's baked into the AMM model by design.

The key variable is trade size relative to pool size. Small trades in deep pools produce minimal price impact. Large trades in shallow pools can be brutal. A $500 trade in a $10 million pool barely registers. The same trade in a $50,000 pool will move the price significantly — and you'll eat that difference.

The Slippage Tolerance Setting

The slippage tolerance setting in your DEX interface is a safety limit, not a fee. You're instructing the smart contract: if the actual execution price is worse than X% from what I expected, revert the transaction entirely. This protects against the combination of price impact and market movement — if ETH drops 2% while your transaction is sitting in the mempool waiting to confirm, and you've set 0.5% tolerance, the trade fails rather than executing at a much worse price.

Here's the problem with wide slippage tolerances: they make you a target for MEV bots. Bots monitor the mempool for pending transactions. If your tolerance is wide enough — say, 5% — a bot can profitably sandwich you: buy ahead of your trade to push the price up, let your trade execute at the inflated price, then immediately sell. You absorb the impact; the bot collects it as profit.

Setting tolerance too low: your trade fails in volatile conditions, which is annoying and wastes gas. Setting it too high: you're broadcasting how much you're willing to overpay, and extraction follows. There's no single correct number — it depends on the token pair, pool depth, and network conditions. This is where a lot of DeFi friction actually lives, not in the fees.

What's Changing

A few structural developments are reducing slippage's severity without eliminating it.

Concentrated liquidity (introduced by Uniswap v3) lets liquidity providers deposit tokens only within a specified price range rather than across the entire curve. This concentrates capital near the current price, dramatically cutting price impact for trades that execute within the range. The tradeoff is higher impermanent loss exposure for LPs if price moves outside their range — but for stable pairs or major assets, it's a meaningful improvement in execution quality.

DEX aggregators like 1inch, Paraswap, and Jupiter route trades across multiple pools simultaneously. Rather than hitting one pool and moving the price significantly, they split large orders across several pools where the combined impact is smaller. For anything above a few thousand dollars, aggregation frequently saves meaningful amounts.

MEV-protective RPC endpoints — Flashbots Protect, MEV Blocker — submit transactions through channels that aren't visible to front-running bots. This doesn't fix price impact from the AMM formula, but it removes the sandwich attack layer that exploits your slippage tolerance setting.

CoW Protocol tries a different approach: match users' orders against each other off-chain before touching any AMM. If two users want to swap in opposite directions, they can settle directly at the fair price with no AMM price impact at all. It only falls back to a pool if no direct match exists. The concept is sound; adoption is the current bottleneck.

Confirmation and Invalidation Signals

The structural improvement thesis holds if: concentrated liquidity becomes the default across major pairs, aggregator routing is embedded in standard wallet interfaces rather than requiring a separate tool, and MEV-protective submission becomes the default rather than an opt-in.

It gets weaker if: liquidity fragments across too many chains and pools for aggregation to remain effective — a fragmented landscape means no single pool is deep enough to absorb large trades cleanly. Alternatively, if intent-based architectures scale (where users express desired outcomes rather than executing directly against pools), the entire AMM slippage dynamic could be abstracted away. That's early-stage and multi-year, but the directional pressure is real.

Timing Perspective

Now: Price impact is structural on every AMM. Checking pool depth before large trades, understanding your slippage tolerance exposure, and using a DEX aggregator for anything significant are relevant today.

Next: Concentrated liquidity is deployed but adoption is uneven. Aggregators are mature. MEV protection is available but not yet universal across major wallets.

Later: Intent-based trading architectures could change the execution model significantly over a multi-year horizon.

What This Post Doesn't Cover

This is a mechanism explanation. It doesn't tell you which DEX to use, what slippage settings are appropriate for your trades, or whether DeFi trading is suitable for your situation. Order book DEXes operate differently — this applies to AMM-based designs. The mechanics here are stable; the tooling built on top of them is still evolving.

Related Posts

See All
Crypto Research
New XRP-Focused Research Defining the “Velocity Threshold” for Global Settlement and Liquidity
A lot of people looking at my recent research have asked the same question: “Surely Ripple already understands all of this. So what does that mean for XRP?” That question is completely valid — and it turns out it’s the right question to ask. This research breaks down why XRP is unlikely to be the internal settlement asset of CBDC shared ledgers or unified bank platforms, and why that doesn’t mean XRP is irrelevant. Instead, it explains where XRP realistically fits in the system banks are actually building: at the seams, where different rulebooks, platforms, and networks still need to connect. Using liquidity math, system design, and real-world settlement mechanics, this piece explains: why most value settles inside venues, not through bridges why XRP’s role is narrower but more precise than most narratives suggest how velocity (refresh interval) determines whether XRP creates scarcity or just throughput and why Ripple’s strategy makes more sense once you stop assuming XRP must be “the core of everything” This isn’t a bullish or bearish take — it’s a structural one. If you want to understand XRP beyond hype and price targets, this is the question you need to grapple with.
Read Now
Crypto Research
The Jackson Liquidity Framework - Announcement
Lewis Jackson Ventures announces the release of the Jackson Liquidity Framework — the first quantitative, regulator-aligned model for liquidity sizing in AMM-based settlement systems, CBDC corridors, and tokenised financial infrastructures. Developed using advanced stochastic simulations and grounded in Basel III and PFMI principles, the framework provides a missing methodology for determining how much liquidity prefunded AMM pools actually require under real-world flow conditions.
Read Now
Crypto Research
Banks, Stablecoins, and Tokenized Assets
In Episode 011 of The Macro, crypto analyst Lewis Jackson unpacks a pivotal week in global finance — one marked by record growth in tokenized assets, expanding stablecoin adoption across emerging markets, and major institutions deepening their blockchain commitments. This research brief summarises Jackson’s key findings, from tokenized deposits to institutional RWA chains and AI-driven compliance, and explains how these developments signal a maturing, multi-rail settlement architecture spanning Ethereum, XRPL, stablecoin networks, and new interoperability layers.Taken together, this episode marks a structural shift toward programmable finance, instant settlement, and tokenized real-world assets at global scale.
Read Now

Related Posts

See All
No items found.
Lewsletter

Weekly notes on what I’m seeing

A personal letter I send straight to your inbox —reflections on crypto, wealth, time and life.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.