Sunday 6 December 2026

How Liquidity Pools Work, and What Impermanent Loss Really Costs

Decentralized exchanges trade against pools of tokens supplied by users, who earn fees in return. This guide explains how liquidity pools work, how to calculate impermanent loss, why concentrated liquidity raises both returns and risk, and when providing liquidity pays.

AdvancedLast reviewed
A gold coin and a blue coin swap places in a glowing pool of liquid, with price charts showing a price range and a falling line beside it

Key takeaways

  • A liquidity pool holds two tokens. Traders swap against it, and the price is set by a formula, not an order book.
  • Liquidity providers (LPs) earn a share of trading fees, but their mix of tokens shifts as prices move.
  • Impermanent loss is the gap between holding tokens in a pool and simply holding them. It is about 5.7 percent if one token doubles against the other.
  • Providing liquidity pays when fees beat impermanent loss. That is most likely in busy pools of tokens that move together, like stablecoin pairs.

Impermanent loss is the risk that surprises most people who provide liquidity in DeFi. You deposit two tokens, earn trading fees, and later find you would have done better just holding the tokens in your wallet. To understand why, you need to know how liquidity pools work. Decentralized exchanges (DEXs) handled about $8.4 billion of trading in the past 24 hours, according to DefiLlama, and almost all of it ran through pools like these.

This is an advanced guide. For the basics of DeFi, start with DeFi Explained.

Pools instead of order books

A traditional exchange matches buyers and sellers through an order book. An automated market maker (AMM) instead keeps a pool of two tokens, say ETH and USDC, supplied by liquidity providers. Anyone can trade against the pool at any time. The pool sets the price automatically based on how much of each token it holds.

The constant product formula

The classic design, introduced by Uniswap, keeps the product of the two token balances constant: x × y = k. Buying ETH from the pool removes ETH and adds USDC, so ETH gets more expensive within the pool. If the pool’s price drifts from the wider market, arbitrage traders buy or sell until it matches again.

A worked example. A pool holds 10 ETH and 20,000 USDC, so k is 200,000 and the price is 2,000 USDC per ETH. A trader buys 1 ETH. The pool must still satisfy x × y = 200,000 with 9 ETH, so it needs 22,222 USDC: the trader pays about 2,222 USDC, plus the fee. Larger trades relative to the pool size move the price more. That effect is called price impact, and it is why deep pools matter.

How liquidity providers earn

  • Each trade pays a fee, commonly between 0.01 and 1 percent depending on the pool. On Uniswap, 0.05 and 0.30 percent are common tiers.
  • Fees are added to the pool and shared among LPs in proportion to their share.
  • Some protocols add token rewards on top. These boost returns but are usually temporary and can lose value fast.

Impermanent loss, step by step

Suppose ETH is $2,000 and you deposit 1 ETH and 2,000 USDC into a 50/50 pool, worth $4,000 in total. ETH then doubles to $4,000.

  • If you had just held: 1 ETH ($4,000) plus 2,000 USDC = $6,000.
  • In the pool: arbitrage traders bought ETH from the pool as the price rose. Your share is now about 0.707 ETH and 2,828 USDC, worth about $5,657.
  • Impermanent loss: $5,657 is about 5.7 percent less than $6,000, before counting fees.
IMPERMANENT LOSS VS SIMPLY HOLDING (50/50 POOL, BEFORE FEES) 0%-10%-20%-30%price ÷5price ÷2no changeprice ×2price ×5-5.7%-5.7%-25.5% Price change of one token relative to the other, log scale. Formula: 2×√r ÷ (1 + r) − 1, where r is the price ratio change.
Loss depends only on how far the price ratio moves, in either direction, not on which way.

It is called impermanent because if prices return to where they were when you deposited, the loss disappears. If you withdraw while prices are different, it becomes a real loss. Note that you can still be up in dollar terms, as in the example. Impermanent loss measures what you gave up compared with holding.

Price change of one token vs the otherImpermanent loss
1.25x0.6%
1.5x2.0%
2x5.7%
3x13.4%
5x25.5%

Concentrated liquidity

Uniswap v3 introduced concentrated liquidity: instead of spreading your money across all possible prices, you choose a price range. Within that range your capital works much harder and earns far more fees. Most DEXs, including Uniswap v4, PancakeSwap v3 and Aerodrome’s Slipstream pools, now offer it.

  • Higher fees: a narrow range can earn many times the fees of a full-range position with the same capital.
  • Higher impermanent loss: losses are magnified in the same way.
  • Out of range: if the price leaves your range, you stop earning fees and are left holding only the weaker of the two tokens until you rebalance.
  • Active management: narrow positions need regular attention, which has made automated managers and professional market makers dominant in many pools.

Other pool designs

  • Stable pools: designs like Curve’s are tuned for assets that should trade near the same price, such as two dollar stablecoins. Impermanent loss is minimal unless one of them depegs.
  • Weighted pools: Balancer allows ratios like 80/20, which reduces impermanent loss on the larger token.
  • Hooks: Uniswap v4 lets pools add custom logic, such as dynamic fees that rise in volatile markets.

When providing liquidity makes sense

  1. Fees are high relative to the pool size. Check the pool’s volume and fees on the DEX or DefiLlama, not just the headline APR.
  2. The tokens move together. Stablecoin pairs and pairs like ETH and staked ETH suffer little impermanent loss.
  3. You want to hold both tokens anyway and are comfortable ending up with more of whichever one falls.
  4. You understand the extra risks: the pool’s contracts, the tokens themselves, and the possibility of a depeg. See DeFi Risks Explained.

Research on Uniswap pools has found that many LPs, especially in volatile pairs, earned less in fees than they lost to price moves. A large part of the reason is that arbitrage traders always trade with the pool at stale prices first. Providing liquidity is a business, and like any market-making business, it is competitive.

DEXs keep evolving. Aerodrome and Velodrome, two of the largest, are merging into a single protocol called Aero.

Sources: Uniswap documentation: Concepts, Uniswap v3 whitepaper, DefiLlama: DEX volumes, Curve documentation

Not financial advice. This article is for information only. Crypto assets are volatile; do your own research before making any investment decision.

Guides Desk

Writes plain-English explainers, how-to guides and analysis for readers who want the bigger picture.

Researched and drafted with AI assistance and reviewed by our editors. How we work

All stories from the Guides Desk →

Follow us on Facebook

The day’s top crypto stories and a new plain-English guide every day, straight in your feed.

Follow Crypto Coin Week

The week in crypto, in your inbox

One email a week with the stories that moved the market. No spam, unsubscribe anytime.

We’ll email you a link to confirm your subscription. Unsubscribe anytime with one click. Privacy policy