The paperExchangeCrypto WikiWikiAcademycrypto.notitiaplatform.com
Sign in
● LIVE
CAC 408 167▲ 0.25%S&P 5007 323,6▼ 0.23%EURO STOXX6 187,8▲ 0.54%BTC/USD63 779▼ 1.29%ETH/USD1 804,6▼ 0.38%EUR/USD1.10▲ 0.19%BRENT89.56▲ 0.44%GOLD3 727,2▼ 0.39%OAT 10Y5.07%▼ 0.73%VIX22.22▼ 9.53%CAC 408 167▲ 0.25%S&P 5007 323,6▼ 0.23%EURO STOXX6 187,8▲ 0.54%BTC/USD63 779▼ 1.29%ETH/USD1 804,6▼ 0.38%EUR/USD1.10▲ 0.19%BRENT89.56▲ 0.44%GOLD3 727,2▼ 0.39%OAT 10Y5.07%▼ 0.73%VIX22.22▼ 9.53%
 
Europe edition
NotitiaCrypto Wiki
Back
Advanced

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.

Key takeaways
  • Loss vs simply holding
  • Worse as prices diverge
  • Offset (or not) by fees
Impermanent loss by price change
0 %-10 %-20 %-30 %-40 %×0.5×1×2×3×4×5price change×2 → -5.7 %×4 → -20.0 %
50/50 constant-product pool: 2√r / (1 + r) − 1
Worked example

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?

Assumption · Constant-product pool x·y = k, swap fees ignoredAssumption · ETH price: $2,000 then $4,000
  1. 01Pool constant (your share)k = 1 × 2 0002,000
  2. 02ETH in the pool after the rise√(k / 4 000)0.7071 ETH
  3. 03USDC in the pool after the rise√(k × 4 000)2,828.43 USDC
  4. 04Value of the LP position$5,656.85
  5. 05Value if you had held1 × 4 000 + 2 000$6,000
  6. 06Impermanent loss2√r / (1 + r) − 1, r = 2-5.72 %
The professional’s reflex

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.

To watchSelected by the newsroom · loads only when you press play
Impermanent loss on Uniswap, Curve, Balancer
Finematics · in English
Impermanent loss for beginners
Binance Academy · in French

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.

Go further in the Wiki
Impermanent lossDecentralised exchange (DEX)APR and APY
✦ Learn by doing

Test your understanding with a quick interactive quiz.

Go further on the technical side · partnerQuantPadTo go from theory to code: auto-graded exercises in Python, SQL and quantitative finance, backtests and mock interviews for quant, data and M&A roles.Train on QuantPad · quantpad.app ↗For your career · partnerKairosKairos finds the roles that fit you every day, scores your CV against each out of 100 and prepares your application.Find my role on Kairos · trykairos.eu ↗
Related concepts
What is a blockchain?BasicsDecentralisationBasicsConsensus: PoW vs PoSIntermediateKeys & walletsBasics