Liquidity pools are the backbone of decentralized finance. They enable trading without traditional order books, allow anyone to become a market maker, and power billions of dollars in daily volume. Understanding how they work is essential for anyone interacting with DeFi.
Traditional exchanges use order books. AMMs replace this with a mathematical formula that determines prices based on token ratios in a pool. The most common: x ร y = k (constant product).
๐ก How the Formula Works
In an ETH/USDC pool, the product of both quantities must stay constant. When you buy ETH, you add USDC and remove ETH. The ratio changes and price adjusts automatically โ no order matching needed.
$100B+
Total DEX TVL
Uniswap
Largest AMM
0.3%
Typical swap fee
When you deposit tokens into a pool, you receive LP tokens representing your share. These can be redeemed for your proportional share plus accumulated fees.
Prove: Your ownership share of the pool
Earn: Share of all trading fees
Compose: Usable in other DeFi protocols
Redeem: Your tokens + accumulated fees
Impermanent loss occurs when the price ratio of deposited tokens changes. The greater the divergence, the more loss you experience compared to simply holding.
โ ๏ธ Example
Deposit $1,000 ETH + $1,000 USDC. If ETH doubles, your pool position is ~$2,828 โ but holding would give $3,000. The $172 gap is impermanent loss. If ETH returns to original price, the loss disappears.
2x price
โ 5.7% IL
3x price
โ 13.4% IL
5x price
โ 25.5% IL
Different DEXs use AMM variations with unique LP features:
Uniswap: Pioneer AMM, concentrated liquidity, multi-chain
Curve: Optimized for stablecoins, low slippage
Raydium: Solana's largest, order book integration
PancakeSwap: BNB Chain leading DEX, yield farms
๐งฉ Steps
Choose a DEX and connect your wallet
Select a token pair (e.g., ETH/USDC)
Deposit equal value of both tokens
Approve transactions and confirm deposit
Receive LP tokens and start earning fees
๐ก Key Consideration
LP is profitable when fees exceed impermanent loss. Stablecoin pairs are safest for LPs. Volatile pairs offer higher fees but greater IL risk.
๐ช Track crypto in real-time with our free tool
Open Tracker โ