Education
What Is a Liquidity Pool? The Engine Behind Every DeFi Trade
Every swap on a decentralized exchange runs through a liquidity pool, not an order book. Here's what that actually means, and why it changes how prices move.
A liquidity pool is a shared pot of two (or more) tokens, locked into a smart contract, that traders swap against directly — instead of the buyer-meets-seller order book model that traditional exchanges and centralized crypto exchanges use. Anyone can deposit tokens into a pool and earn a share of the trading fees it generates; anyone can trade against the pool at a price the contract calculates automatically.
That automatic pricing is the key mechanical difference. Most pools use a formula — commonly one that keeps the product of the two token quantities constant — to set the exchange rate between them. As a trade removes some of one token and adds the other, the formula shifts the price for the next trade, without needing a matching counterparty on the other side the way an order book does.
This has a direct, practical consequence: the larger a trade is relative to the size of the pool, the more it moves the price against the trader — a cost known as slippage, distinct from any trading fee. A trade that's tiny relative to a deep pool barely moves the price at all; the same trade against a shallow pool can move it substantially, which is exactly why pool depth (total value locked) is one of the first things worth checking before assuming a DeFi price quote is executable at scale.
Understanding this mechanism is genuinely useful even for someone who never plans to use a decentralized exchange directly, because it explains why some crypto assets are far more prone to sharp, thin-liquidity price swings than others — context worth having before treating any two tokens as equally easy to trade in size on Trade2Spike's Markets pages.