Detaljeret guide kommer snart
Vi arbejder på en omfattende uddannelsesguide til Impermanent Loss Lommeregner. Kom snart tilbage for trin-for-trin forklaringer, formler, eksempler fra virkeligheden og eksperttips.
Impermanent loss (IL) is the reduction in dollar value that a liquidity provider (LP) experiences compared to simply holding their assets when the price ratio between the two tokens in a liquidity pool changes. It is one of the most misunderstood and most financially significant risks in decentralized finance (DeFi). The term impermanent is somewhat misleading: the loss is only truly impermanent if the price ratio returns to exactly where it was when you deposited. If prices diverge and you withdraw, the loss becomes permanent. Impermanent loss arises from the automated market maker (AMM) mechanism used by protocols like Uniswap, Curve, SushiSwap, and PancakeSwap. In a constant-product AMM using the formula x*y=k, the pool always maintains the same ratio of value between two tokens. When external market prices change, arbitrageurs trade with the pool to bring its prices back in line with the market. These arbitrage trades rebalance the pool by changing the quantities of each token — you end up with more of the token that fell in price and less of the one that rose. This mechanical rebalancing is the source of impermanent loss. The magnitude of impermanent loss depends entirely on how much the price ratio changes, not the direction. Whether Token A doubles and Token B stays flat, or Token B halves and Token A stays flat, the impermanent loss for a 2x price change is approximately 5.7%. A 4x price change produces about 20% IL. A 9x price change produces about 33% IL. These numbers are the same whether prices go up or down, because what matters is the ratio divergence. Impermanent loss is offset by trading fees earned by the pool. If trading volume is high, accumulated fees can outweigh impermanent loss and make LP positions profitable. However, in low-volume periods or when prices move dramatically, fees may be insufficient compensation. Understanding whether fee income will exceed IL is the central question in any LP position analysis.
IL = 2 * sqrt(price_ratio) / (1 + price_ratio) - 1 Where price_ratio = new_price / initial_price (ratio of the relative price change) Value if held: V_hold = initial_value * (0.5 * price_ratio_a + 0.5 * price_ratio_b) Value in pool: V_pool = initial_value * sqrt(price_ratio_a * price_ratio_b) IL = V_pool / V_hold - 1
- 1When you deposit into a 50/50 AMM liquidity pool, you contribute equal dollar values of two tokens. The pool records your share percentage and the constant product k = x * y.
- 2When the external market price of one token changes relative to the other, arbitrageurs trade with the pool, buying the relatively cheap token and selling the relatively expensive one, until the pool price matches the market price.
- 3This arbitrage rebalances the pool token quantities while maintaining k constant. The result: you now hold more of the token that fell and less of the token that rose.
- 4Compare your LP position value to what you would have had if you held the original quantities: the difference is the impermanent loss. Use the formula: IL = 2*sqrt(PR)/(1+PR) - 1.
- 5To determine whether providing liquidity was profitable, add the trading fees earned during the period to the LP value and compare against the hold value.
- 6Monitor the price ratio regularly. Large divergences of 3x or more can produce significant IL that fee income may not recover. Consider range-bound or correlated token pairs for lower IL risk.
IL = 2*sqrt(2)/(1+2) - 1 = 2*1.4142/3 - 1 = 0.9428 - 1 = -5.72%. If held: 5 ETH at $2,000 plus $5,000 USDC = $15,000. LP value after AMM rebalancing: approximately 3.536 ETH at $2,000 plus $7,071 USDC = $14,142. IL = ($14,142 - $15,000) / $15,000 = -5.72%. To break even, trading fees must have generated at least $858 during the period.
IL = 2*sqrt(4)/(1+4) - 1 = 2*2/5 - 1 = 4/5 - 1 = -20%. If held: 5 ETH at $4,000 plus $5,000 USDC = $25,000. LP value: $25,000 times (1 - 0.20) = $20,000. The LP position is worth $5,000 less than simply holding. This 20% loss requires substantial fee income to overcome. At a 0.3% pool fee, approximately $1.67 million in pool trading volume through your LP share is needed just to break even on IL.
When prices return to the original ratio, the AMM mechanically rebalances back to the original token quantities. IL = 2*sqrt(1)/(1+1) - 1 = 0. The loss truly was impermanent. You keep all trading fees earned during the round trip ($300 in this example) and recover the full initial value. This is the best-case scenario for an LP: prices oscillate around the deposit price, generating steady fee income while IL remains small on average.
For stablecoin pairs that maintain a near-constant price ratio, impermanent loss is negligible. At a price ratio of 1.002: IL = 2*sqrt(1.002)/(1+1.002) - 1 = approximately -0.0001%. This is why USDC/USDT and similar stable pairs on Curve Finance are popular for risk-averse LPs seeking fee income without material IL exposure. The trade-off is that fee rates on stable pairs are very low (0.01-0.04%) because there is little volatility and arbitrage activity.
In Uniswap v3 concentrated liquidity, when ETH rises above the range maximum of $2,000, the position converts entirely to USDC at the worst possible time — the LP holds USDC at $2,000/ETH while market price is $2,500. The LP earns no fees above the range and experiences severe opportunity cost relative to holding ETH. Concentrated liquidity amplifies both fee income (when in range) and IL risk (when price exits range), requiring active management that is unsuitable for passive investors.
DeFi liquidity provision: evaluating whether LP fee income justifies IL risk for a specific token pair
Portfolio construction: deciding between holding tokens outright versus providing liquidity to earn fees
AMM protocol design: developers model IL curves when designing fee structures and pool parameters
Risk management: setting position size limits and exit triggers for LP positions based on IL thresholds
Yield farming analysis: comparing true risk-adjusted yields across different LP opportunities
Liquidity mining rewards: Many protocols supplement trading fees with governance token rewards paid to LPs.
These rewards can significantly offset IL, but introduce token price risk since the reward tokens may depreciate faster than IL accrues.
Uneven weight pools: In AMMs like Balancer, a pool weighted 80% Token A and 20%
Uneven weight pools: In AMMs like Balancer, a pool weighted 80% Token A and 20% Token B will have less IL than a 50/50 pool for the same price move, because the pool rebalances less aggressively toward the minority token.
Stablecoin depeg risk: Even stablecoin pairs are not completely IL-free.
If one stablecoin depegs significantly, as USDC briefly did in March 2023 or UST permanently did in May 2022, the pool rebalances dramatically into the depegged token with potentially catastrophic IL.
Single-sided staking: Some protocols allow single-sided liquidity provision
Single-sided staking: Some protocols allow single-sided liquidity provision where the IL risk is managed by the protocol through insurance funds or dynamic fee mechanisms, fundamentally differing from standard two-sided AMM LPs.
| Price Ratio Change | Impermanent Loss | Notes |
|---|---|---|
| 1.10x (10% move) | -0.11% | Negligible; fees easily offset |
| 1.25x (25% move) | -0.60% | Minor; typical for stable pairs |
| 1.50x (50% move) | -2.02% | Moderate; fee-dependent |
| 2.00x (2x move) | -5.72% | Significant; requires solid fee APY |
| 3.00x (3x move) | -13.40% | Large; high fee APY required |
| 4.00x (4x move) | -20.00% | Very large; difficult to offset |
| 5.00x (5x move) | -25.36% | Severe; rarely offset by fees |
| 9.00x (9x move) | -33.33% | Extreme; avoid volatile pairs |
| One token to zero | -50.00% | Maximum IL in 50/50 AMM |
Is impermanent loss always a financial loss?
Not necessarily — it is a loss relative to simply holding both assets, but the LP position may still be profitable in absolute dollar terms if token prices rise and fee income is sufficient. For example, if both tokens in a pool double in price, both the hold strategy and the LP position gain value in dollar terms, but the LP position gains less due to IL. The IL represents underperformance versus holding, not necessarily an absolute cash loss. Whether providing liquidity was the right choice depends on whether accumulated fees exceeded the IL penalty over the holding period.
Why is it called impermanent loss?
The loss is called impermanent because it only locks in and becomes permanent when you withdraw from the pool at a price ratio that differs from your deposit ratio. If prices return to exactly the original deposit ratio before you withdraw, the IL disappears completely and you keep all fees earned. In practice, however, most volatile token pairs rarely return to their exact original ratio, making the loss effectively permanent in most real-world scenarios. Some researchers and protocols now prefer the term divergence loss as a more accurate description of the underlying mechanism.
Which token pairs experience the least impermanent loss?
Pairs with stable or highly correlated prices experience the least IL. Stablecoin pairs like USDC/USDT, liquid staking pairs like ETH/stETH, wrapped token pairs like BTC/wBTC, and correlated assets that tend to move together all exhibit minimal IL. Pairs with high volatility and low correlation, such as a large-cap cryptocurrency paired with a small-cap altcoin, experience the most IL. Matching the price correlation of your pair to your IL tolerance is a fundamental LP strategy decision.
What fee APY is needed to offset impermanent loss?
The break-even fee APY depends on the magnitude of IL and your holding period. If IL is 5.72% from a 2x price move and you hold the position for one year, you need at least 5.72% annual fee income on your LP value to break even. If the pool generates 15% fee APY, you net approximately 9.28% after IL. However, this assumes a one-time price change that stabilizes. If prices are continuously volatile, IL accumulates continuously and the required fee APY is much higher. High-volatility pairs therefore need very high fee APYs to compensate for ongoing IL.
How does Uniswap v3 concentrated liquidity affect impermanent loss?
Uniswap v3 allows LPs to concentrate their liquidity within a specific price range, earning much higher fee income per dollar of capital when prices trade within that range. However, concentrated liquidity amplifies IL within the range and creates binary risk at the boundaries: when prices exit the range, the position converts entirely to one token and earns zero fees. Active management is required to adjust ranges as prices move. Concentrated liquidity is not suitable for passive investors who cannot monitor and rebalance positions regularly.
Can impermanent loss exceed 100%?
No. IL as defined, which is the underperformance versus holding both assets, is bounded by the AMM mechanics. The worst case for a constant-product AMM is when one token goes to zero. In that scenario, your LP position is worth approximately half of the initial deposit value (all in the surviving token), while the hold position retains the surviving token's value. The mathematical maximum IL in a 50/50 AMM is approximately 50% relative to the hold position when one token becomes worthless, not 100%.
Do different AMM designs reduce impermanent loss?
Yes. Different AMM curve designs significantly affect the IL profile. Constant-product AMMs using x*y=k like Uniswap v2 have a standard IL curve. Stable-asset AMMs like Curve use a combination of constant-sum and constant-product formulas, producing much lower IL for near-pegged assets because the pricing curve is flatter near the 1:1 ratio. Weighted AMMs like Balancer allow non-50/50 pools where an 80/20 pool has lower IL than a 50/50 pool because less rebalancing occurs. Oracle-based AMMs attempt to minimize IL by using external price feeds to set prices rather than relying entirely on arbitrage.
How should I account for impermanent loss in my DeFi strategy?
Model IL explicitly before providing liquidity. Estimate the expected price range for your token pair, calculate expected IL at the boundaries, and compare against the pool's historical fee APY. If the fee APY exceeds your IL estimate with a meaningful margin, LP provision may be appropriate. Use on-chain analytics tools such as DefiLlama, Uniswap Analytics, or Revert Finance to track actual fee income and IL in real time. Set a withdrawal trigger: if IL exceeds a pre-defined threshold such as 10%, consider exiting before the loss deepens. Never provide liquidity to a volatile pair without first modeling the IL risk.
Pro Tip
Before adding liquidity to any pool, check the pool's 30-day fee APY on a site like DefiLlama or Uniswap Analytics, then estimate the worst-case IL for the expected price range over your intended holding period. Only provide liquidity when fee APY comfortably exceeds your IL estimate with at least a 2x margin of safety for volatile pairs. For correlated or stable pairs, even a 1.2x margin is generally sufficient.
Vidste du?
The term impermanent loss was popularized by Uniswap founder Hayden Adams around 2018-2019 when the protocol launched. Despite being mathematically well-defined, the word impermanent has been criticized as dangerously misleading since it implies the loss always goes away, which is only true if prices perfectly revert to the deposit ratio. Some DeFi educators now advocate for calling it divergence loss instead, arguing this better conveys the actual mechanism and more honestly warns new LPs about the risk they are taking.
Referencer
- ›Uniswap Docs – Understanding Liquidity and Impermanent Loss
- ›Paradigm Research – Uniswap v3: Concentrated Liquidity Deep Dive
- ›Pintail – Uniswap: A Good Deal for Liquidity Providers? (Original IL Analysis)
- ›DefiLlama – Pool Analytics and Historical Fee Data
- ›Investopedia – Impermanent Loss in DeFi Explained