Key takeaways
- A liquidity pool holds two tokens in a smart contract and prices trades with the formula x * y = k, so large trades relative to the pool get worse rates.
- Liquidity providers deposit both tokens, receive LP tokens for their share and earn swap fees, such as the 0.30% fee on Uniswap v2 pools.
- Impermanent loss can leave providers behind simply holding: in a worked ETH example, a price doubling cut the position by about 5.7% before fees.
In this story 6 sections
A liquidity pool is a pile of two or more crypto tokens locked in a smart contract, which lets people trade one token for the other without a buyer and seller having to meet. If you have ever swapped tokens on a decentralized exchange, a liquidity pool was the thing on the other side of your trade. Here is how pools set prices, who funds them, and the risks the sales pitch skips.
How a liquidity pool works without an order book
A traditional exchange matches buyers and sellers through an order book. A liquidity pool skips that step. According to the Uniswap v2 documentation, each pool holds reserves of two tokens and acts as an automated market maker, always ready to accept one token in exchange for the other as long as a simple formula holds.
That formula is written as **x * y = k**. The x and y are the amounts of each token in the pool, and k is a constant. When you buy some of token x, you add token y, and the pool hands out x so that the product stays the same. The more x you take, the scarcer it gets inside the pool, and the higher the price climbs.
Think of a small town market stall that only sells apples for oranges. Every time someone takes apples, the stall raises its apple price a little, because it has fewer left. The stock on the shelf sets the price.
Two things follow:
- Big trades cost more. Uniswap's docs note that trades that are large compared with the pool's reserves get much worse rates than small ones. That gap between the price you expect and the one you get is slippage.
- Arbitrage keeps prices honest. If a pool's price drifts away from the wider market, traders buy the cheap side and sell it elsewhere. Their trades pull the pool back toward the market price.
Who supplies the tokens, and what they earn
The money in a pool comes from ordinary users called liquidity providers, or LPs. Gemini's Cryptopedia calls pools crowdsourced. On Uniswap v2, an LP deposits an equal value of both tokens and gets LP tokens back. Those LP tokens track the provider's share of the pool and can be redeemed later for the underlying assets.
In return, LPs collect trading fees. Uniswap v2 charges 0.30% on every swap, and that fee is added to the pool's reserves, so each provider's share grows over time. Uniswap v3 offers standard fee tiers of 0.05%, 0.30% and 1%, according to Uniswap's developer docs on fees, and v4 lets pool creators set their own fee.
Newer pools also allow concentrated liquidity. Instead of spreading money across every possible price, a provider picks a range. Uniswap says that in its v2 DAI and USDC pair, only about 0.50% of the capital was actually used for trades between $0.99 and $1.01. A narrow range puts more money to work. The catch is that only liquidity inside the current price range earns fees.
Where you run into liquidity pools
Most people meet pools without knowing it:
- Token swaps on decentralized exchanges such as Uniswap, where every trade draws from a pool.
- Lending apps, where ethereum.org explains lenders put funds into a pool that borrowers draw from.
- Yield offers in wallets and apps that advertise earning fees by "providing liquidity."
All of this sits inside the wider world of decentralized finance. You need a self custody wallet to use most of it (here is how crypto wallets work), and on Ethereum every deposit, swap and withdrawal also costs a gas fee.
Impermanent loss, the risk providers underestimate
The biggest surprise for new LPs is impermanent loss. Uniswap's support center defines it as the loss in value a provider suffers when token prices in the pool move away from where they were when the liquidity was added. In plain terms, you can end up with less than if you had just held the two tokens in your wallet.
Here is the worked example from Gemini's Cryptopedia, with the math shown. Say you are the only provider in an ETH and DAI pool. You deposit 10 ETH and 1,000 DAI while ETH trades at $100.
- The constant is k = 10 × 1,000 = 10,000.
- ETH doubles to $200. Arbitrage traders buy ETH from the pool until its price matches the market.
- The pool now holds about 7.071 ETH and 1,414.21 DAI. You can check this: 7.071 × 1,414.21 is about 10,000, and 1,414.21 ÷ 7.071 is about $200 per ETH.
- Your pool share is worth 7.071 × $200 + $1,414.21 = about $2,828.43.
- Had you simply held, you would have 10 × $200 + $1,000 = $3,000.
- The gap is about $171.57, or roughly 5.7%.
Kraken's explainer runs a different ETH and USDC example and lands on the same 5.72% figure for a doubling in price. The word "impermanent" is there because, as Kraken puts it, the loss only becomes real if you withdraw while prices have moved against you. If prices return to where you started, it disappears. If they never do, it is a very permanent loss. Trading fees can offset some or all of it, but Kraken is careful to say they may or may not.
Liquidity pool myths that cost people money
Myth: providing liquidity is passive income with no downside. Fees are real, but so are impermanent loss, gas costs and the chance that one token in the pair collapses.
Myth: a smart contract can't be hacked. Ethereum.org says plainly that DeFi products, like any software, can have bugs and exploits. Your tokens sit inside that contract while you provide liquidity.
Myth: someone will make you whole if it goes wrong. The FTC warns that crypto accounts aren't backed by a government, payments usually can't be reversed, and if a platform fails or is hacked, no one can step in to recover your funds.
Myth: a high advertised yield means a good pool. The FTC notes that scammers promise big, guaranteed returns and pose as legitimate token projects. A flashy yield on a coin you have never heard of is a reason for caution, not excitement. Our guide on how to spot a crypto scam covers the warning signs.
Before you swap or deposit into a pool
If you only swap tokens, check the pool size before a large trade, because a thin pool means more slippage, and set a slippage limit in the app.
If you are thinking about becoming a provider, run the numbers first. Ask how far the two tokens are likely to move against each other, whether expected fees beat the impermanent loss from that move, and what you will pay in gas to get in and out. Pairs of two stablecoins tend to move least against each other, which is why they carry less impermanent loss, though they still carry contract risk. Start small, use well known protocols, and never deposit money you can't afford to lose.
For more plain English guides, browse our crypto section.
Sources
- Uniswap v2 docs: How Uniswap works
- Uniswap developer docs: Fees
- Uniswap developer docs: Concentrated liquidity
- Uniswap Support: What is impermanent loss?
- Kraken Learn: What is impermanent loss?
- Gemini Cryptopedia: Impermanent loss
- Gemini Cryptopedia: What is a liquidity pool?
- ethereum.org: Decentralized finance
- FTC: What to know about cryptocurrency and scams
Share this story
Spotted an error? Tell us


