What is a Liquidity Pool?
A liquidity pool is a smart contract that holds reserves of two or more tokens, enabling decentralized trading without the need for a traditional order book with buyers and sellers. Instead of matching orders, an automated market maker (AMM) uses a mathematical formula to price trades based on the ratio of tokens in the pool.
Liquidity pools are the backbone of decentralized exchanges (DEXs). When you swap tokens on Uniswap, Curve, or PancakeSwap, you’re trading against a liquidity pool — not another person.
As of 2025, liquidity pools across all DeFi protocols hold over $80 billion in total value locked.
How Liquidity Pools Work
The Basics
A standard liquidity pool (Uniswap V2 style) contains two tokens in equal value:
- 50% Token A (e.g., ETH)
- 50% Token B (e.g., USDC)
Anyone can become a liquidity provider (LP) by depositing an equal value of both tokens into the pool. In return, they receive LP tokens — a receipt representing their proportional share of the pool.
Every trade through the pool incurs a fee (typically 0.3% on Uniswap V2). These fees are distributed to LPs proportional to their pool share.
Price Discovery
The pool uses the constant product formula to maintain balance:
x * y = k
Where x = amount of Token A, y = amount of Token B, and k = constant.
When someone buys Token A, the pool has less Token A and more Token B. According to the formula, the price of Token A increases. This creates slippage — larger trades move the price more.
Deep vs Shallow Pools
| Pool Type | TVL | Slippage (10 ETH trade) | Best For |
|---|---|---|---|
| Deep pool | $100M+ | <0.1% | Large traders, institutions |
| Medium pool | $1M-$10M | 0.5-2% | Most retail trades |
| Shallow pool | <$100K | 5-20%+ | Small trades only |
Deeper pools provide better prices for traders but lower APY for LPs (fees spread across more capital).
Types of Liquidity Pools
Uniswap V2: Standard Pools
Equal 50/50 token split, 0.3% fee, simple and battle-tested. Anyone can create a pool for any token pair.
Uniswap V3: Concentrated Liquidity
LPs choose specific price ranges to provide liquidity. This is far more capital-efficient — an LP can provide the same liquidity depth with 1/10th the capital. However, it requires active management and increases impermanent loss risk.
Curve: Stableswap Pools
Specialized for tokens that should trade near 1:1 (stablecoins, wrapped assets). Uses a different formula that minimizes slippage for similar-value tokens. Lower risk, lower yields.
Balancer: Multi-token Pools
Supports up to 8 tokens in custom weightings (not just 50/50). Enables portfolio management and index-like exposure.
How LPs Make Money
Liquidity providers earn from:
- Trading fees: 0.01% to 1% per trade, proportional to pool share
- Token incentives: Many protocols add extra rewards (COMP, CRV, UNI) to attract liquidity
- Protocol revenue: Some protocols share other revenue streams with LPs
Example: Providing $10,000 to a pool with 25% APY:
- After 1 year: ~$12,500 (before impermanent loss and token price changes)
- A pool earning 0.3% fees with $10M daily volume generates ~$30,000/day in fees
LP Token Use Cases
LP tokens aren’t just receipts — they’re composable DeFi assets:
- Stake them: Deposit LP tokens into farming contracts for extra rewards
- Use as collateral: Some lending protocols accept LP tokens as collateral
- Vote: In some protocols, LP tokens confer governance rights
- Transfer or sell: LP tokens are ERC-20 tokens that can be sent or traded
Risks of Providing Liquidity
- Impermanent Loss: If token prices diverge, your pool position may be worth less than simply holding the tokens.
- Smart contract exploits: Pool contracts can be hacked. Over $3 billion has been lost to DEX exploits.
- Depeg risk: In stablecoin pools, if a stablecoin loses its peg, LPs absorb the loss.
- Rug risk: The token you’re providing liquidity for could be a scam, and devs pull liquidity.
Frequently Asked Questions
Q: How much can I earn as a liquidity provider? A: It depends on pool volume and incentives. Stablecoin pools earn 5-15% APY. Volatile pairs can earn 20-100%+ during bull markets, but with much higher impermanent loss risk.
Q: Can I withdraw my liquidity at any time? A: Yes, for standard pools. You burn your LP tokens and receive your proportional share of both tokens. However, the ratio may have shifted from your original deposit.
Q: What happens if the pool gets hacked? A: Your funds are gone. Unlike a bank, there’s no deposit insurance. This is why many LPs prefer battle-tested protocols like Uniswap V2 over newer, unaudited pools.