Price Impact vs. Slippage on a DEX

Price impact is how your own order changes the quote. Slippage is the difference between that quote and what you receive.

A token trades at $1. You enter $100 into a decentralized exchange (DEX), and the preview offers 98 tokens. By the time the swap goes through, you receive 97. Where did the three-token difference come from?

In this example, two tokens are explained by price impact. Your order is large enough to move the price in the liquidity pool, and the quote already accounts for that. One more token is explained by slippage. Another trade changes the pool’s price after you get your quote and before your swap goes through. We’ll leave fees out so you can follow each change.1

How a $100 swap goes from 100 tokens to 97
StageTokens for $100How to read it
Before you enter the order100The pool’s starting price gives you a reference point of $1 per token.
When you preview the swap98The quote is 2 tokens below the 100-token reference. That’s 2% price impact measured against the expected output.
When the swap completes97You receive 1 token fewer than the 98 quoted. That’s 1 ÷ 98, or about 1.02% adverse slippage.

What does slippage tolerance change?

Look for the minimum output in the swap details. With a quote of 98 tokens, suppose the screen shows a minimum of 97.02.2

An outcome of 97.5 clears that floor. Under this minimum, a swap that would deliver only 97 tokens fails. Raising the tolerance allows a lower payout. The two tokens of price impact are already reflected in the original quote of 98.3

How can you spot price impact before signing?

Preview a smaller order in the same pool and compare the tokens per dollar. If $10 buys 9.98 tokens while $100 buys 98, the smaller order gets 0.998 tokens per dollar and the larger one gets 0.98. With the same starting pool price and route, the two quotes show the effect of order size before you execute either swap.

For a closer look at how trade size affects what you can sell for, see Fenton’s guide to token liquidity.

Sources & methodology

  1. 01
  2. 02
  3. 03

How this was prepared

The swap amounts are illustrative. Calculations use a fixed dollar input and exclude fees. Definitions and swap controls were checked against Uniswap Labs documentation.

Disclosure

Fenton Research publishes educational market research. This guide is for informational purposes.

Build the full picture.

All guides
Recorded Coinbase BTC–USD bids produce modeled average sale prices of $84,787.81 for 0.1 BTC, $84,782.47 for 1 BTC, $84,768.78 for 10 BTC and $84,677.02 for 100 BTC, before fees.
Liquidity6 min read

A token’s price is a quote. Liquidity is the exit.

A recorded BTC–USD order book shows how sale size changes the average price. Reproduce the calculation, inspect its limits, and learn what a liquidity claim needs to disclose.

Read guide