Impermanent Loss Calculator

Don't provide liquidity blindly. Simulate price divergences to see how much impermanent loss you will suffer in DeFi AMMs.

Impermanent Loss Analysis
Impermanent Loss (%)
-0.00%
True Net Profit / Loss
$0.00
Including Trading Fees
Total Value Lost to IL
-$0.00
Compared to simply HODLing
HODL vs Liquidity Provider Matrix

This matrix reveals exactly how many tokens the AMM arbitrageurs drained from your position, and whether providing liquidity was actually worth it.

If You Just HODLed
$0.00
A Token A
0.00
B Token B
0.00
If You Provided Liquidity
$0.00
A Token A
0.00
B Token B
0.00

What is Impermanent Loss in DeFi Liquidity Pools?

Impermanent Loss (IL) is the opportunity cost incurred by liquidity providers in Automated Market Maker (AMM) protocols when the price ratio of their deposited token pair diverges from the ratio at the time of deposit. It is the difference between the value of simply holding (HODLing) the tokens versus the value of providing liquidity in an AMM pool.

The term “impermanent” is a misnomer that misleads many DeFi beginners. The loss is only “impermanent” in the sense that it can theoretically revert to zero if prices return exactly to their original ratio. In practice, for volatile asset pairs, the loss frequently becomes permanent when liquidity providers withdraw at an unfavorable ratio. A more accurate name used by some DeFi researchers is “Divergence Loss.”

The Core Mechanism

When you deposit tokens into a pool, arbitrage traders continuously trade against your position to keep pool prices aligned with external markets. If Token A rises 100% externally, arbitrageurs buy Token A from your pool (where it is “cheap”) and sell Token B in. You are mathematically forced to sell your best-performing asset at below-market prices to maintain the constant product invariant.

The x×y=k AMM Formula: Exact Math

Uniswap V2 and most 50/50 AMMs use the Constant Product Market Maker (CPMM) formula. Understanding this formula precisely reveals exactly why impermanent loss is mathematically guaranteed when prices diverge.

Pool Invariant: x × y = k

Where x = Token A reserves, y = Token B reserves, k = constant product (never changes).

IL Formula: IL = 2√P / (1 + P) − 1

Where P = price ratio change (P = new_price_ratio / original_price_ratio). This formula always produces a number between −1 and 0, meaning IL is always a loss (or zero at P=1).

Worked Example: ETH/USDC Pool

You deposit $10,000 into an ETH/USDC pool when ETH = $2,000. You contribute 2.5 ETH + 5,000 USDC. ETH then rises to $4,000 (2× increase). P = 2.

IL = 2√2 / (1 + 2) − 1 = 2 × 1.4142 / 3 − 1 = 0.9428 − 1 = −5.72%

If you just HODLed, your 2.5 ETH at $4,000 + 5,000 USDC = $15,000. In the pool, due to rebalancing, you hold approximately 1.767 ETH + 7,071 USDC = $14,142. You lost $858 to impermanent loss — despite the pool position still making money nominally.

Price Change → Impermanent Loss Reference Table

This table shows the exact impermanent loss percentage for common price divergence scenarios in a standard 50/50 Uniswap V2 pool. The price change applies to Token A while Token B remains stable (e.g., USDC):

Token A Price ChangePrice Ratio (P)Impermanent LossHODL Value (on $10k)LP Value (on $10k)Dollar Loss
+10%1.10−0.11%$10,500$10,488$12
+25%1.25−0.60%$11,250$11,180$70
+50%1.50−2.02%$12,500$12,247$253
+100% (2×)2.00−5.72%$15,000$14,142$858
+200% (3×)3.00−13.40%$20,000$17,321$1,679
+400% (5×)5.00−25.46%$30,000$22,361$7,639
−25%0.75−0.60%$8,750$8,697$53
−50%0.50−5.72%$7,500$7,071$429
−75%0.25−20.00%$6,250$5,000$1,250

Note: IL is symmetric. A 2× price increase causes the same IL percentage as a 2× price decrease (50% drop). The dollar amounts differ because the HODL value differs.

AMM Types Comparison: V2 vs V3 vs Curve vs Balancer

Not all liquidity pools use the same pricing formula. Different AMM designs create dramatically different IL risk and fee income profiles:

AMM ProtocolFormulaBest ForIL RiskFee IncomeExamples
Uniswap V2x × y = kGeneral token pairsMediumMedium (0.30%/trade)ETH/USDC, UNI/ETH
Uniswap V3Concentrated x × y = kActive LPs, stable pairsVery High (in range)Very High (up to 4000× capital efficiency)ETH/USDC 0.05%, BTC/ETH 0.30%
Curve FinanceStableSwap invariantStablecoins & pegged assetsNear ZeroLow-Medium (0.04%/trade)USDC/USDT/DAI, stETH/ETH
Balancer (80/20)Generalized CPMM (weighted)Reduced IL on volatile assetsLow-MediumMedium (variable fee)WBTC 80%/USDC 20%
Solidly / VelodromeHybrid: stable + volatileCorrelated volatile assetsLow-MediumHigh (ve(3,3) model)WETH/wstETH, USDC/FRAX

Uniswap V3 Concentrated Liquidity: Higher Yield, Higher IL

Uniswap V3 introduced “concentrated liquidity,” allowing LPs to deploy capital within a specific price range (e.g., ETH between $3,000 and $3,500) rather than across the entire price curve from $0 to ∞. This creates two critical effects:

The Capital Efficiency Multiplier

By concentrating $10,000 into a narrow range, a V3 LP can generate the same fee income as a V2 LP with $100,000–$4,000,000 (depending on range width). A 1% price range provides ~100× capital efficiency. This is why V3 generates dramatically higher fee APY for active managers.

The Amplified IL Risk

100% IL When Price Leaves Range

If ETH drops below $3,000 (your lower bound), your position converts entirely to ETH (you sold all your USDC). If ETH rises above $3,500 (your upper bound), your position converts entirely to USDC (you sold all your ETH at $3,500 while it kept rising). Your position earns zero fees while out of range and suffers maximum directional loss. V3 is not suitable for passive “set and forget” LP strategies.

V3 Price Range WidthCapital Efficiency vs V2Fee APY PotentialIL Risk (price exits range)Suitable For
±1% (very tight)~100×Very HighExtremeStablecoin pairs (USDC/USDT)
±5%~20×HighVery HighSemi-correlated pairs
±20%~5×Medium-HighHighETH/USDC active management
±50%~2×MediumMediumExperienced LPs with rebalancing
Full range (V2 equivalent)LowStandard V2 ILPassive long-term LPs

Fee Income Break-Even: When Does Providing Liquidity Beat HODLing?

The critical question for any LP is: does the fee income I earn exceed my impermanent loss? The break-even fee APY required depends entirely on the expected price divergence of the pair:

Expected Price DivergenceIL %Fee APY Needed to Break EvenRealistic on This Pool Type?
Stablecoins (USDC/USDT)~0.001%~0.01% APYYes — Curve earns 2–8% APY
Correlated (ETH/stETH)~0.10%~1% APYYes — consistently 3–10% APY
ETH/USDC (±50% ETH move)5.72%~6% APYSometimes — V3 tight range can achieve this
ETH/USDC (2× ETH move)5.72%~8% APYRequires high-volume periods
Volatile altcoin/USDC (5× move)25.46%~30%+ APYRarely sustainable
Meme coin/USDC (10× move)42.26%~50%+ APYAlmost never — IL is almost always permanent

Real-World Pool Examples & Historical IL

These are representative historical IL outcomes for some of the most widely used DeFi liquidity pools. Values are illustrative based on historical price movements:

PoolProtocolPeriodETH Price MoveEst. ILFee APYNet Result
ETH/USDCUniswap V2Jan–Nov 2021+1,200%−38%+15%Still underwater vs HODL
ETH/USDCUniswap V2Nov 2021–Jun 2022−75%−20%+12%Better than HODL (both lost)
USDC/USDTCurve FinanceFull 2022N/A (stables)−0.001%+4.5%Strong outperformance
stETH/ETHCurve FinanceFull 2022Correlated−0.50%+5.8%Strong outperformance
ETH/BTCUniswap V22020–2022ETH outperformed BTC 3×−13.4%+8%Slight underperformance

Strategies to Minimize Impermanent Loss

  • Stablecoin-only pools (Curve): The near-zero IL on USDC/USDT/DAI pools on Curve Finance is the most reliable LP strategy. You earn 2–8% APY with virtually no IL risk. Ideal for risk-averse capital.
  • Correlated asset pairs: Pairs like stETH/ETH, wBTC/renBTC, or USDC/FRAX exhibit minimal price divergence, keeping IL below 0.5% in most conditions. Curve’s StableSwap formula further reduces IL for these pairs.
  • Asymmetric Balancer pools (80/20): A Balancer 80/20 ETH/USDC pool concentrates 80% of your capital in ETH, dramatically reducing IL versus a 50/50 pool when ETH rises. IL on a 2× ETH move in an 80/20 pool is only ~1.5% versus 5.72% in a 50/50 pool.
  • Single-sided staking: Some protocols (Bancor v3, Tokemak) allow single-sided liquidity provision with built-in IL insurance mechanisms. You deposit only one token and the protocol manages the other side.
  • High-fee, high-volume pairs: If you must LP a volatile pair, target ones with consistently high volume relative to TVL. The fee APY must mathematically exceed your expected IL. Use our break-even calculator inputs to model this.
  • V3 active management: In Uniswap V3, set a wide initial range (e.g., ±30%) and rebalance only when price approaches boundaries. Use automated managers like Arrakis Finance, Gamma Strategies, or Revert Finance to handle rebalancing automatically.

Key Terms Glossary

Impermanent Loss (IL)
The opportunity cost difference between holding tokens in a wallet versus depositing them into an AMM liquidity pool. Caused by arbitrageurs rebalancing the pool to match external market prices, forcing you to sell appreciating assets.
Automated Market Maker (AMM)
A type of decentralized exchange that uses a mathematical formula (e.g., x×y=k) to price assets automatically using liquidity pools, replacing traditional order books. Examples: Uniswap, Curve, Balancer, PancakeSwap.
Constant Product Formula (x×y=k)
The invariant used by Uniswap V2. The product of the two token reserves must always equal the constant k. Every trade adjusts token balances such that the product remains unchanged, creating the price curve.
Concentrated Liquidity
A Uniswap V3 innovation allowing LPs to deploy capital within a specific price range instead of the full 0–∞ curve. Dramatically increases fee income efficiency but converts the entire position to one token when price exits the range.
Total Value Locked (TVL)
The total dollar value of all assets deposited by liquidity providers into a protocol or pool. Higher TVL generally means lower fee APY (fees divided among more LPs) but also better trade execution for users.
Fee Tier
The percentage of each trade that is paid to liquidity providers as a fee. Uniswap V3 offers 0.01%, 0.05%, 0.30%, and 1.00% fee tiers. Higher fee tiers compensate LPs for higher IL risk on more volatile pairs.

Frequently Asked Questions (FAQ)

It is called impermanent because the loss only crystallizes when you withdraw your liquidity. While your tokens remain in the pool, the loss exists only on paper — a comparison between what you would have if you had simply held versus what the AMM rebalancing left you with. If the price ratio between your two tokens returns exactly to where it was when you deposited, the impermanent loss mathematically reverts to zero. However, in practice with volatile assets, waiting for an exact price recovery is unlikely, making the loss effectively permanent for most LPs who eventually withdraw.

The exact formula for impermanent loss in a standard 50/50 AMM pool (Uniswap V2 style) is: IL = 2 × √P ÷ (1 + P) − 1. Where P = the price ratio change between the two tokens (P = new_price_A/old_price_A divided by new_price_B/old_price_B). If only Token A changes price: P = new_price_A / old_price_A. For example, if Token A doubles (2×) while Token B stays stable, P = 2. Plugging in: IL = 2 × √2 / (1 + 2) − 1 = 2 × 1.4142 / 3 − 1 = −5.72%.

Uniswap V3 dramatically amplifies both fee income and impermanent loss compared to V2. In V3, you concentrate capital within a price range. Within that range, you earn fees as if you have 10x–4000x more capital deployed (depending on range width). However, when price exits your range on either side, two things happen simultaneously: (1) you earn zero fees (your position is completely inactive), and (2) your position is 100% converted to the worse-performing token — if price drops below your lower bound, you hold only the depreciating token; if it rises above your upper bound, you sold all of it at the ceiling price while it kept rising. This is why V3 is not suitable for passive ‘set and forget’ liquidity provision on volatile pairs.

Providing liquidity is worth it when your accumulated fee income exceeds your impermanent loss over the holding period. Three scenarios where LP is clearly worthwhile: (1) Stablecoin pools (USDC/USDT on Curve) — near-zero IL + consistent 2–8% APY makes this almost always positive. (2) Highly correlated asset pairs (stETH/ETH, wBTC/renBTC) — minimal IL + steady fees. (3) Short-term high-volume events — during extreme market volatility, AMM trading volume spikes, generating weeks of normal fee income in days, which can offset the IL from the price movement that caused the volume. The worst LP scenario is: a highly volatile token pair on a low-volume pool where prices diverge dramatically and there is insufficient fee income to compensate.

No. By the mathematical definition, impermanent loss is always zero or negative — you can never be better off in an AMM pool than simply holding the tokens, from a pure price-exposure perspective. The formula 2√P/(1+P)−1 always produces a value ≤1 (i.e., ≤0%) for any P > 0. The maximum IL of −1 (−100%) occurs only if one token falls to exactly zero. However, when you include trading fee income, your total net return from LP can exceed HODLing — but this is because of fee generation, not because IL itself became positive.

When you deposit equal dollar values of Token A and Token B into a standard Uniswap V2 pool, you receive LP tokens representing your share of the pool. The AMM continuously rebalances the ratio of Token A and Token B in the pool to maintain the constant product formula (x×y=k). As external prices change, arbitrageurs trade against your pool: if Token A rises externally, arbs buy Token A from your pool (cheapening it there) and sell Token B in, shifting your LP position to hold less Token A and more Token B. When you withdraw, you receive the current token quantities of the pool at whatever ratio the constant product formula dictates — which is always less valuable than simply holding the original quantities.

Impermanent loss and liquidation are fundamentally different mechanisms. Impermanent loss is unique to liquidity providers in AMM pools — it is a gradual, continuous loss of relative value caused by the pool rebalancing against your position as prices change. You cannot be liquidated from a standard AMM liquidity position; your tokens remain in the pool regardless of price movement. Liquidation occurs in leveraged positions (margin trading, leveraged yield farming, collateralized debt positions on Aave/Compound) when your collateral value falls below a threshold, and the protocol forcibly closes your position to protect lenders. Some protocols combine LP positions with leverage, creating liquidation risk on top of IL risk.

Impermanent loss is driven by the price ratio divergence between the two assets in the pool, not by the absolute price movement of either asset individually. If both ETH and wBTC rise 50% together, the price ratio between them remains exactly 1:1 (assuming they started at 1:1), and impermanent loss = 0. Correlated assets like ETH/stETH, BTC/wBTC, or USDC/USDT tend to move in tandem, maintaining a near-constant price ratio. The IL formula confirms this: IL = 2√P/(1+P)−1, where P is the price ratio change. If P = 1 (ratio unchanged), IL = 2×1/2−1 = 0. Perfect correlation = zero IL.

Every trade that occurs through an AMM pool pays a fee (e.g., 0.30% on Uniswap V2, 0.05% on Uniswap V3 ETH/USDC pool) that is distributed to liquidity providers proportionally to their pool share. Over time, this fee accumulates and reduces or eliminates the impact of impermanent loss. The break-even point is reached when: Cumulative Fee Income ≥ Dollar Value of Impermanent Loss. For example, a 5.72% IL on $10,000 = $572 loss. At 0.30% fee tier with $1M daily volume and $5M TVL, your $10k share (0.2%) earns 0.2% × $3,000 daily fees = $6/day, or $2,190/year — breaking even on the $572 IL in about 95 days.

Rate Impermanent Loss Calculator

Help us improve by rating this tool.

4.7/5
491 reviews