Lab: free tools · size first · stock scanner · crypto scanner · journal

DeFi

Impermanent Loss

Impermanent loss is how far a liquidity pool position falls behind simply holding the same two tokens, caused by the pool rebalancing as prices move. It shrinks if prices return to where you entered and becomes real when you withdraw after they've moved.

What impermanent loss is

When you provide liquidity to an automated market maker, you deposit two tokens and earn a share of the trading fees. The catch is that the pool keeps rebalancing as prices move. Impermanent loss is the gap between what your pool position is worth and what the same tokens would be worth if you'd just held them in a wallet.

It's measured against holding, not against zero. Your position can be up in dollars and still have impermanent loss, because holding would have made more.

How it happens

A standard 50/50 pool, the Uniswap v2 design, keeps the product of its two token balances constant: x × y = k. The pool's price is just the ratio of the two balances. When the market price of one token rises, the pool is now selling it too cheap, and arbitrage traders buy it from the pool until the ratio matches the market. That leaves the pool with less of the token that went up and more of the one that didn't. You own the same share of the pool, but the pool now holds a worse mix.

Put plainly, the pool sells your winners on the way up and buys more of your losers on the way down. Arbitrage traders are the ones on the other side, and the fees are what you get paid for it.

A worked example

Example numbers only. You deposit 1 ETH and 3,000 USDC into an ETH/USDC pool when ETH is $3,000. Your deposit is worth $6,000.

ETH rises to $4,500. Arbitrage rebalances the pool, and your share is now about 0.8165 ETH and 3,674.23 USDC. That's worth about $7,348.47.

If you'd held instead, you'd have 1 ETH worth $4,500 plus 3,000 USDC, so $7,500. The gap is about $151.53, or about 2.0% of the hold value. That's the impermanent loss, before fees.

The formula and a table

IL = 2 x √r / (1 + r) - 1, where r is the new price ratio divided by the starting price ratio.

Price ratio changeImpermanent loss vs holding
1.25x-0.6%
1.5x-2.0%
2x (or 0.5x)-5.7%
3x-13.4%
4x (or 0.25x)-20.0%
5x-25.5%
10x-42.5%

Two things fall out of this. It's symmetric: a token halving costs the same 5.7% as one doubling. And it's not linear: small moves barely register, big ones get expensive fast. Only the size of the ratio change matters, not the path, which is why a round trip back to the entry ratio closes the gap. You can run your own numbers in our impermanent loss calculator.

Fees versus loss

Fees are why anyone provides liquidity. In a pair that trades heavily but goes nowhere, fees can comfortably beat impermanent loss. In a pair that trends hard one way, the loss usually wins.

A rough way to see the bar: in a pool with a 0.30% fee tier, you earn at most 0.30% of the volume that passes through your share. To cover a 5.7% loss from a 2x move, the pool needs to trade about 19 times its size while you're in it (5.7 / 0.30). Fee tiers vary by pool, and part of the fee flow goes to arbitrage and just-in-time liquidity, so treat that as a floor, not a target.

Reward tokens on top of fees should be valued at what you could actually sell them for, not at the headline APR. A high yield paid in a token that's falling is mostly the same loss in a different wrapper.

Which pairs carry the most risk

  • Volatile with volatile, such as two altcoins: both move on their own, so the ratio can drift far. Highest risk.
  • Volatile with a stablecoin, such as ETH/USDC: all the loss comes from the volatile side. A big rally still hurts compared with holding.
  • Closely tracking pairs, such as two stablecoins or a staked token against its base: very little loss while they hold together, and a sudden large one if one breaks its peg. See how stablecoins hold a peg.

Concentrated liquidity makes it sharper

In concentrated-liquidity pools such as Uniswap v3, you choose a price range. While price stays inside it, your capital earns more fees. But impermanent loss inside the range is larger for the same move, and if price leaves the range, your position turns entirely into the token that lost ground and stops earning fees. Below the range you end up all in the volatile token. Above it, all in the stable one. Managing ranges becomes a job. Our page on range orders in AMMs covers the mechanics.

When "impermanent" becomes permanent

  • You withdraw while the price ratio is away from where you entered. The gap is now locked in.
  • One token breaks for good: a depeg, a hack, or a collapse. The ratio never comes back.
  • A concentrated position sits out of range for long enough that the fees you missed are the real cost.

Some LPs hedge with options, buying protection on the volatile side so a big move pays something back. The option costs money and cuts into the yield, so it only makes sense when the position is large enough to justify it.

How to judge a pool

Compare expected fee income with how far the pair is likely to move, not with zero. Prefer pairs that track each other if you want to limit the loss. Check how much of the yield is fees and how much is reward tokens. For the wider picture of how pools work and where yield comes from, see liquidity pools in DeFi and yield farming.

Providing liquidity is selling volatility to traders for a fee. That's a business, and businesses can lose money.

FAQ

Is impermanent loss a real loss?

It's real compared with holding the tokens. It only becomes final when you withdraw. If prices return to your entry ratio first, it goes away, and you keep the fees.

Can fees cover impermanent loss?

Yes, in pairs with heavy trading and modest price moves. In pairs that trend hard, fees often don't keep up. Run the numbers for the specific pool and fee tier.

Do stablecoin pools have impermanent loss?

Very little while both coins hold their peg. If one breaks, the loss can be large, because the pool keeps buying the coin that's falling.

This page is education, not financial advice.