brooder.tech

Impermanent Loss Explained with a Real Liquidity Pool Example

Impermanent loss is the difference between holding two assets separately and depositing them into an automated market maker (AMM) liquidity pool. It becomes permanent when you withdraw at a loss relative to just holding. The core mechanism: AMMs constantly rebalance your deposited tokens to maintain a fixed ratio, forcing you to sell the one that goes up and buy the one that goes down.

How amms create impermanent loss

A constant-product AMM like Uniswap V2 uses the formula x * y = k. When you deposit, you provide equal value of two tokens. The pool's pricing algorithm automatically adjusts the ratio of your deposit as external market prices change. If one token's price rises in external markets, arbitrage traders buy the cheaper token from the pool until the pool price matches the market. This process sells your rising asset and buys your falling one.

The loss is "impermanent" because if prices return to your original deposit ratio, the loss disappears. If you withdraw while prices are diverged, the loss becomes permanent.

Real example: ETH/USDC pool

Imagine you deposit $5,000 of ETH and $5,000 of USDC into an ETH/USDC liquidity pool on a major DEX. At deposit, ETH trades at $2,000, so you put in 2.5 ETH and 5,000 USDC. Your total position is worth $10,000.

Scenario A: ETH rises to $3,000

If you had simply held, your 2.5 ETH would be worth $7,500, plus $5,000 USDC = $12,500 total.

In the pool, arbitrage traders buy your ETH and sell you USDC until the pool price matches $3,000. The constant product formula recalculates your share. After adjustment, you now hold approximately 2.04 ETH and 6,124 USDC (values rounded). Your pool position is worth about $12,248.

Your impermanent loss = $12,500 (hold) - $12,248 (pool) = $252, or roughly 2% of your holding value. You still gained from the ETH price increase, but less than if you held.

Scenario B: ETH falls to $1,000

Holding: 2.5 ETH at $1,000 = $2,500, plus $5,000 USDC = $7,500 total.

In the pool, arbitrageurs sell ETH and buy USDC. Your position becomes about 3.54 ETH and $3,536 USDC, worth $7,072.

Impermanent loss = $7,500 - $7,072 = $428, or about 5.7% of holding value.

Scenario C: ETH returns to $2,000

If ETH returns to exactly $2,000 before you withdraw, the pool rebalances back to your original ratio: 2.5 ETH and 5,000 USDC. No impermanent loss. The fees you earned during the period are pure profit.

The real cost: what fees cover

Impermanent loss is not a fee the protocol charges. It is an opportunity cost - the difference between your pool returns and what holding would have given you. Liquidity pools pay you trading fees (typically 0.01% to 1% per swap) to compensate for taking this risk.

Whether you profit depends on trading volume and fee rates against price volatility. A high-volume pool with 0.3% fees might offset a 2% impermanent loss in weeks. A low-volume pool with 0.05% fees might never cover a 5% loss.

Factors that increase impermanent loss

How to check impermanent loss before depositing

  1. Use a calculator: Sites like Whiteboard Crypto or DeFiLlama offer impermanent loss calculators. Input your deposit amounts, expected price change, and fee rate to see approximate loss.
  2. Check historical volatility: Look at the pair's price chart over the past 30-90 days. A pair that moved 30% in a month will likely cause significant impermanent loss.
  3. Compare fee APY to expected loss: If a pool shows 10% fee APY but the token pair's historical volatility suggests 15% annual impermanent loss, you are losing money.
  4. Look at pool volume: Higher volume means more fees. A pool doing $10M daily volume with 0.3% fees generates $30,000 daily in fees for LPs. Your share depends on your deposit size.

When impermanent loss matters most

Impermanent loss hurts most when: - You deposit into a new, hyped token pair that spikes then crashes (meme coins, governance tokens after launch). - You use stablecoin pairs (USDC/DAI) where impermanent loss is near zero but fee rates are low. - You deposit into a pool with high token volatility and low trading volume - you bear the volatility risk without adequate compensation.

What you can do about it

The honest bottom line: Impermanent loss is not a bug or a scam. It is the explicit cost of providing liquidity in an automated market. If you understand it, you can decide whether the fee income makes the risk worth taking. If you do not understand it, do not deposit.

Not financial advice. brooder.tech publishes market data and general information about digital assets. Crypto assets are volatile and you can lose everything you put in. Nothing here is a recommendation to buy, sell or hold, and we make no price predictions.

Prices are sourced from third parties and may be delayed or wrong. Verify anything you intend to act on against a primary source.

Back to defi yield