Providing liquidity and impermanent loss
A liquidity provider earns fees by letting a pool trade their assets. The pool sells whichever asset is rising, and the arithmetic of that trade has a name.


On this page
On this page
What you’ll learn
- Explain what a liquidity provider deposits, receives and earns
- Calculate impermanent loss for a given price change
- Describe how a concentrated range changes both fees and exposure
Every swap on a pool-based exchange trades against assets that someone deposited. Those depositors are liquidity providers, or LPs. They receive a share of the trading fees, and in return they accept that the pool will change the mix of what they hold as prices move. This lesson uses the constant-product design that Uniswap v2 made standard, with invented figures.
Key takeaways
- An LP deposits two assets of equal value and receives LP tokens for a share of the pool.
- In this design, the providers’ part of each swap fee is added to the pool and belongs to LPs in proportion to their share.
- When the price ratio changes, an LP position is worth less than simply holding the two assets. That gap is impermanent loss.
- The loss depends only on how far the ratio has moved: about 5.7% when one asset doubles against the other.
What a liquidity provider does
A constant-product pool holds two assets. Ignoring fees, it keeps the product of their quantities constant through each trade. Fees left in the pool make that product grow. To join, an LP deposits both assets at the pool’s current ratio and receives LP tokens recording their share. In Uniswap v2 pools, each swap pays a 0.30% fee. The providers’ part stays in the pool, so every LP’s share grows a little with each trade. As of November 2026, Uniswap’s documentation puts that part at 0.25%, with 0.05% going to the protocol. Redeeming the LP tokens returns that share of whatever the pool holds at the time.
Why the mix changes
The pool has no view of the outside market. When ETH rises elsewhere, the pool’s ETH is briefly cheap, and arbitrage traders buy it until the pool’s price matches. They pay stablecoin in and take ETH out. The LPs now own less of the asset that rose and more of the one that did not. When ETH falls, the reverse happens and they end up with more ETH. In both directions the pool sells the winner.
Worked example: ETH doubles
You deposit 1 ETH and 2,000 USDC when ETH trades at $2,000. Your stake is worth $4,000. For simplicity, treat your deposit as the whole pool and set fees aside. The product of the reserves is 1 × 2,000 = 2,000.
ETH rises to $4,000. Arbitrage moves the pool until its ratio matches: the ETH reserve becomes the square root of 2,000 ÷ 4,000, or 0.7071 ETH, and the USDC reserve becomes 2,828.43. Check: 0.7071 × 2,828.43 = 2,000, and 2,828.43 ÷ 0.7071 = $4,000.
- Value of the LP position: 0.7071 × $4,000 + $2,828.43 = $5,656.85.
- Value if you had held 1 ETH and 2,000 USDC: $6,000.
- Difference: $343.15, or 5.72% of the holding value.
You still made money in dollar terms: $4,000 became $5,656.85. Impermanent loss is the shortfall against holding, not against your starting value.
The general rule
For a 50/50 constant-product pool, the loss depends only on r, the factor by which the price ratio has changed. It equals 2 × √r ÷ (1 + r) − 1, the formula Uniswap’s documentation on provider returns gives. The direction does not matter: halving gives the same result as doubling.
| Price ratio change | LP value against holding |
|---|---|
| 1.25× (or 0.8×) | −0.6% |
| 1.5× | −2.0% |
| 2× (or 0.5×) | −5.7% |
| 4× (or 0.25×) | −20.0% |
| 10× | −42.5% |
It is called impermanent because it shrinks back to zero if the ratio returns to where you entered. It becomes a realized difference when you withdraw at a different ratio. See impermanent loss in the glossary.
Fees against the loss
Fees are the other side of the ledger. A pool earns more when its trading volume is high relative to its size. If the pool in the example had collected fees worth 8% of the holding value while ETH doubled, the LP would be ahead of holding by about 2.3 percentage points. If it had collected 2%, the LP would be behind. Past fee income is visible on-chain; future volume is not known, so any displayed yield is a record of a recent period, not a rate you are promised.
Concentrated liquidity
Uniswap v3 and similar designs let an LP supply concentrated liquidity: assets placed only within a chosen price range. Inside the range, the same capital earns a larger share of fees than it would spread across all prices. The exposure is concentrated too: the position changes its mix faster, and once the price leaves the range, the position consists entirely of the less valuable asset and earns no fees until the price returns or the LP moves it. Moving it costs gas and realizes the loss.
Other things that can go wrong
- One asset fails. If one side of the pair goes to zero, arbitrage leaves the LP holding almost only that asset.
- Contract risk. The pool is code, and a bug or exploit can drain it.
- A stable pair that stops being stable. Pools of two pegged assets fill up with whichever one loses its peg; see Stablecoins: the peg, the backing and the risk.
- Reward tokens. Extra yield paid in a project’s own token is worth what that token can be sold for.
Read a pool before judging it
- Which two assets, and how far has their ratio moved over the past months? A coin page such as Ethereum shows the history.
- What is the fee rate, and how does recent volume compare with the pool’s size?
- Is the displayed yield from trading fees or from reward tokens?
- Who can change the contract, and has it been audited?
Check your understanding
Three quick questions
01 ETH doubles against USDC. What happens to an LP’s holdings in an ETH/USDC pool?
02 Roughly how large is impermanent loss when one asset doubles against the other?
03 A concentrated position’s price range is left behind. What does the position earn?
Sources
Finished reading?
Mark it complete to track your progress through the learning paths.
Next in Leverage without the jargon: DeFi lending and liquidations
