Liquidity, slippage and price impact: why you got a worse price
If a trade filled at a worse price than you expected, liquidity is usually the reason. Learn what liquidity and order book depth mean, how slippage and price impact work on exchanges and DEXs, and how to avoid paying for them.
You see a price, place an order and receive less than you expected. The cause is rarely a hidden fee. Usually it is liquidity: how much can be bought or sold near the current price without moving it. Understanding liquidity, slippage and price impact helps you choose where and how to trade, and protects you from some of the most common execution traps in crypto.
What liquidity means
A market is liquid when there are many buyers and sellers willing to trade at prices close to each other. On a liquid pair such as BTC/USDT on a large exchange, you can trade substantial amounts with almost no effect on the price. On an illiquid pair, a modest order can move the price significantly.
Liquidity shows up in two places on an order book:
- Spread: the gap between the best buy and best sell price. Tight spreads indicate liquidity.
- Depth: how much volume sits at each price level near the market. Deep books absorb large orders.
Slippage on centralized exchanges
Slippage is the difference between the price you expected and the average price you actually received. On an order book, a market order fills against the best available orders first, then moves to worse prices if the first level is not large enough.
| Ask price | Volume available |
|---|---|
| 1.000 | 2,000 tokens |
| 1.010 | 3,000 tokens |
| 1.030 | 5,000 tokens |
A market buy of 10,000 tokens fills 2,000 at 1.000, 3,000 at 1.010 and 5,000 at 1.030. The average price is about 1.018, almost 2 percent above the displayed price of 1.000.
Slippage also happens in fast markets: between the moment you click and the moment your order reaches the matching engine, the book can change.
Price impact on decentralized exchanges
Most DEXs use liquidity pools where a formula sets the price based on the ratio of two tokens in the pool. When you buy a token, you add the other token to the pool and remove the one you buy, changing the ratio and the price. The larger your trade relative to the pool, the larger the price impact.
DEX interfaces show an estimated price impact before you confirm. A trade with several percent of impact means you are a significant part of that pool's liquidity. Splitting trades, using aggregators that route across many pools, or trading on a deeper venue can reduce it.
Slippage tolerance
Because the pool price can change between signing and execution, DEX swaps include a slippage tolerance. If the final price would be worse than your tolerance, the transaction fails instead of executing. Too low, and transactions fail often, still costing gas. Too high, and you accept bad prices.
MEV and sandwich attacks
On public blockchains, pending transactions are visible before they are included in a block. Bots watch for large swaps with high slippage tolerance. In a sandwich attack, a bot buys the token just before your swap, pushing the price up, lets your swap execute at the worse price, then sells immediately after. The bot profits; you pay the difference, up to your slippage limit.
Why liquidity matters beyond price
- Exit risk: in illiquid markets you may not be able to sell when you want without crashing the price.
- Manipulation: thin markets are easier to pump and dump.
- Stop orders: in thin books, stop-market orders can fill far below their trigger.
- Fake volume: some platforms or tokens show inflated trading volume; order book depth is a more honest indicator.
How to get better execution
- Trade major pairs on large, liquid venues.
- Use limit orders instead of market orders when the price matters.
- Check order book depth or DEX price impact before large trades.
- Split large orders into smaller ones over time.
- Use DEX aggregators for on-chain swaps.
- Avoid trading during sharp volatility unless necessary.
- Keep slippage tolerance as low as practical.
Liquidity on instant exchangers and P2P markets
Liquidity matters outside order books too. Instant exchangers source liquidity from partners, so rates for rare coins or large amounts can be noticeably worse, and quotes may change before your deposit confirms; a fixed-rate swap protects you from that movement. On P2P marketplaces, liquidity means how many merchants offer your currency and payment method at competitive prices. In thin P2P markets, prices can sit several percent away from the global rate, and large orders may need to be split across several merchants.
Reading liquidity signals quickly
- Compare the bid and ask: a gap above a fraction of a percent on a major coin is unusual.
- Look at the volume within 1 or 2 percent of the price in the order book depth chart.
- On a DEX, compare your trade size with the total value in the pool.
- Be skeptical of very high reported volume combined with a thin order book.
Liquidity when choosing a platform
When you compare exchanges, liquidity on the pairs you actually trade matters more than the total number of coins listed. A platform with fewer pairs but deep books may give you better prices than one with thousands of thin markets. User reviews often mention execution quality, especially for less common coins.
Key takeaways
- Liquidity determines how much you can trade without moving the price.
- Slippage is the gap between expected and actual average price.
- On DEXs, price impact depends on trade size relative to pool size.
- High slippage tolerance invites sandwich attacks.
- Limit orders, deep markets and aggregators improve execution.