This guide answers what is impermanent loss in crypto: the downside risk faced by a liquidity provider in DeFi when the market price of deposited tokens moves after you provide liquidity, altering the position’s value.
Understanding Impermanent Loss in Cryptocurrency
It describes the outcome where returns from staking a token pair in a liquidity pool on a decentralized exchange end up lower than simply holding the same crypto assets in your wallet. Shifts in the market price force the automated market maker to rebalance your share, so the value of assets in the pool can trail their spot value. Bigger swings mean greater temporary loss exposure. Because it’s driven by changes in the price ratio, it can occur in both uptrends and downtrends; what matters is how one asset moves relative to the other.
As a quick illustration, if the pool’s asset basket falls 10% while your pool position declines only 5%, you have a 5% impermanent shortfall.
Think of it as the gap between the pool outcome and a basic hodl strategy. The loss is “impermanent” because it can shrink if the price ratio reverts. Until you withdraw, it’s an unrealized opportunity cost; it becomes effectively permanent if you exit while the ratio remains away from your deposit level. Also note that this metric ignores trading fees earned for facilitating exchange activity, which can offset or even exceed the shortfall in some market conditions.
Impermanent loss is an opportunity-cost measure: it compares a liquidity provider’s pooled position with simply holding the same tokens as relative prices change.
How It Works
Impermanent loss does not automatically eliminate profit. It becomes real only if you withdraw liquidity at that moment. Many pools and automated market makers collect trading fees, and during active markets those fees may compensate for the gap, allowing providers to stay net positive.
However, when price divergence is substantial, fee revenue might not be enough. In that case, holding the token pair outside the pool would have produced a higher total value than yield farming inside it.
Impermanent loss is especially risky during high-volatility periods, when large price swings are expected, and when the two assets are less correlated (so the price ratio can drift farther from where you entered the pool).
Consider this scenario:
- You add $500 of ETH and $500 of BTC—$1,000 total—for a 10% share of an ETH/BTC liquidity pool worth $10,000.
- The price of ETH rallies to $800. The automated market maker becomes unbalanced, inviting arbitrage traders to trade until the pool ratio reflects the new market price.
- After rebalancing, the pool totals $12,000. If you exit now, your 10% claim is $1,200.
Although the dollar amount rose, the outcome lags simply holding: your ETH would be worth $800 and your BTC $500, totaling $1,300. By providing liquidity you are $100 behind, which is the impermanent loss.
How to Calculate Impermanent Loss?
Exact calculations can be involved, but a common estimator is:
Impermanent loss = 2 × sqrt(r) ÷ (1 + r) − 1
Here, r is the price ratio between withdrawal and deposit for the token pair.
For example, if the price ratio doubles (r = 2), then sqrt(2) ≈ 1.414. Plugging that in: 2 × 1.414 = 2.828; 1 + r = 3; 2.828 ÷ 3 ≈ 0.9427; 0.9427 − 1 ≈ −0.0573. That’s about a 5.7% impermanent loss before accounting for any trading fees.
How to Mitigate It?
You can’t eliminate this risk entirely, but you can reduce exposure with prudent choices:
- Mitigation Strategy: Prefer lower-volatility pairs such as stablecoins or BTC. Description: These assets tend to fluctuate less, which usually means less impermanent loss.
- Mitigation Strategy: Use reputable automated market makers on established decentralized exchanges. Description: This can help limit manipulation risk and improve the odds that fee revenue is meaningful.
- Mitigation Strategy: Start with small allocations to diversify your portfolio. Description: This helps cap the share of assets exposed to pool rebalancing.
Some protocols also offer explicit impermanent loss protection or compensation mechanisms, typically as partial reimbursement funded by emissions, reserve funds, or an insurance-style pool; terms and caps vary.
Before you provide liquidity, weigh expected trading fees, volatility, and your time horizon to decide if the trade-off suits your strategy.



