Impermanent loss
The hidden cost of providing liquidity.
When the prices in a pool diverge, the AMM rebalances automatically: you end up with more of the asset that fell and less of the one that rose. Versus simply holding, that is a loss - impermanent loss.
It is only ‘impermanent’ if prices revert. Earned fees may offset it, or not. This is the key trade-off for every liquidity provider.
- Loss vs simply holding
- Worse as prices diverge
- Offset (or not) by fees
Providing ETH/USDC liquidity when ETH doubles
You deposit 1 ETH and 2,000 USDC in a Uniswap v2 pool. ETH goes from $2,000 to $4,000. What are you worth compared with someone who simply held?
- 01Pool constant (your share)k = 1 × 2 0002,000
- 02ETH in the pool after the rise√(k / 4 000)0.7071 ETH
- 03USDC in the pool after the rise√(k × 4 000)2,828.43 USDC
- 04Value of the LP position$5,656.85
- 05Value if you had held1 × 4 000 + 2 000$6,000
- 06Impermanent loss2√r / (1 + r) − 1, r = 2-5.72 %
You are up ($1,657) but you earn $343 less than by holding. Swap fees must cover that gap: a pro always compares the fee yield with the impermanent loss expected for the pair’s volatility.
Questions and answers
Can impermanent loss disappear?
Yes, if the price ratio returns to where it was at deposit. It becomes permanent on withdrawal.
How do I calculate my loss?
With the formula 2 x √r / (1 + r) - 1, or Notitia’s impermanent loss simulator, which compares it with fees earned.
Test your understanding with a quick interactive quiz.