Price Impact

DeFi Updated Mar 2026

What is Price Impact?

Price impact is the change in an asset’s price that occurs as a direct consequence of a trade being executed against a liquidity pool. In a traditional order book, a large buy order eats through successive sell levels, moving the price up; the same mechanic applies in decentralized automated market makers (AMMs) like Uniswap, Curve, and Balancer, but the “order book” is replaced by a mathematical bonding curve. When you swap tokens, your trade changes the ratio of reserves in the pool, and that new ratio is the new price. The larger your trade relative to the pool’s liquidity, the more you move the price against yourself—this is price impact, and it is the single biggest cost (after gas) that large traders face in DeFi.

Price impact is distinct from slippage, though the two are often confused. Price impact is a deterministic function of your trade size and the pool’s current reserves—it is the math of the bonding curve. Slippage is the additional adverse movement caused by other transactions landing between your submission and execution (MEV, front-running, sandwich attacks). You can compute your expected price impact before trading; you cannot fully predict slippage. Both reduce the effective price you receive, and in Uniswap’s UI they are often shown together as “price impact,” which can blur the distinction. Understanding the difference lets you route trades optimally and avoid being exploited.

The economic stakes are real. On Uniswap V3, a $1 million USDC→WETH swap in a pool with $10M liquidity incurs roughly 0.5–2% price impact ($5,000–$20,000 in hidden cost), while the same swap in a $100M-deep pool costs only ~0.05%. During volatile periods, sandwich attackers extract additional value by front-running large swaps, converting your 1% price impact into 3–5% realized loss. Total MEV (much of it sandwich-driven) extracted from Ethereum users exceeded $1.2 billion between 2020 and 2023, with price impact being the core mechanic the attackers exploit. For anyone trading more than a few thousand dollars on a DEX, understanding and minimizing price impact is essential.

How It Works

The Constant Product Formula (Uniswap V2)

Uniswap V2 (and most AMMs) use the constant product invariant: x * y = k, where x and y are the reserves of the two tokens and k is a constant that does not change during a swap (ignoring fees). The spot price is x / y (or y / x, depending on direction). When you add Δx of token X and remove Δy of token Y, the new reserves must still satisfy (x + Δx) * (y - Δy) = k. Solving for the output:

Δy = y - (k / (x + Δx))
   = y * Δx / (x + Δx)

The effective price you receive is Δy / Δx, which is always worse (smaller output per unit input) than the starting spot price y / x because your trade pushed the ratio. The percentage difference between the spot price and your effective price is the price impact.

Worked Example: A $100K Swap in a $1M Pool

Suppose a Uniswap V2 pool holds 500,000 USDC (x) and 500,000 USDC-equivalent of WETH (y), so the spot price is 1:1 and k = 2.5 × 10¹¹. You swap 100,000 USDC for WETH:

  • New x = 500,000 + 100,000 = 600,000
  • New y = k / new_x = 2.5×10¹¹ / 600,000 = 416,667 WETH
  • WETH received = 500,000 − 416,667 = 83,333 WETH
  • Effective price = 83,333 / 100,000 = 0.833 WETH per USDC
  • Price impact = (1 − 0.833) / 1 = 16.7%

You put in $100K but received only $83,333 equivalent of WETH—a $16,667 loss purely from price impact. If you had instead swapped only $10,000, the price impact would be ~1.8% (a $182 loss), illustrating the non-linear scaling: impact grows roughly proportionally to trade size / pool size. A general rule of thumb: trading an amount equal to 1% of pool TVL costs about 1% in price impact (and it accelerates super-linearly for larger trades).

Concentrated Liquidity (Uniswap V3)

Uniswap V3 revolutionized price impact by allowing liquidity providers (LPs) to concentrate their capital in specific price ranges. Instead of spreading liquidity evenly from zero to infinity (V2’s model), an LP can place all their capital in, say, the $1,800–$2,200 ETH range. This means the pool’s effective depth at the current price can be 5–10× higher for the same TVL, dramatically reducing price impact for trades within that range. However, if the price moves outside an LP’s range, their liquidity becomes inactive and no longer absorbs trades—so V3’s price impact is range-dependent: deep at the center, but it spikes sharply if trades push price toward the edge of active liquidity.

A V3 pool with $50M TVL concentrated in the active tick range might offer the price impact of a hypothetical $300M V2 pool for small-to-medium trades, but a single large swap that exhausts the concentrated range can see impact jump from 0.1% to 5% in a single trade. This is why V3 “ticks” and active liquidity charts are essential for large traders—tools like Uniswap’s info page and DeFi Llama’s “DEX volume / TVL” ratio help gauge expected impact.

Routing and Multi-Hop to Minimize Impact

Because price impact scales with trade size relative to pool depth, splitting a large order across multiple pools and routes reduces total impact. A $1M USDC→WETH swap on Uniswap V3 might be routed as: (1) $400K via the USDC/WETH 0.05% pool, (2) $350K via USDC/USDT→WETH (two hops through a deep stable pool), and (3) $250K via a competing AMM (SushiSwap, Curve). The Uniswap auto-router computes the optimal split using the marginal price curves of each pool. Properly routed, a $1M swap might achieve 0.15% combined impact instead of 0.6% in a single pool—a $4,500 saving.

Relationship to MEV and Sandwich Attacks

Price impact is the engine that makes sandwich attacks profitable. A sandwich attacker (via a MEV searcher) monitors the mempool for a large pending swap, submits a front-run buy that moves the price up (exploiting the victim’s price impact in advance), then submits a back-run sell after the victim’s swap executes at the inflated price, capturing the difference as profit. The victim suffers the full price impact of their trade plus the attacker’s markup. On Ethereum, sandwich attacks have extracted hundreds of millions of dollars from retail traders. Defenses include: using MEV-protected routers (Uniswap X, 1inch Fusion, CoW Swap) that batch and match orders off-chain, splitting large trades across blocks, and trading on low-MEV chains or during low-activity windows.

Real-World Examples

Uniswap V3 ETH/USDC (2024): The 0.05% fee ETH/USDC pool on Ethereum mainnet holds roughly $200–400 million in active concentrated liquidity around the spot price. A $100,000 ETH→USDC swap typically incurs 0.03–0.08% price impact (~$30–$80). A $5 million swap in the same pool incurs roughly 0.5–1.5% impact ($25,000–$75,000). The same $5M trade routed across Uniswap V3, SushiSwap, Curve, and Balancer via 1inch might achieve ~0.25% combined impact, saving tens of thousands of dollars.

The “Stablecoin Depeg” Cascade (March 2023, USDC): When Silicon Valley Bank collapsed on March 10, 2023, USDC briefly depegged to $0.87 on fears Circle’s reserves were stuck at SVB. Traders rushed to swap USDC for USDT and DAI. The Curve 3pool (USDC/USDT/DAI), normally a near-zero-impact pool, saw price impacts of 3–8% on moderate trades as the pool’s USDC reserve swelled and USDT/DAI drained. A trader swapping $2M USDC→USDT during the peak panic received as little as $1.82M USDT—an $180,000 price-impact loss in a pool that normally costs cents.

Low-Liquidity Altcoin Pools: Tokens with thin liquidity are notorious for extreme price impact. A meme token with a Uniswap V2 pool of $200,000 TVL can see a $10,000 buy incur ~5% impact, and a $50,000 buy incur ~20%+ impact, making it effectively impossible to enter or exit large positions without self-destructing the price. This is why “low-cap” tokens are often illiquid in practice and why rug pulls are devastating: the attacker removes liquidity after the price impact has driven the token up, leaving holders unable to exit at any size.

Key Risks / Considerations

  • Size-to-pool ratio is everything: Always check the pool’s TVL and active liquidity before trading. A rule of thumb: if your trade is more than 0.5% of pool TVL, expect meaningful price impact (>0.5%). Tools like Uniswap’s UI, DexScreener, and DEX aggregators display estimated impact before you confirm.
  • Concentrated liquidity “cliffs”: On Uniswap V3, check the active liquidity chart. If your trade will push price near the edge of the active range, impact spikes sharply. Large trades should be split or routed to avoid exhausting a single range.
  • MEV and sandwich risk: Visible price impact invites sandwich attacks. Use MEV-protected routers (Uniswap X, CoW Swap, 1inch Fusion) for large trades, or set a tight slippage tolerance (0.5% or less) so the transaction reverts rather than executing at an attacker-manipulated price.
  • Slippage tolerance vs. price impact: Setting a high slippage tolerance (e.g., 5%) does not reduce price impact—it only allows the trade to execute even if the realized price is 5% worse than expected. Price impact is paid regardless; slippage tolerance is your loss cap. Set slippage based on volatility, not on impact size.
  • Fee tier interaction: Uniswap V3 pools with different fee tiers (0.01%, 0.05%, 0.30%, 1.00%) have different liquidity depth. The 0.05% ETH/USDC pool is usually deepest; the 1.00% pool (for exotic pairs) is often thin. Check which fee tier has the most active liquidity for your pair.

Comparison Table: Price Impact by Trade Size and Pool Depth (Uniswap V2 model)

Trade Size as % of Pool TVLApproximate Price ImpactExample ($10M Pool, $ Swap)
0.1% ($10K)~0.10%$10 loss
1% ($100K)~1.0%$1,000 loss
5% ($500K)~4.9%$24,500 loss
10% ($1M)~9.5%$95,000 loss
20% ($2M)~19%$380,000 loss

(Approximate; actual impact varies with pool fees and exact reserve ratios. Uniswap V3 concentrated liquidity can reduce these figures by 5–20× within the active range.)

Frequently Asked Questions

Q: What is the difference between price impact and slippage? A: Price impact is the deterministic price change caused by your trade moving the bonding curve—a function of your trade size and the pool’s reserves. Slippage is the additional adverse price movement caused by other transactions (MEV, front-running, or normal market movement) landing between when you submit and when your trade executes. You can compute price impact in advance; slippage is unpredictable and is what your “slippage tolerance” setting caps.

Q: How can I reduce price impact on a large trade? A: Three main strategies: (1) Route via an aggregator (1inch, Paraswap, Uniswap auto-router) that splits your trade across multiple pools and AMMs. (2) Split the trade across multiple blocks or time intervals (e.g., four $250K swaps instead of one $1M swap), accepting some market-timing risk. (3) Use a MEV-protected or RFQ (request-for-quote) router like Uniswap X, CoW Swap, or 1inch Fusion, which match your order against off-chain liquidity or batch it with others to minimize both impact and sandwich risk.

Q: Why does Uniswap V3 have lower price impact than V2 for the same TVL? A: Because V3 LPs can concentrate their capital in the active price range. A V2 pool spreads liquidity evenly from price 0 to infinity, so only a small fraction sits near the current price. A V3 pool can place all its TVL in, say, a ±10% range around spot, meaning the effective depth at the current price is many times higher. The trade-off is that V3 impact spikes sharply if the price leaves the concentrated range.

Q: Does price impact affect liquidity providers or just traders? A: It primarily affects traders (who pay the impact as a worse effective price). Liquidity providers capture the price impact as fees and as arbitrage that rebalances the pool—this is related to impermanent loss, the difference between holding tokens versus providing them as liquidity. Large price-moving trades (including sandwich attacks) generate fee revenue for LPs but also drive impermanent loss as the pool’s ratio diverges from an external holder’s ratio.

Q: Is price impact the same on Curve as on Uniswap? A: No. Curve uses a stable-swap invariant (a hybrid of constant-product and constant-sum) that keeps price impact extremely low for assets expected to trade near parity (USDC/USDT/DAI). A $1M stablecoin swap on Curve’s 3pool might incur 0.01% impact versus 0.5%+ on a Uniswap V2 stablecoin pool. This is why Curve dominates stablecoin and like-asset (e.g., stETH/ETH) trading volume. For volatile pairs (ETH/USDC), Uniswap V3 is typically more efficient due to concentrated liquidity.