Impermanent Loss

Impermanent loss (IL) is a phenomenon unique to automated market maker (AMM) liquidity provision in which a liquidity provider (LP) ends up with less total value in their deposited assets compared to simply holding those same assets in their wallet.

The loss occurs whenever the relative price of the two tokens in a liquidity pool changes from the ratio at the time of deposit. The greater the price divergence, the larger the impermanent loss, regardless of whether the price went up or down.

The term “impermanent” is used because the loss only becomes realized (permanent) when the LP withdraws their tokens from the pool. If the token prices return to their original ratio before withdrawal, the impermanent loss disappears.

However, in practice, prices rarely return to exactly their original ratio, and many LPs hold positions for extended periods during which prices move significantly, making the loss very real despite its “impermanent” name.

Impermanent loss is caused by the constant rebalancing mechanism of AMMs. In a constant product pool (x times y equals k), when one token’s price rises, arbitrageurs buy the cheaper token from the pool, pushing its price toward the market rate and effectively converting some of the appreciating token into the depreciating one.

The LP ends up with more of the token that decreased in relative value and less of the token that increased, the opposite of what they’d want. For example, if ETH doubles in price while you’re providing ETH/USDC liquidity, you end up with less ETH (and more USDC) than you started with, resulting in less total value than if you had simply held both tokens.

Origin & History

2018: Uniswap V1 launches with the constant product AMM formula. Early LPs notice that their positions are sometimes worth less than simply holding the tokens, but the phenomenon isn’t yet well characterized.

2019: Pintail publishes “Uniswap: A Good Deal for Liquidity Providers?”, one of the first detailed analyses of LP returns and the mathematical basis of what would become known as impermanent loss.

2020: The term “impermanent loss” gains widespread usage during DeFi Summer as thousands of new LPs encounter the phenomenon for the first time. Many discover that high farming APYs don’t necessarily translate to profits after accounting for IL.

2020 to 2021: Academic papers formalize impermanent loss calculations. The crypto community develops calculators and tools, such as IL calculators and analytics dashboards like APY.vision and Revert Finance, to help LPs assess their real returns.

2021 (May): Uniswap V3 introduces concentrated liquidity, which amplifies both fee earning potential and impermanent loss within the selected price range. This makes IL calculation more complex.

2021 to 2022: “Impermanent loss protection” features emerge. Bancor’s V2.1 model offers IL protection through its native token insurance mechanism, which is later suspended during the 2022 market downturn due to unsustainability. Other protocols explore alternative IL mitigation strategies.

2023 to 2024: Active LP management protocols, such as Arrakis and Gamma Strategies, emerge to help LPs manage concentrated liquidity positions and reduce effective impermanent loss through automated rebalancing.

2025 to 2026: Impermanent loss remains the primary risk for AMM LPs. Newer AMM designs, including dynamic fee mechanisms, oracle-informed pricing, and intent-based trading systems, attempt to reduce the practical impact of IL, but it remains mathematically inherent to the constant product model itself.

“Impermanent loss is the tax you pay for being a market maker on an AMM. Understanding it is the price of admission to DeFi liquidity provision.” A common framing among DeFi researchers.

In Simple Terms

The auto-rebalancing problem: imagine you own 1 ETH ($2,000) and 2,000 USDC, and you put both into a pool. If ETH doubles to $4,000, the pool automatically sells some of your ETH for more USDC to keep things balanced. You end up with roughly 0.71 ETH and 2,828 USDC, about $5,656 total, instead of the $6,000 you’d have if you just held. That difference is impermanent loss.

The currency exchange booth: imagine running a currency exchange booth with dollars and euros. If the euro suddenly gets stronger, customers rush to buy your cheap euros. You end up with mostly dollars and few euros. If you’d just kept your original euros, you’d be richer. That’s impermanent loss: you gave away the appreciating asset.

The two-sided bet that always loses a little: providing liquidity is like making a bet that both tokens will stay at the same relative price. If either token moves significantly in either direction, you lose compared to just holding. The pool’s constant rebalancing always works against you when prices move.

The invisible fee: impermanent loss is like a hidden fee on your investment that only appears when prices change. The trading fees you earn as an LP are compensation for taking this risk. If the fees you earn exceed the impermanent loss, you profit. If not, you would have been better off just holding.

Important: Impermanent loss is not the same as an actual loss of your tokens. You still have your liquidity position. The “loss” is measured against a hypothetical scenario where you simply held the original tokens without providing liquidity. Whether you’re actually losing out depends on whether the trading fees you earn exceed the impermanent loss.

Key Technical Features

Mathematical Formula

For a 50/50 constant product pool, IL can be calculated as:

IL = 2 times the square root of the price ratio, divided by (1 plus the price ratio), minus 1

Where the price ratio equals the new price divided by the original price.

Price change examples:

  • 1.25x change (25% up): 0.6% IL
  • 1.5x change (50% up): 2.0% IL
  • 2x change (100% up): 5.7% IL
  • 3x change (200% up): 13.4% IL
  • 5x change (400% up): 25.5% IL

The loss is symmetrical: a 2x increase or a 0.5x decrease produces the same IL (5.7%).

Impact of Concentrated Liquidity

  • Concentrated liquidity (as introduced by Uniswap V3) amplifies impermanent loss within the selected range
  • A position concentrated in a narrow range experiences IL as if it were providing full-range liquidity with much more capital
  • The amplification factor can range roughly from 10x to 100x depending on how narrow the range is
  • If the price moves outside the LP’s range entirely, the position becomes 100% one token, the maximum possible IL for that range

Fee Compensation

  • LPs earn trading fees as compensation for bearing impermanent loss risk
  • Net profit equals fees earned minus impermanent loss
  • High-volume pools, such as ETH/USDC on Uniswap, generate significant fees that often exceed IL
  • Low-volume pools or pools with extreme volatility may not generate enough fees to offset IL
  • Additional liquidity mining rewards can further compensate for IL

Factors Affecting IL Severity

  • Price correlation: Pairs of correlated assets, such as ETH/stETH or USDC/USDT, have minimal IL
  • Volatility: Higher volatility means more frequent and larger price changes, increasing IL
  • Time: Longer LP positions are exposed to more cumulative price movement
  • Pool ratio: 50/50 pools have a standard IL profile; weighted pools, such as 80/20, have modified IL profiles

Advantages & Disadvantages

AdvantagesDisadvantages
Fee income: LPs earn trading fees that can exceed impermanent lossValue reduction: LP positions can be worth less than simply holding
“Impermanent”: Loss reverses if prices return to the original ratioCompounding divergence: Persistent trends cause increasing IL over time
Predictable: IL can be precisely calculated for any price changeComplexity: Most new LPs don’t understand IL until they experience it
Compensated risk: Protocols offer fee shares and token rewards for bearing ILHidden cost: IL isn’t visible on many LP dashboards, giving a false sense of profitability
Manageable: Strategies exist to minimize IL, such as stablecoin pairs and active managementConcentrated amplification: Uniswap V3-style concentrated positions amplify IL significantly
Not a total loss: LPs still have their tokens, just in different proportionsOpportunity cost: Capital in LP positions can’t be used for other strategies

Risk Management

Minimizing Impermanent Loss:

  • Provide liquidity to correlated pairs: stablecoin pairs (USDC/USDT) have near-zero IL, and ETH/stETH has minimal IL
  • Use wider ranges in concentrated liquidity positions to reduce amplification of IL
  • Focus on high-volume pools where fee income is most likely to exceed IL
  • Monitor positions regularly and withdraw if IL exceeds acceptable levels
  • Consider single-sided staking or lending as alternatives with no IL risk

Calculating Real Returns:

  • Always account for IL when evaluating LP performance; the APY displayed on dashboards typically shows fee returns but not IL
  • Use tools like APY.vision, Revert Finance, or DefiLlama to track actual profit and loss, including IL
  • Compare your LP return to a “HODL benchmark,” meaning what you would have earned just holding the tokens
  • Factor in gas costs for entering and exiting positions, especially on Ethereum mainnet

Advanced Strategies:

  • Active range management: Adjust concentrated liquidity ranges as prices move to minimize IL and maximize fee capture
  • Hedging with options: Use DeFi options protocols to hedge against price changes
  • LP management protocols: Use automated managers, such as Arrakis or Gamma, that rebalance positions
  • Timing: Provide liquidity during lower-volatility periods and consider withdrawing before anticipated high-volatility events

Cultural Relevance

Impermanent loss is often described as the “hidden villain” of DeFi liquidity provision. Many new DeFi users are attracted by eye-catching APY numbers on liquidity pools, only to discover that their actual returns are much lower, or even negative, after accounting for IL. The phrase “impermanent loss is real loss” has become a common warning in DeFi communities.

The name itself is somewhat controversial. Many argue that “impermanent” is misleading because in practice, prices rarely return to their original ratio, making the loss effectively permanent. Alternative names like “divergence loss” or “rebalancing cost” have been proposed but haven’t caught on widely.

“If you don’t understand impermanent loss, you have no business providing liquidity. It’s one of the most important concepts in DeFi that many participants get wrong.” A common sentiment among DeFi educators.

The existence of IL has driven significant innovation, including Curve’s StableSwap formula (optimized for minimal IL between similarly priced assets), Uniswap V3’s concentrated liquidity (higher fees to help offset IL), and various IL protection mechanisms, representing the community’s ongoing attempts to manage this fundamental challenge.

Real-World Examples

1. ETH/USDC LP During an ETH Bull Run

An LP deposits 1 ETH ($2,000) and 2,000 USDC into a Uniswap V2-style pool ($4,000 total). ETH triples to $6,000. Without providing liquidity, holdings would be worth 1 ETH ($6,000) plus 2,000 USDC, or $8,000 total. With the LP position, the pool rebalances to roughly 0.577 ETH plus 3,464 USDC, worth about $6,928. Impermanent loss in this case is roughly $1,072, or about 13.4%. If the LP earned only a couple hundred dollars in fees over this period, they would end up with a net loss compared to simply holding.

2. Stablecoin LP, Minimal IL

An LP deposits 5,000 USDC and 5,000 USDT into a Curve stablecoin pool. Since both tokens maintain a close peg to $1, the price ratio barely moves. IL is negligible, typically fractions of a percent. The LP earns trading fees and any additional token rewards with minimal IL risk. This demonstrates why stablecoin LPs are popular for risk-averse DeFi participants.

3. Concentrated Liquidity Amplified IL

An LP provides ETH/USDC liquidity on Uniswap V3 in a tight range, say $1,900 to $2,100. When ETH is trading near $2,000, the position earns high fees due to capital concentration. But if ETH drops to $1,800, outside the range, the entire position converts to ETH, and the LP experiences amplified IL equivalent to a much larger, full-range position. The higher fee earnings while the price stayed in range need to compensate for this concentrated IL risk.

Comparison Table

ScenarioPrice ChangeIL (50/50 Pool)Illustrative Opportunity Cost
No change1x0%None
25% change1.25x or 0.8x0.6%Roughly $24 per $4,000 deposited
50% change1.5x or 0.67x2.0%Roughly $80 per $4,000 deposited
100% change2x or 0.5x5.7%Roughly $228 per $4,000 deposited
200% change3x or 0.33x13.4%Roughly $536 per $4,000 deposited
400% change5x or 0.2x25.5%Roughly $1,020 per $4,000 deposited

Related Terms

  • AMM (Automated Market Maker): The system that causes impermanent loss through constant rebalancing
  • Liquidity Pool: Where LPs deposit tokens and experience IL
  • Liquidity Provider (LP): Users who provide tokens and bear IL risk
  • Concentrated Liquidity: A Uniswap V3 feature that amplifies both fees and IL
  • Trading Fees: The income LPs earn to compensate for IL
  • Constant Product Formula: The mathematical model (x times y equals k) that determines IL behavior
  • Stablecoin: Low-IL assets due to minimal price divergence between pegged tokens
  • Yield Farming: A strategy that combines LP fees with token rewards to offset IL
  • Rebalancing: The automatic portfolio adjustment that causes IL
  • Divergence Loss: An alternative name sometimes used for impermanent loss

FAQ

Q: Can impermanent loss be greater than 100%? No. The maximum theoretical IL for a standard 50/50 pool is 100%, which would only occur if one token’s price went to infinity or zero. In practice, the worst IL most LPs experience is in the range of 25% to 50% during extreme price movements. However, for concentrated liquidity positions in very tight ranges, the effective IL relative to the deposited amount can be much larger.

Q: Is impermanent loss always bad? Not necessarily. LPs are compensated for bearing IL through trading fees and often additional token rewards. If the fee income exceeds the IL, the LP is profitable. High-volume pools with relatively stable pairs, such as major stablecoin pairs, typically generate profits net of IL. The key is understanding and accounting for IL rather than ignoring it.

Q: Does impermanent loss happen with stablecoins? Technically yes, but it’s negligible. Stablecoin pairs (USDC/USDT, DAI/USDC) maintain very close to a 1:1 ratio, so price divergence is minimal. Curve’s StableSwap formula further minimizes IL for stablecoin pairs. This is why stablecoin LPs are popular for earning yield with minimal IL risk.

Q: How do I calculate my impermanent loss? Use online IL calculators or portfolio tracking tools such as APY.vision, Revert Finance, or DeBank. Input your entry prices and current prices to see IL. The formula for a 50/50 pool is IL equals 2 times the square root of the price ratio, divided by 1 plus the price ratio, minus 1, where the price ratio is the new price divided by the old price.

Q: Can I avoid impermanent loss entirely? If you want to provide DeFi liquidity without IL, consider single-sided staking (no IL), lending on a protocol like Aave or Compound (no IL), or providing liquidity to stablecoin-only pools (minimal IL). Truly eliminating IL requires avoiding AMM liquidity provision for volatile pairs. Some protocols have experimented with dedicated IL protection mechanisms, but most of these have proven unsustainable over the long term.

Sources

  • Pintail, “Uniswap: A Good Deal for Liquidity Providers?”, pintail.medium.com, 2019
  • Uniswap, “Understanding Returns,” docs.uniswap.org
  • Bancor, “Impermanent Loss Explained,” bancor.network
  • APY.vision, LP analytics and IL tracking documentation

Latest Resources and Blogs