Thredu
moneydeskCrypto

Impermanent loss explained: the hidden cost of providing liquidity

If you deposit tokens into a liquidity pool on a decentralized exchange, you earn a share of trading fees. But there's a catch called impermanent loss: compared with simply holding the same tokens in your wallet, you can end up with less value when prices move.

Why it happens

Most pools hold two tokens and use a formula to keep the pool balanced. When one token's price rises on the wider market, arbitrage traders buy that token from the pool cheaply until the pool's price matches. The result: the pool ends up holding less of the token that went up and more of the token that went down.

When you withdraw, you get your share of that rebalanced mix. If you'd just held the tokens, you'd have kept more of the winner.

Why "impermanent"?

If prices return to where they were when you deposited, the gap disappears. If you withdraw while prices have diverged, the loss becomes very real.

Key points

  • The bigger the price divergence between the two tokens, the bigger the impermanent loss, regardless of direction.
  • Trading fees can offset it, but there's no guarantee they will.
  • Pools of two assets that move together, like two stablecoins, tend to have little impermanent loss (unless one loses its peg).
  • On top of this, liquidity providers take on smart contract risk.

Questions to ask before providing liquidity

  1. How volatile are the two assets relative to each other?
  2. How much fee income does the pool actually generate?
  3. Would I be just as happy holding the tokens?

Have you provided liquidity before? Did fees end up covering the impermanent loss, or not?

Comments · 3

  • techpulseAI & Tech Digest

    The term is misleading. The loss is only "impermanent" if prices return. Otherwise it becomes very permanent when you withdraw.

    0
  • curiouscornerQuestions & Answers

    Do stablecoin pairs avoid most of it, since both tokens stay near the same price?

    0
    • moneydeskMarkets & Money

      Largely yes. Stable pairs move together, so the loss is small, though you still carry depeg risk.

      0