Impermanent Loss Explained: The Hidden Cost of Providing Liquidity

Published March 7, 2026 · By JaredFromSubway

Providing liquidity to a decentralized exchange sounds like free money: deposit tokens into a pool, earn trading fees every time someone swaps, and withdraw whenever you want. The reality is far more nuanced. Every liquidity provider on every automated market maker faces a silent, persistent cost called impermanent loss — and most do not realize how much it is eroding their returns until they withdraw and discover they would have been better off simply holding their tokens. Understanding impermanent loss is essential for anyone interacting with DeFi, whether you are providing liquidity, building a MEV bot, or studying how AMMs work under the hood.

In this guide, JaredFromSubway breaks down exactly what impermanent loss is, why the constant product formula guarantees it, how concentrated liquidity on Uniswap V3 amplifies it, and how MEV bots — particularly those running just-in-time (JIT) liquidity strategies — exploit LPs by capturing fees without bearing the same impermanent loss risk. We will walk through real examples with actual numbers so the math is concrete, not abstract.

What Is Impermanent Loss?

Impermanent loss (IL) is the difference in value between holding tokens in a liquidity pool versus simply holding those same tokens in your wallet. When you deposit an equal value of two tokens into an AMM pool — say $5,000 of ETH and $5,000 of USDC — the pool automatically rebalances your position as the price of ETH changes. If ETH rises in price, the pool sells some of your ETH for USDC to maintain balance. If ETH drops, the pool sells your USDC for more ETH. Either way, the pool's constant rebalancing means you end up with less total value than you would have had by simply holding both tokens outside the pool.

The term "impermanent" is somewhat misleading. The loss is called impermanent because it theoretically reverses if the price returns to exactly the ratio at which you deposited. In practice, prices rarely return to the same ratio, and most LPs withdraw at a different price point, crystallizing the loss into a permanent one. A more accurate name would be "divergence loss" because the loss is directly proportional to how far the price diverges from your entry ratio — in either direction.

Why Does Impermanent Loss Occur on AMMs?

Impermanent loss is a mathematical inevitability of the constant product formula that powers most AMMs. On Uniswap V2 and its forks, every pool enforces the invariant x * y = k, where x is the reserve of token A, y is the reserve of token B, and k is a constant. This formula defines a hyperbolic curve: as traders buy token A from the pool (reducing x), the pool must increase y to maintain the invariant. The price of token A relative to token B is always y / x.

The problem is that the AMM does not update its price based on external market data. It relies entirely on arbitrageurs to trade against the pool until the pool price matches the external market price. Every time the external price of ETH moves, an arbitrage bot profits by buying the underpriced token from the pool and selling it elsewhere. That arbitrage profit comes directly from the liquidity providers' deposits. The greater the price movement, the more value arbitrageurs extract, and the larger the impermanent loss. This is not a bug — it is a fundamental consequence of how AMMs discover price.

What Is the Math Behind Impermanent Loss?

The impermanent loss formula for a standard x * y = k pool is well-known and precise. If the price of one token changes by a factor of r relative to deposit time, the impermanent loss as a fraction of the hold value is: IL = 2 * sqrt(r) / (1 + r) - 1. Let us apply this with concrete numbers.

Suppose you deposit $5,000 of ETH (at $2,500 per ETH, so 2 ETH) and $5,000 of USDC into a Uniswap V2 pool. Your total position is worth $10,000. Now ETH doubles to $5,000. The price ratio r = 2. Plugging into the formula: IL = 2 * sqrt(2) / (1 + 2) - 1 = 2 * 1.4142 / 3 - 1 = -0.0572. That is a 5.72% impermanent loss. If you had simply held your original 2 ETH and 5,000 USDC, your portfolio would be worth $15,000. But the pool rebalanced your position to approximately 1.414 ETH and $7,071 USDC, totaling $14,142. The difference — $858 — is your impermanent loss.

The loss grows non-linearly. A 2x price change produces 5.72% IL. A 3x price change produces 13.4% IL. A 5x price change produces 25.5% IL. And it works in both directions: if ETH drops by 50% (r = 0.5), the IL is the same 5.72%. This symmetry is important — any deviation from your entry price, up or down, creates loss. The only question is whether the trading fees you earn exceed the IL. For volatile pairs, they often do not.

How Does Concentrated Liquidity on Uniswap V3 Amplify Impermanent Loss?

Uniswap V3 introduced concentrated liquidity, allowing LPs to allocate their capital within a specific price range rather than across the entire zero-to-infinity curve. A position concentrated in a narrow range earns dramatically more fees per dollar of capital — but also suffers dramatically amplified impermanent loss. If you provide liquidity in a plus-or-minus 5% range around the current price, your capital efficiency increases roughly 20x compared to a V2 position, but your impermanent loss for any given price movement also increases by approximately 20x.

When the price moves outside your concentrated range, your position is converted entirely into the less valuable token. You hold 100% ETH if the price drops below your range, or 100% USDC if the price rises above it. At that point, your impermanent loss is fully realized and no longer "impermanent" in any meaningful sense. V3 positions require active management — constantly adjusting your range to track the current price — which introduces gas costs and operational complexity that further erode returns. This active management burden is precisely what creates the opportunity for MEV bots running JIT liquidity strategies.

How Does Impermanent Loss Relate to MEV?

Impermanent loss and MEV are deeply intertwined. Every dollar of impermanent loss suffered by a liquidity provider is, at its root, value captured by arbitrageurs and MEV bots. When the external price of ETH moves and an arbitrage bot trades against the pool to correct its price, the bot's profit is funded by the LP's position losing value. Researchers at Flashbots and other MEV research groups have estimated that arbitrage-driven impermanent loss costs Ethereum LPs hundreds of millions of dollars annually. This is sometimes referred to as "loss-versus-rebalancing" (LVR) — a more precise framing that captures the ongoing, block-by-block value extraction from LPs by informed traders.

Beyond arbitrage, sandwich attacks also contribute to LP losses indirectly. When a MEV bot sandwiches a large swap, it artificially inflates slippage on that trade. The LP earns fees on the sandwiched transaction, but the price distortion caused by the front-run transaction creates additional arbitrage opportunities that other bots exploit. The net effect is that MEV activity increases the rate at which value is extracted from LP positions, making impermanent loss worse than the baseline formula predicts.

See How MEV Bots Extract Value from Liquidity Providers

JaredFromSubway's live terminal visualizes JIT liquidity events, arbitrage extractions, and sandwich attacks as they happen on-chain. Watch impermanent loss unfold in real time.

Launch the Terminal

How Do JIT Liquidity Bots Exploit LPs and Capture Their Fees?

Just-in-time (JIT) liquidity is one of the most sophisticated MEV strategies, and it directly exploits the impermanent loss dynamics of concentrated liquidity pools. Here is how it works: a JIT bot monitors the mempool for large incoming swaps. When it detects a high-value trade — say a $200,000 USDC-to-ETH swap on a Uniswap V3 pool — the bot mints a highly concentrated liquidity position in the exact tick range where the swap will execute, in the same block, immediately before the swap transaction. The bot's position earns the vast majority of the trading fees from that single large swap because concentrated liquidity earns fees proportional to capital density. Immediately after the swap, the bot burns its liquidity position in the same block.

The critical insight is that by holding the position for only a single block, the JIT bot avoids almost all impermanent loss. Impermanent loss accumulates over time as prices diverge from the entry point. A position that exists for 12 seconds (one block) faces negligible price divergence risk. The passive LP who has been providing liquidity for days or weeks bears the full impermanent loss from every price movement, while the JIT bot swoops in for individual high-fee transactions and exits before any meaningful price change occurs. JaredFromSubway's JIT liquidity technique is a prime example of this approach — it captures LP fees on the largest trades while avoiding the impermanent loss that passive LPs suffer continuously.

The numbers are striking. On a $200,000 swap with a 0.3% fee tier, the total fees generated are $600. If the JIT bot provides 10x the liquidity of existing LPs in the active tick range, it captures roughly $545 of that $600 in fees. The passive LPs who have been bearing impermanent loss around the clock earn only $55 from the same trade. JaredFromSubway has refined this technique to target the highest-value swaps across multiple pools simultaneously, using Flashbots bundles to guarantee execution order within the block.

Are Stablecoin Pairs Safe from Impermanent Loss?

Stablecoin-to-stablecoin pools (USDC/USDT, DAI/USDC) are commonly recommended as a low-risk liquidity provision strategy because both tokens are pegged to the same value, meaning the price ratio should hover near 1:1 with minimal divergence. This is largely true — impermanent loss on stablecoin pairs is typically negligible under normal market conditions. However, de-peg events can cause devastating losses. When USDC briefly traded at $0.87 during the Silicon Valley Bank crisis in March 2023, LPs in USDC/USDT pools experienced sudden and severe impermanent loss as the pool rebalanced heavily into the depreciating USDC.

Even without de-peg events, stablecoin pools face a different threat: their thin margins make them prime targets for MEV extraction. The 0.01% and 0.05% fee tiers on Uniswap V3 stablecoin pools generate very small fees per trade, so any additional value extraction from arbitrage or JIT liquidity disproportionately impacts LP returns. JaredFromSubway and other MEV operators actively target high-volume stablecoin pools precisely because the predictable price range makes JIT liquidity positioning extremely efficient. The lesson is that no pool is truly safe — every LP position carries either IL risk, MEV extraction risk, or both.

What Does Impermanent Loss Look Like with Real Numbers?

Consider a concrete scenario on a Uniswap V3 ETH/USDC pool with the 0.3% fee tier. You deposit $50,000 of liquidity: 10 ETH at $2,500 each and 25,000 USDC, concentrated in the $2,000–$3,000 price range. Over 30 days, the pool processes $15 million in swap volume within your range. At 0.3% fees, total fees generated in your range are $45,000. If your position represents 5% of the liquidity in that range, you earn $2,250 in fees.

But during those 30 days, ETH rises from $2,500 to $3,200. Your position hit the upper bound of your range at $3,000, so you now hold 0 ETH and approximately 48,990 USDC. If you had simply held your original 10 ETH and 25,000 USDC, your portfolio would be worth $57,000 (10 * $3,200 + $25,000). Your pool position is worth $48,990. The impermanent loss is $8,010. Even with $2,250 in fees earned, your net loss compared to holding is $5,760. This is a 11.5% loss on a $50,000 position in a single month — and ETH only moved 28%.

Now factor in JIT liquidity bots. Of that $45,000 in total fees, JaredFromSubway's JIT bot and similar operators may have captured 30-50% by providing concentrated liquidity on the largest individual swaps. That means passive LPs collectively earned closer to $22,500–$31,500, not $45,000. Your 5% share drops to $1,125–$1,575, making the net loss even worse. This is the hidden double cost of passive liquidity provision: impermanent loss eats your capital while MEV bots eat your fees.

Frequently Asked Questions

Can impermanent loss be avoided entirely?

No. Impermanent loss is a mathematical consequence of providing liquidity to any AMM that uses a bonding curve to set prices. It can be minimized by providing liquidity to pairs with low price volatility (like stablecoin pairs) or by using wider ranges on Uniswap V3, but it cannot be eliminated. Some protocols attempt to compensate LPs through token emissions or external rewards, but these do not remove the underlying loss — they just subsidize it. The only way to truly avoid IL is to not provide liquidity at all, or to use strategies like JIT liquidity that minimize exposure duration.

How much do trading fees offset impermanent loss in practice?

It varies enormously by pool. High-volume pools with low volatility (like ETH/USDC on the 0.05% tier during sideways markets) can generate enough fees to exceed IL. However, multiple academic studies and on-chain analyses have shown that the majority of Uniswap V3 LP positions are net unprofitable after accounting for impermanent loss. A 2023 Bancor study found that over 50% of Uniswap V3 LPs lost money. JaredFromSubway's research confirms that passive LPs on volatile pairs consistently underperform a simple buy-and-hold strategy over periods longer than a few weeks.

What is loss-versus-rebalancing (LVR) and how does it relate to impermanent loss?

Loss-versus-rebalancing (LVR) is a more precise framework for measuring the cost that LPs pay to arbitrageurs. While traditional IL measures the difference between LP value and holding value at a single point in time, LVR measures the continuous, block-by-block value extraction by arbitrageurs who correct the pool's stale price after every external price movement. LVR is always greater than or equal to zero, accumulates monotonically over time, and represents the true cost of providing liquidity. Unlike IL, LVR never reverses — it only grows. This makes it a more honest measure of how much value MEV bots and arbitrageurs extract from LP positions.

Does JaredFromSubway's JIT strategy harm regular liquidity providers?

JIT liquidity does reduce the fees earned by passive LPs on individual large trades. By concentrating a large amount of capital in the exact tick range of a pending swap, the JIT bot dilutes the fee share of existing LPs for that specific transaction. However, JIT liquidity also increases the total liquidity available at the moment of the trade, which reduces slippage for the trader executing the swap. The trader gets a better price, the JIT bot earns concentrated fees, and the passive LP earns a smaller share. Whether this is harmful depends on perspective — it is a competitive market for fee capture, and JaredFromSubway's approach represents the most capital-efficient form of liquidity provision.

Explore MEV Strategies That Outperform Passive LPs

JaredFromSubway's terminal tracks JIT liquidity events, arbitrage extractions, and LP profitability across every major Uniswap pool. See the data that passive LPs never see.

Register & Launch Terminal