A liquidity pool is a smart contract containing reserves of two or more tokens locked by liquidity providers forming the underlying trading infrastructure for decentralised exchanges (DEXs) and many DeFi protocols. Rather than matching individual buyers and sellers through an order book, DEXs use liquidity pools to enable permissionless, always-available token trading.
THE CORE MECHANICS
A liquidity pool typically holds two tokens in some ratio. The most common model (Uniswap V2) requires equal value of both tokens.
Example: A ETH/USDC pool might contain 100 ETH and $350,000 USDC (each side worth $350,000 at $3,500/ETH). When a trader swaps USDC for ETH, they add USDC to the pool and remove ETH. The price is determined algorithmically by the ratio of tokens: the constant product formula x × y = k ensures price adjusts automatically as the pool ratio changes.
LIQUIDITY PROVIDER TOKENS (LP TOKENS)
When you deposit tokens into a liquidity pool, you receive LP tokens representing your proportional share of the pool. These LP tokens: accrue trading fees (automatically reinvested in the pool), can be staked in yield farms for additional token rewards, can be used as DeFi collateral on some protocols, and are redeemed for your proportional share of pool assets when you withdraw.
TRADING FEES AND EARNINGS
Every swap through a pool generates a fee (typically 0.01%-1% of the swap value, set by the protocol and pool tier). These fees are distributed proportionally to all liquidity providers. A pool with $50 million TVL and $10 million daily volume at 0.3% fee generates $30,000 daily distributed among all LPs proportionally.
IMPERMANENT LOSS: THE KEY RISK
When token prices in a pool diverge significantly from when you deposited, you experience impermanent loss you end up with a different ratio of tokens than you deposited, worth less than if you had simply held both tokens. At a 2x price move of one token, impermanent loss is approximately 5.7%. At 5x, it reaches 25%. Fee earnings must exceed impermanent loss for LP provision to be profitable.
MAJOR LIQUIDITY POOLS
Uniswap V3 (Ethereum): ETH/USDC, ETH/USDT pools with billions in TVL. Curve Finance: Stablecoin pools (USDC/USDT/DAI) with minimal impermanent loss. PancakeSwap (BNB Chain), Raydium (Solana).