Trading Fundamentals

Liquidity, Slippage, and Spread

Why your fill differs from the quoted price and how position size interacts with liquidity.

5 min readReviewed by Pim Feltkamp · Aug 11, 2026, 09:45 PM

Before this guide, read Reading an Order Book and Depth Chart.

Slippage is the difference between the price you expected when you placed an order and the price you actually received, and liquidity — how much resting buying and selling interest exists near the current price — is what determines how big that difference is. Together with the spread, slippage is the invisible cost of trading: it appears on no fee schedule, yet for large orders or thin markets it routinely costs more than the exchange's stated fees.

Three costs hide inside every execution

When you trade, you can lose money to the market's structure in three distinct ways, and it pays to keep them separate:

  1. The spread. The gap between the best bid and best ask. If a token quotes $10.00 bid / $10.10 ask, buying at the ask and instantly selling at the bid loses 1% with price never moving. Half the spread is effectively paid on every immediate execution, in and out.
  2. Slippage from depth. A market order larger than the best level walks deeper into the book, filling at progressively worse prices. This scales with your size relative to available depth.
  3. Slippage from movement. Between the moment you decide and the moment your order reaches the matching engine, price moves. In calm markets this is negligible; during news or cascading liquidations, it can dwarf everything else.

Exchange fees are printed and predictable. These three are situational — which is why the same strategy can be profitable on a liquid pair and a guaranteed loser on an illiquid one.

A worked example: size against depth

Suppose an altcoin's ask side shows: 2,000 tokens at $5.00, then 3,000 at $5.03, then 5,000 at $5.08, then 8,000 at $5.20.

  • A market buy of 1,000 tokens fills entirely at $5.00. Slippage: zero (you still paid the spread).
  • A market buy of 5,000 tokens takes all of the $5.00 and $5.03 levels: average price $5.018, or 0.36% above the best ask.
  • A market buy of 15,000 tokens consumes three full levels and most of the fourth: average around $5.10, roughly 2% above the quote — and the last visible price is now $5.20, so the chart shows a spike you caused.

Same market, same moment; the only variable is order size. Slippage is not a property of the asset alone — it is the interaction between your size and the book's depth at that instant. This is why doubling position size can more than double execution cost, and why large traders slice orders into pieces over time instead of trading in one block.

The same arithmetic runs in reverse when you sell — and it is worst exactly when you most want out, because in a sharp sell-off bids get pulled and the book below you thins out just as sellers rush in.

What makes a market liquid or thin

Liquidity concentrates where trading activity concentrates. The drivers are mostly common sense:

  • Major pairs on major venues (BTC and ETH against USD or major stablecoins on top exchanges) carry deep books because market makers earn steady fees quoting them.
  • Small-cap coins are thin almost everywhere: fewer holders, fewer makers, and often one venue holds most of what liquidity exists.
  • Time matters. Depth is thinner on weekends and outside overlapping US/European/Asian activity hours, and it evaporates during violent moves — makers widen quotes or step away when volatility spikes, precisely when takers flood in.
  • Venue matters. The same coin can have a deep book on one exchange and a decorative one on another. Reported trading volume is a rough proxy for liquidity, with a caveat: volume can be inflated or wash-traded, whereas visible, stable depth is harder to fake for long.

A useful habit is judging liquidity by consequence: how much could I sell right now within 0.5% of the mid price? That number — your practical exit capacity — is the honest measure of a market's liquidity for you.

Slippage on DEXs: the tolerance setting

Decentralized exchanges make slippage explicit. Because your swap executes on-chain some seconds after you sign it, the pool's price can change in between, so DEX interfaces ask for a slippage tolerance — the worst execution you will accept before the transaction reverts.

Set it too tight (say 0.1% in a volatile moment) and your transaction fails, costing gas for nothing. Set it too loose (5%+) and you invite sandwich attacks: bots that see your pending swap, buy ahead of it to push the price up, let your swap execute at the worse price, and sell immediately after — pocketing your tolerance as their profit. Reasonable practice is to keep tolerance as tight as the pair's volatility allows (often 0.1-0.5% for major pairs), trade through interfaces with MEV protection where available, and treat any pool where a small trade shows large price impact as too shallow to use. The AMM guide in the DeFi path covers the pool mechanics behind this; here the point is simply that on a DEX, slippage is a parameter you control and attackers exploit.

Managing execution cost in practice

You cannot eliminate these costs, but a few habits shrink them substantially:

  • Use limit orders in anything but deep markets. A resting limit order pays no depth slippage and usually earns the lower maker fee. The cost is fill uncertainty.
  • Check depth against your size first. If your order would consume more than the first level or two, split it into smaller pieces over minutes or hours.
  • Size positions with the exit in mind. The relevant question is not whether you can buy a position but whether you can sell it during stress. In thin coins, cap position size at what the book can absorb within an acceptable band.
  • Avoid trading into volatility spikes unless your plan requires it. The minutes around major news carry the widest spreads and thinnest books; execution cost during those windows is a multiple of normal.
  • Measure your own slippage. Compare your average fill to the mid price at decision time across your trades. If you trade often, this number is a real performance line item — for active traders it often exceeds fees, and it is the first thing worth optimizing.

Spread, depth, and timing are the market quietly charging you for participation. Traders who respect those charges size appropriately and execute patiently; traders who ignore them wonder why results trail the chart.

Key Takeaways

  • Your true trading cost is fees plus spread plus slippage — and the last two are situational, invisible on fee schedules, and often larger than fees.
  • Slippage scales with your order size relative to book depth: the same order can be free in a deep market and cost percent-level money in a thin one.
  • Liquidity vanishes exactly when you need it — during crashes and news, spreads widen and depth thins as makers step back.
  • On DEXs, slippage tolerance is a setting: too tight wastes gas on failed swaps, too loose feeds sandwich bots.
  • Size every position by exit capacity: what you can sell within a tight band during stress, not what you can buy in calm.

Educational content, not financial advice. Read the full disclaimer.

Next in Trading Fundamentals

Position Sizing and Risk per Trade