What Is Impermanent Loss in Liquidity Pools?

If you have looked into earning fees by supplying tokens to a decentralized exchange, you have probably run into the phrase "impermanent loss." It sounds like a warning label, and in a sense it is — but it describes something quite specific and mechanical, not a bug or a hack. Understanding it starts with understanding how automated market makers work.

Most decentralized exchanges do not use an order book where buyers and sellers post bids and offers. Instead, they use a liquidity pool: a smart contract holding a reserve of two (or more) tokens. Anyone who wants to trade swaps against that reserve, and the price is determined by a formula based on the ratio of tokens in the pool. The most common design is the constant product formula, where the quantity of token A multiplied by the quantity of token B must stay equal to a fixed number after every trade. If someone buys token A out of the pool, the pool's A balance shrinks and its B balance grows, which automatically makes the next unit of A more expensive. That is the whole pricing mechanism.

Liquidity providers, or LPs, are the people who deposit the tokens that make this possible. They typically deposit both assets in a ratio set by the pool and receive LP tokens representing their share. In return, they earn a cut of the trading fees paid by swappers.

Here is where impermanent loss enters. The pool does not know what tokens are worth on the wider market. It only knows its own ratio. When the external market price of one token moves, the pool's price is briefly out of line, and arbitrage traders step in to profit from the gap. They buy the token that has become cheap inside the pool and sell the token that has become expensive, until the pool's price matches the market again. That arbitrage is what keeps the pool honest, but it works by taking value out of the pool's reserves and giving it to the arbitrageur.

The result is that the pool always ends up holding more of whichever asset fell in relative value and less of whichever asset rose. If you deposited two tokens and one of them appreciates strongly against the other, when you withdraw you will get back a smaller amount of the winner and a larger amount of the laggard than you put in. Compared to the alternative of simply holding both tokens in a wallet and doing nothing, your position is worth less. That shortfall is impermanent loss. Some people prefer the clearer term "divergence loss," because the size of the gap depends entirely on how far the two assets' prices diverge from where they were when you deposited.

The word "impermanent" is there because the effect can reverse. If the price ratio drifts back to where it started, the gap closes and disappears. Nothing has actually been lost until you withdraw. The moment you pull your liquidity out at a diverged price ratio, the loss becomes permanent and realized.

A few properties follow from the math. The loss is symmetrical: it does not matter which token moves up and which moves down, only how far apart they drift. It grows non-linearly, meaning small price divergences cause very small losses while large divergences cause disproportionately larger ones. And it is always measured against holding, not against zero — it is possible for a pool position to be up in value while still having underperformed simply holding the same tokens.

This is why trading fees matter so much. Fees accrue continuously as long as people are swapping, and they can offset or exceed the divergence gap. Whether they do depends on trading volume, fee levels, and how much prices move. There is no guarantee either way.

Pool design also affects exposure. Pools pairing two assets that tend to track each other closely, such as two tokens pegged to the same reference value, experience little divergence and therefore little impermanent loss. Pools pairing a volatile asset with a stable one face the most. Some designs use uneven weightings to reduce sensitivity, and concentrated liquidity models let providers focus their capital in a narrow price band, which amplifies both fee earnings and divergence effects within that band.

The practical takeaway is that liquidity provision is not a savings account. It is a position with its own risk profile, where you are effectively selling into rallies and buying into declines by design, and being paid fees for the service.

This article is for general education only — not financial advice, and nothing here is a recommendation to buy, sell, or hold any asset. Cryptocurrency carries real risk of loss; always do your own research before making a financial decision.