What is Impermanent Loss (IL)?
Definition: Impermanent loss is the difference in value between depositing tokens into a liquidity pool and simply holding the same tokens in a wallet, when the relative price of those tokens changes. It affects liquidity providers on decentralized exchanges.
Impermanent loss (IL) is the difference in value between depositing tokens into a liquidity pool and simply holding the same tokens in a wallet, when the relative price of those tokens changes. It affects anyone acting as a liquidity provider on a decentralized exchange that uses an automated market maker, and it is one of the main risks weighed against the trading fees that providers earn.
The word "impermanent" refers to the fact that the shortfall shrinks again if prices return to where they were when the deposit was made. If the provider withdraws while prices are still apart, the loss becomes real. The term is common across decentralized finance; some practitioners prefer "divergence loss", since nothing about it is guaranteed to reverse.
Impermanent loss in plain terms
Imagine a shopkeeper who agrees to keep half her stall's value in apples and half in pears at all times, and to trade with anyone at a price set by her own stock. When apples suddenly become fashionable elsewhere, bargain hunters come and buy her apples cheaply, leaving her with more pears. By the time she adjusts, she holds fewer of the item that went up and more of the one that did not.
She has earned small fees on every trade, but if she had just kept her original fruit in a basket, she would be richer. That gap is impermanent loss. If apple prices fall back to where they started, the gap closes.
Why it happens
A constant-product pool, the design popularised by Uniswap, keeps the product of its two token balances fixed (before fees). Prices inside the pool change only when traders swap. When a token's price rises on other markets, traders use arbitrage to buy it from the pool until the pool price matches the outside price. Each such trade removes some of the rising token and adds more of the other, so the provider automatically sells winners and buys losers. The general rules are covered in formulas for automated market makers.
Formula and example
For a pool holding equal values of two tokens with no fees counted, the loss compared with holding is:
- is the ratio of the token's new price to its price at deposit, measured against the other token.
- is the result as a fraction, always zero or negative; multiply by 100 for a percentage.
Example: a provider deposits 1 ETH and 2,000 USDC when one ether costs $2,000, a position worth $4,000. Ether then rises to $4,000, so . Arbitrage leaves the provider's share at about 0.7071 ETH and 2,828.43 USDC, worth dollars. Holding would have been worth dollars. The formula agrees:
That is a loss of about 5.7%, or $343, relative to holding. A fourfold price move gives a loss of 20%, and the effect is the same whether the price rises or falls by the same ratio.
What drives the size of the loss
- Volatility between the pair. Pools of two assets that move together, such as two stablecoins on Curve, suffer little; volatile pairs suffer most.
- Pool design. Concentrated-liquidity pools, introduced by Uniswap version 3 in 2021, earn more fees per dollar but magnify impermanent loss when prices leave the chosen range. Weighted pools that are not 50/50 reduce exposure to one asset.
- Fees and incentives. Trading fees, and rewards from yield farming, can outweigh the loss, so providers judge net returns rather than the loss alone.
- Time horizon. The loss is measured at withdrawal; a provider who exits after prices diverge locks it in.
Economists describe a liquidity position as being short volatility, because the provider effectively writes options to traders and collects fees as the premium. This links IL to selling volatility in traditional markets.
Managing impermanent loss
Providers use several approaches: choosing correlated pairs, setting wide ranges in concentrated pools, monitoring the value of their LP tokens against a simple holding benchmark, and hedging the price exposure with derivatives. Some protocols have tried to insure providers against IL. Bancor's "impermanent loss protection" was a prominent example, but it was paused in June 2022 during a market downturn, which showed that such guarantees depend on the protocol's own token and treasury.
Limitations of the concept
The standard formula ignores fees, gas fees, slippage and the risk of smart-contract failure, so it is a starting point rather than a full profit-and-loss measure. It also compares against holding, which is only one possible benchmark; a provider who would otherwise have sold the tokens may judge the outcome differently. A pool can be large by total value locked and still leave many individual providers worse off than holders: a 2021 study by Bancor and Topaz Blue estimated that about half of Uniswap v3 providers it examined had lost more to impermanent loss than they earned in fees. Exchanges that use an order book avoid the problem, because market makers there set their own quotes instead of following a fixed formula.
External links
Ref 1070000103