A liquidity pool is a smart contract that holds reserves of two or more tokens and lets anyone trade against those reserves at a price set by a formula, without a traditional order book or a matching counterparty. In DeFi, liquidity pools are the core infrastructure of decentralized exchanges (DEXs), lending markets and many yield strategies.
The tokens in a pool come from liquidity providers, who deposit assets in exchange for a share of trading fees. The pricing rule that governs the pool is called an automated market maker (AMM), and its design determines how efficiently the pool uses capital and how much risk providers carry.
How a liquidity pool prices trades
The best-known pricing rule is the constant product formula x · y = k, where x and y are the reserves of the two tokens. A trader who adds token X must remove enough token Y that the product stays constant (before fees). The price is the ratio of the reserves, so every trade moves the price, and larger trades move it more.
Pools do not look at external markets. When a pool’s price drifts away from the wider market, arbitrageurs trade against it until it matches again. Arbitrage is therefore not a side effect but the mechanism that keeps pool prices accurate, and it is also the source of a cost that providers bear.
Each swap pays a fee that stays in the pool, which raises the value of every provider’s share. Common fee tiers range from 0.01 percent for stable pairs to 1 percent for exotic tokens, with 0.3 percent a widely used default for volatile pairs.
The table below summarizes the main elements involved in every pool trade.
| Component | Role | Practical note |
|---|---|---|
| Reserves | Tokens available for trading | Depth reduces price impact |
| Pricing curve | Formula that sets exchange rates | Defines capital efficiency |
| LP tokens or positions | Proof of a provider’s share | Redeemed to withdraw assets |
| Swap fee | Reward for providers | Set per pool or fee tier |
| Arbitrageurs | Align pool price with markets | Capture value from stale prices |
Types of liquidity pools
Pool designs differ mainly in their pricing curve and how liquidity is distributed across prices. The choice trades simplicity against capital efficiency and active management.
| Pool type | Pricing approach | Best fit |
|---|---|---|
| Constant product pool | x · y = k across all prices | Volatile pairs, long-tail tokens |
| Concentrated liquidity pool | Liquidity placed in chosen price ranges | Active providers, major pairs |
| Stable swap pool | Flat curve near a 1:1 ratio | Stablecoins and pegged assets |
| Weighted pool | Reserves held at fixed weights such as 80/20 | Index-like portfolios |
| Lending pool | Interest rate set by utilization | Borrowing and lending markets |
Concentrated liquidity lets a provider supply capital only within a range, for example between 1,800 and 2,200 dollars per ether. Inside that range the position earns far more fees per dollar, but outside it the position earns nothing and sits entirely in one token, so it needs monitoring and rebalancing.
A lending pool works differently from a trading pool. Depositors supply one asset, borrowers take it against collateral, and the utilization rate drives the interest rate. Protocols such as Aave use this model, and the same word pool describes both structures.
Returns and risks for liquidity providers
Providing liquidity is a trade of fee income against price risk. When the relative price of the two tokens changes, arbitrage shifts the pool’s composition toward the token that fell, and the provider ends up with a mix worth less than simply holding the original tokens. This difference is called impermanent loss.
| Price change of one token | Loss versus holding | Interpretation |
|---|---|---|
| 1.25x | About 0.6 percent | Usually covered by fees |
| 1.5x | About 2.0 percent | Fees may or may not cover it |
| 2x | About 5.7 percent | Significant for low-volume pools |
| 4x | About 20 percent | Rarely offset by fees |
| 5x | About 25.5 percent | Holding would have been far better |
The loss becomes permanent when the provider withdraws at a changed price. Beyond impermanent loss, providers face smart contract risk, token risk if one asset collapses or is a scam, and loss-versus-rebalancing, the value that arbitrageurs extract each time the pool updates to a new market price.
Liquidity pools for traders
For traders, the quality of a pool shows up as slippage and price impact. A trade that is small relative to the reserves executes close to the quoted price, while a trade worth several percent of a pool can move the price substantially.
- Set a slippage tolerance that fits the pair, often 0.1 to 0.5 percent for liquid pairs.
- Use aggregators that split large orders across several pools.
- Watch for front-running and sandwich attacks on public mempools.
- Check total value locked and recent volume before trading thin pools.
Total value locked is a useful but incomplete gauge. Liquidity concentrated near the current price matters more than headline totals, because only that liquidity absorbs a trade. A pool with smaller total value but tightly concentrated positions can offer better execution than a larger, evenly spread pool.
Choosing whether and where to provide liquidity
A rational decision compares expected fee income with expected impermanent loss and costs, including gas for deposits, rebalancing and withdrawals.
| Situation | Suitable choice | Reason |
|---|---|---|
| Two stablecoins | Stable swap pool | Low divergence, steady fees |
| Major volatile pair, active manager | Concentrated range position | High fee efficiency |
| Major volatile pair, passive holder | Full-range position | No range monitoring required |
| New or thinly traded token | Small allocation or none | High token and exit risk |
Explained without jargon
A liquidity pool is like a shared currency exchange booth that runs itself. Many people put two kinds of tokens into one box, and anyone can swap one token for the other. A simple formula sets the price depending on how much of each token is left in the box.
Everyone who filled the box earns a small cut of every swap. The catch is that when prices move sharply, the box ends up holding more of the falling token, so contributors can end up with less value than if they had kept their tokens at home.
A typical use case
A small crypto fund holds 50,000 dollars in two major stablecoins and wants income without exposure to volatile assets. It deposits both tokens into a stable swap pool with a 0.01 percent fee, where the curve keeps prices tight around a one-to-one ratio.
Because the two coins rarely diverge, impermanent loss stays negligible, and the fund earns fees from steady trading volume. The team sets an alert in case either coin trades below 0.99 dollars, since a depeg would leave the pool holding mostly the weaker coin.
Over a quarter, the position earns modest fee income with almost no price loss. The fund chose a pool whose curve matched its assets, which is the main lesson of using liquidity pools well.