Skip to main content
Hashbeam

Crypto protocols, markets and policy

fdb27f

Why Volatile Pool Swings Build Impermanent Loss

Impermanent loss grows when a pool’s relative token price moves from entry and arbitrage shifts reserves; fees can offset it, but volatility alone cannot.

The Hashbeam Desk··5 min read

Abstract cover artwork for Why Volatile Pool Swings Build Impermanent Loss

Impermanent loss builds when a pool’s relative token price moves away from its entry price, because arbitrage changes the tokens an LP holds. In a full-range constant-product pool such as Uniswap v2, the pair contract keeps the product of its token reserves at or above its prior value after a swap, with fees included in the balance check. As the market price changes, traders buy the underpriced asset from the pool and sell the overpriced one into it until the pool price approaches the external price.

That rebalancing leaves the LP with less of the asset that rose and more of the one that fell. Impermanent loss measures the resulting value difference against simply holding the deposited tokens; it does not by itself say whether the LP position lost money in absolute terms. The separate Blackhole swap decision is whether to trade tokens or add liquidity; see this Blackhole swap trade-or-liquidity choice for that comparison.

How does a price swing change an LP’s position?

A price swing changes the pool’s reserve ratio, and arbitrageurs move that ratio toward the market price. Let the pool hold tokens X and Y, with the price expressed as Y per X. If that price rises, X becomes more valuable relative to Y. Arbitrageurs remove X from the pool and add Y; if the price falls, the flow reverses. The pool’s inventory therefore moves opposite to the market’s relative-price move.

For a fee-free, full-range constant-product pool, let r be the final relative price divided by the entry price. The LP’s value relative to holding the original pair is 2√r / (1 + r). The formula is symmetric: a move up or down by the same factor produces the same shortfall against holding. As r moves farther from one, the LP’s relative loss grows. The pool can still be worth more in dollars than at entry, especially if both assets appreciated; the comparison is against the tokens held outside the pool.

The mechanism depends on relative price, not on whether the chart looks turbulent. If the relative price returns exactly to entry, the idealized fee-free pool returns to its original reserve ratio, so this measure of loss returns to zero. A path that swings widely and ends at entry can therefore have no ending impermanent loss in that model. In a live pool, however, trades along the path change reserves and fees, so the final result also depends on fee treatment, execution, and the pool’s rules.

Why can volatile swings leave a persistent shortfall?

Arbitrage transfers inventory to traders whenever the pool price lags the wider market. Each correction tends to sell the pool the asset whose relative price has fallen and buy the asset whose relative price has risen. If the relative price keeps moving in one direction, those corrections compound the inventory shift. When the LP withdraws, the position contains a different mix from the original deposit, and valuing that mix against the hold benchmark reveals the shortfall.

Reversals do not automatically erase the effect at every point along the path. They can reduce the ending shortfall if the relative price moves back toward entry, but a reversal also causes another set of trades and reserve changes. In a constant-product pool with swap fees added to reserves, fees increase the pool’s product and belong proportionally to LPs. The fee income can offset impermanent loss, but the pool’s trading volume and fee rate determine how much accrues; volatility alone does not establish that fees will cover the shortfall.

  • Direction: In a full-range, fee-free constant-product pool, a relative price rise or fall has the same effect at the same distance from entry.
  • Path: For that idealized pool, ending relative price determines impermanent loss; a live pool’s fee accrual and execution details also matter.
  • Range: In concentrated-liquidity designs, a position can become one-sided outside its selected price interval and stop earning fees while it is out of range.

What should an LP check before entering a volatile pool?

Start with the relative-price exposure and the intended holding benchmark. For a pair of correlated assets, ordinary moves in their common dollar value may matter less than a divergence between them; a depeg or other change in their relationship can still move the relative price sharply. For a volatile pair, estimate how the pool’s inventory would change at plausible relative prices, then compare that exposure with holding the tokens separately.

Next, inspect the pool’s actual mechanism. A full-range constant-product position remains exposed across prices, while concentrated liquidity places capital within a chosen interval. Within that interval, price movement still changes the position’s token mix; once price exits the interval, the position becomes entirely one asset and earns no swap fees until price returns. A wider range reduces the chance of going inactive but spreads capital across more prices; a narrower range concentrates exposure and can stop fee accrual sooner.

Finally, compare expected fee income with the inventory risk rather than treating fees as a guaranteed offset. Fees depend on swaps through the pool, the share of active liquidity, and the fee rules. For a concentrated position, include the chance that it leaves range. The useful decision is whether the expected fees and desired market exposure justify accepting a changing token mix. Impermanent loss is the accounting expression of that trade: the pool sells some relative winners and accumulates relative laggards as it tracks the market.