🌢🌢🌢🌢 Spicy

What Is Impermanent Loss in DeFi? The Real Math Behind Losing Money While Prices Rise

Impermanent loss is the gap between what your crypto would be worth if you simply held it and what a liquidity pool position is actually worth after the pool automatically rebalances your tokens as prices move. It's a real, calculable cost of providing liquidity, not a rare edge case. Deposit $10,000 into a 50/50 ETH/USDC pool and ETH's price doubles, and your pool position ends up worth about $14,142 instead of the $15,000 you'd have from just holding the same ETH and USDC, a loss of roughly $858, or 5.7%, before counting any trading fees you earned along the way.

How Does a Liquidity Pool Actually Create This Loss?

Most DeFi liquidity pools use an automated market maker, or AMM, which holds two assets in a ratio governed by a simple formula: the amount of asset X multiplied by the amount of asset Y always equals a constant, k. When you deposit into a pool, you aren't locking in a fixed dollar split, you're locking in a fixed formula, and the pool is free to shift the number of each token you hold as outside traders push the price in one direction or another. If ETH's price rises relative to USDC, traders buy ETH out of the pool using USDC until the pool's internal price matches the outside market, which means the pool is quietly selling your ETH into USDC as the price climbs, the opposite of what you'd want if you simply believed ETH was going up and held it yourself.

What Does Impermanent Loss Actually Look Like in Dollars?

Say you deposit $10,000 into an ETH/USDC pool when ETH is trading at $2,000, which the pool splits into 2.5 ETH and $5,000 in USDC. Running the constant product math at two different price points shows what actually happens to that position compared to just holding the same 2.5 ETH and $5,000 in cash:

  • ETH doubles to $4,000. Holding: $15,000 (2.5 ETH at $4,000, plus the original $5,000 in cash). Pool position: about $14,142. Impermanent loss: roughly $858, or 5.7%.
  • ETH quadruples to $8,000. Holding: $25,000. Pool position: $20,000. Impermanent loss: $5,000, or 20%.

The loss gets worse the further the price moves in either direction, and it's symmetric: ETH falling by a given ratio produces almost the same percentage loss as ETH rising by that same ratio, because the pool is rebalancing away from whichever asset just moved, up or down.

Why Is It Called "Impermanent" Loss Instead of Just "Loss"?

Because the loss only becomes real, realized money that's actually gone, if you withdraw your liquidity while the price ratio is still skewed from where you deposited it. If ETH's price fully round-trips back to $2,000 before you withdraw, the pool rebalances back to roughly your original 2.5 ETH and $5,000 in USDC, and the loss on paper disappears. The catch is that you don't control when, or whether, that round trip happens, and the trading fees you earn in the meantime are the only thing that can make withdrawing early, while the loss is still showing, worth it anyway.

Do Trading Fees Make Up for the Loss?

Sometimes, but it isn't guaranteed. Liquidity providers earn a cut of every trade that passes through the pool, typically a fraction of a percent to a few tenths of a percent per trade depending on the platform and pool, and in a high-volume pool that fee income can exceed the impermanent loss over time. Stablecoin-to-stablecoin pools, like USDC paired with USDT, carry very little impermanent loss risk in the first place, since both assets are designed to stay near the same price, which is why fee income there is closer to a clean profit. A volatile pair like ETH/USDC can easily rack up more impermanent loss than fees earned, especially during a sharp, one-directional price move rather than the back-and-forth trading that actually generates fee volume.

What Are the Real Risks Beyond Impermanent Loss?

  • Smart contract risk is separate from impermanent loss and can cost you everything. A bug or exploit in a pool's code can drain it entirely, a risk that has nothing to do with which way the price moved.
  • None of this is FDIC- or SIPC-insured. There's no deposit insurance and no regulator standing behind a liquidity pool if something goes wrong.
  • Regulatory treatment is still unsettled. How providing liquidity gets taxed, and whether depositing or withdrawing counts as a taxable event, varies by situation and isn't fully settled law, a real planning risk layered on top of the market risk.
  • Volatility cuts both ways, fast. The same math that produces a 20% impermanent loss on a 4x price move works just as quickly during a sharp, fast crash, not only during a slow grind upward.

Is Providing Liquidity Worth the Risk?

It can be, if the fee income you realistically expect to earn is large enough to outweigh the impermanent loss a plausible price swing would create, and you're comfortable carrying smart contract and regulatory risk on top of that. It tends to work out better in stablecoin pools, where the price-ratio risk is small and the fee income is closer to straightforward yield, and tends to work out worse in a volatile pair during a strong one-directional trend, which is exactly when a pool's advertised yield looks most tempting. As with any part of DeFi, the number worth running before depositing is your own break-even: how much the price would have to move, and for how long, before your fee income stops covering the loss.

If you're newer to how crypto risk and custody actually work, our breakdowns of what a stablecoin actually is and what happens when the peg breaks and how crypto lending and liquidation work cover two of the other mechanics worth understanding before putting money into any DeFi protocol.

β€”
Spicy Investing