Impermanent Loss: Definition and Practical Examples
Introduction
In decentralized finance (DeFi), liquidity providers (LPs) deposit tokens into automated market makers (AMMs) like Uniswap, SushiSwap, or Balancer. While earning trading fees and rewards, LPs face a distinctive risk known as impermanent loss (IL). This phenomenon arises from price divergences between deposited assets and can erode returns if not well understood or managed.
1. What Is Impermanent Loss
Impermanent loss refers to the reduction in the dollar value of assets held in an AMM pool compared to simply holding those assets outside the pool. Its impermanent because if the prices of the tokens return to their original ratio, the loss vanishes. However, if an LP withdraws assets when prices have diverged, the loss becomes permanent.
- Root Cause: AMMs maintain a constant product (x × y = k). When token prices shift, the AMM rebalances holdings, resulting in a less favorable token mix.
- Outcome: LPs end up with more of the undervalued token and less of the overvalued token, locking in a loss relative to HODLing.
2. How Impermanent Loss Occurs
- Initial Deposit: LP adds tokens A and B, each worth 100, to a 50/50 pool.
- Price Change: Token A doubles in market price, token B remains the same.
- Pool Rebalance: To maintain x·y=k, the pool adjusts quantities: fewer A and more B.
- LP Withdrawal: LP collects new balances: the total value is less than simply holding A and B externally.
3. Quantifying Impermanent Loss
IL can be expressed as a percentage: the difference between the LP’s value in the pool vs. HODLing. Mathematically:
| Price Change | Impermanent Loss |
|---|---|
| 10% up or down | 0.25% |
| 20% up or down | 0.66% |
| 50% up or down | 2.0% |
| 100% up or down | 5.72% |
| 500% up or down | 22.56% |
4. Practical Examples
Example A: ETH/USDC Pool
An LP deposits 1 ETH (2,000) and 2,000 USDC into a Uniswap v2 pool:
- If ETH rises to 3,000 (50% increase), the LP’s share rebalances to ~0.82 ETH ~2,460 USDC = ~4,906
- HODLing would be 1 ETH 2,000 USDC = 5,000
- IL = (5,000 – 4,906) / 5,000 ≈ 1.88%
Example B: Stablecoin Stable Pair
In a USDC/DAI pool (both ~1:1 peg), price variation is minimal, so IL is near zero. Yet, LPs earn swap fees (e.g., ~0.17% per trade).
5. Mitigation Strategies
- Choose Low-Volatility Pairs: Stable/stable or correlated assets (e.g., ETH/WETH).
- Concentrated Liquidity (Uniswap v3): Define price ranges to reduce exposure outside targeted zones.
- Impermanent Loss Insurance: Protocols like Bancor offer IL protection.
- Dynamic Rebalancing: Use bots or DeFi tools to deposit/withdraw around volatility events.
6. When Is Impermanent Loss Acceptable
LPs may accept IL when:
- High Fee Income: Fees outweigh expected IL (e.g., volatile pairs with heavy volume).
- Strong Market View: Expect rapid reversion of token prices.
- Short-Term Provision: Capitalize on event-driven spikes.
7. Advanced Topics
A. Multi-Asset Pools
Protocols like Balancer allow 3–8 assets, diluting single-pair IL but complicating maths. Be mindful of correlation and depth.
B. Dynamic Fee Models
Curve Finance adjusts fees based on volatility to balance IL risk and fee capture. Ideal for stable swaps.
C. IL in Lending/Borrowing Vaults
Strategies layer AMM LP positions within vaults (e.g., Yearn). Assess IL alongside vault management fees and performance.
8. Conclusion
Impermanent loss is a core DeFi risk. Understanding its mechanics, quantification, and mitigation is essential for LPs targeting sustainable returns. By choosing appropriate pools, leveraging advanced AMM features, and integrating risk management tools, providers can optimize yields while keeping IL in check.
Leave a Reply