What Is Impermanent Loss? A Beginner’s Guide to Understanding DeFi Liquidity Risks
Impermanent loss occurs when the price of assets in a liquidity pool diverges, reducing the value of your share compared to simply holding the tokens.
Key takeaways
- Impermanent loss happens when pooled assets change price relative to each other.
- Providing liquidity can still be profitable if trading fees outweigh the loss.
- You can mitigate impermanent loss with stable‑coin pools, diversified assets, or by timing withdrawals.
1. The Basics: What Is a Liquidity Pool?
A liquidity pool is a smart‑contract‑based reserve of two (or more) tokens that enables decentralized exchanges (DEXs) to execute trades without an order book. The pool holds the assets and automatically supplies them to traders who want to swap one token for another.
Liquidity providers (LPs) deposit an equal value of each token into the pool and receive pool tokens (often called LP tokens) that represent their proportional ownership. These tokens can be redeemed later for the underlying assets plus any fees earned.
Because the pool is always on‑chain, anyone can interact with it at any time, which creates a continuous market for the paired assets. This model removes the need for a centralized market maker and reduces latency for traders.
- Common DEXs: Uniswap, SushiSwap, PancakeSwap
- Typical pair: ETH/USDC, BTC/DAI, etc.
- LPs earn a portion of the transaction fees generated by the pool.
2. How Automated Market Makers Calculate Prices
Most DEXs use an Automated Market Maker (AMM) model, most famously the constant‑product formula x·y = k, where x and y are the quantities of the two tokens and k is a constant. When a trade is executed, the contract adjusts x and y so that the product remains unchanged, which in turn changes the price ratio between the tokens.
The AMM price is always the ratio of the token reserves (price = y/x for token X in terms of token Y). This means that larger trades cause a bigger shift in the reserves and therefore a larger price impact. Small trades have a near‑linear effect, while huge trades can move the price dramatically.
Because the price is derived from the pool’s balance, there is no external reference to an order book or a centralized ticker. The market price on the DEX will converge toward the broader market price as arbitrage bots trade the difference away, ensuring that the pool stays roughly aligned with external exchanges.
- If you buy ETH with USDC, the pool’s ETH balance drops and USDC balance rises, making ETH slightly more expensive.
- The price impact grows larger with bigger trades relative to the pool size.
3. Defining Impermanent Loss
Impermanent loss (IL) is the difference between the value of your LP tokens and the value you would have if you simply held the original assets outside the pool. In other words, it measures the opportunity cost of providing liquidity versus a buy‑and‑hold strategy.

Discussion 0