DeFi Deep Dive

Impermanent Loss Explained in 2026: Calculate It & Know If Your Farm Is Actually Profitable

The complete guide for liquidity providers: mathematical formula, step‑by‑step calculation, fee income breakeven, protection protocols (Bancor, Trader Joe) and an interactive calculator. Stop losing money unknowingly.

Jump to section: What Is IL? Formula Calculator Fee Breakeven Protection FAQ

Loading...

If you provide liquidity on Uniswap, PancakeSwap, Curve or any automated market maker (AMM), you have probably heard the term impermanent loss (IL). Many DeFi farmers ignore it until they withdraw fewer tokens than they deposited. In 2026, with yields compressing across the board, understanding IL is no longer optional – it is the difference between a profitable farming strategy and a losing one. This guide covers the exact mathematics, real examples, fee breakeven analysis, and protection mechanisms that can save your capital.

84%
of new LPs don't calculate IL before depositing
3.5x
price change causes ~12% IL
40%+
of farming losses come from IL, not rug pulls

What Is Impermanent Loss (And Why "Impermanent")?

Impermanent loss occurs when you provide liquidity to a constant product AMM (like Uniswap v2/v3) and the price ratio of the two assets changes compared to when you deposited. The loss is the difference between holding the assets outside the pool versus providing liquidity. It is called "impermanent" because if the prices return to their original ratio, the loss disappears. However, if you withdraw while prices are diverged, the loss becomes permanent.

Critical: IL is NOT a fee or penalty

It is an opportunity cost relative to simply holding the assets. You will still earn trading fees, which can offset IL. But many farmers overestimate fees and underestimate IL, leading to net losses.

For example, you deposit $1,000 worth of ETH and $1,000 worth of USDC into an ETH/USDC pool. If ETH doubles in price to $4,000 (from $2,000), your pool share will have less ETH and more USDC than your original deposit, and the total value will be less than if you had just held the $1,000 ETH + $1,000 USDC. That difference is IL.

The Mathematical Formula Behind Impermanent Loss

For a constant product AMM (x*y = k), assuming no fees, the impermanent loss for a given price ratio change r (where r = new price / old price) is:

📐
Impermanent Loss Formula (Constant Product AMM)
IL = 2 * √(r) / (1 + r) – 1
Where r = (price of asset B / price of asset A) now divided by initial ratio
IL expressed as a percentage loss relative to HODL

The table below shows impermanent loss for different price changes (assuming no fees):

📉 Impermanent Loss vs Price Change (Constant Product AMM)
Price change (ratio r)IL (loss relative to HODL)
1.25x (25% increase)-0.6%
1.5x (50% increase)-2.0%
2x (100% increase)-5.7%
3x (200% increase)-12.5%
4x (300% increase)-20.0%
5x (400% increase)-25.5%
10x (900% increase)-45.0%

Notice that IL is symmetric: a 50% decrease (r = 0.5) produces the same IL as a 100% increase (r = 2). The loss grows non‑linearly; a 10x price move results in a massive 45% loss relative to simply holding the assets.

Interactive Impermanent Loss Calculator

Use the calculator below to estimate your impermanent loss for any price ratio change. Enter the initial price of asset A (e.g., ETH) and the new price, or simply the price ratio.

Impermanent Loss Simulator (Constant Product AMM)

Impermanent Loss (relative to HODL)
-5.72%
Price ratio change: 2.00x

*Assumes constant product AMM (Uniswap v2 style) and no fees. For Uniswap v3 concentrated liquidity, IL can be higher if the price moves out of range.

Fee Income Breakeven: When Your Farm Actually Profits

IL is only half the story. Liquidity providers earn trading fees (typically 0.05% to 1% per trade, depending on the pool). The net profit = fees earned – IL. To determine whether a farm is profitable, you need to estimate the fee APR and compare it to the IL over the same period.

🧾 Breakeven Fee APR Required to Offset IL (over 1 year)
Price change (annualised volatility)IL (if price moves & stays)Min Fee APR to break even
±25% (low volatility)0.6%~0.6%
±50% (moderate)2.0%~2.0%
±100% (high)5.7%~5.7%
±200% (very high)12.5%~12.5%

In 2026, most stable‑volatile pools (e.g., ETH/USDC) on major DEXs generate 8–25% fee APY, which can cover IL for price changes up to 2–3x. However, if you enter a pool with low volume (fee APR <5%), a 50% price move will leave you at a net loss. Always calculate both IL and expected fees before depositing.

Pro tip: Use DeFiLlama Yields to estimate fee APY

Check the actual fee APR for any pool on DeFiLlama. Compare with the IL you would incur given the asset's historical volatility. For more details, read our DeFi Explained guide.

Stable‑Stable vs Stable‑Volatile vs Volatile‑Volatile Pairs

Not all pools are equal when it comes to IL risk.

  • Stable‑Stable (USDC/USDT, DAI/USDC): Minimal IL because prices stay near 1:1. Fee APY is lower (2–8%) but very safe. Best for risk‑averse LPs.
  • Stable‑Volatile (ETH/USDC, WBTC/USDT): Higher fee APY (8–30%) but significant IL if volatile asset moves. Most popular among yield farmers.
  • Volatile‑Volatile (ETH/WBTC, SOL/ETH): Highest IL risk because both assets can move independently. Fee APY can be high (20–50%) but requires active monitoring.

For stable‑volatile pairs, IL is roughly proportional to the square root of the price change of the volatile asset relative to the stable one. In 2026, many LPs prefer stable‑stable or liquid staking token (LST) pairs (e.g., stETH/ETH) where IL is minimal because stETH tracks ETH closely. See our Yield Farming guide for strategy comparisons.

Impermanent Loss Protection Protocols (Bancor, Trader Joe, etc.)

Several protocols offer IL protection, either via insurance or through single‑sided liquidity mechanisms.

🛡️
Top IL Protection Mechanisms in 2026
Bancor v3: Provides 100% IL protection after 100 days of providing liquidity (with BNT rewards). Users withdraw in deposited token, not pool share.
Trader Joe Liquidity Book: Binanced pools allow LPs to earn fees without IL if they provide liquidity within a narrow price range (but risk being out of range).
KyberSwap Elastic: Offers "reverse" pools where IL is reduced through dynamic fees.
Tokemak (reactor pools): Single‑sided liquidity provision – no IL, but yields are lower.
Always verify the protection terms – many require locking tokens for a minimum period or have caps on coverage. For a full DeFi security analysis, read DeFi Security in 2026.

Real‑World Impermanent Loss Examples & Case Study

Let's walk through a concrete scenario using the ETH/USDC pool.

CASE STUDY: ETH/USDC LP – 1 year period
Deposit: 1 ETH ($2,000) + 2,000 USDC. Total $4,000

After 1 year, ETH price rises to $4,000 (2x). Pool fees earned over the year: $240 (6% fee APY). Impermanent loss at $4,000 ETH price = 5.72% of $4,000 = $229. Net profit = $240 – $229 = $11 (barely breakeven). If ETH had gone to $6,000 (3x), IL = 12.5% = $500 loss, fees $240 → net loss of $260. The LP would have been better off holding ETH + USDC outside the pool.

This example shows that even with decent fee APY, large price moves can wipe out profits. That's why experienced LPs often choose stable pairs or use concentrated liquidity strategies that minimise IL by focusing on a tight price range (Uniswap v3).

How to Minimise Impermanent Loss in 2026

  • Use stable‑stable pools (USDC/USDT, DAI/USDC) – almost no IL, but lower yields.
  • Provide liquidity for correlated assets (e.g., stETH/ETH, cbETH/ETH) – price deviations are small.
  • Opt for single‑sided staking (e.g., on Bancor, Tokemak) – no IL but lower APR.
  • Employ Uniswap v3 concentrated ranges – if you can predict a price range, you earn higher fees but risk being out of range (which causes IL equal to holding the asset).
  • Hedge IL using options – advanced strategy: buy put options on the volatile asset to offset IL.
  • Use IL protection protocols – as mentioned above, with lockups.

For a broader risk management framework, read our Crypto Risk Management article.

Is your liquidity pool at risk of impermanent loss?

Answer two quick questions to assess your exposure.

Which type of pool are you considering?
What is the estimated fee APR of the pool?

Frequently Asked Questions

Yes, if you withdraw liquidity when prices have diverged from your deposit ratio, the loss is realised and becomes permanent. If you wait for prices to return to the original ratio, the loss disappears (hence "impermanent").

It applies to any constant product AMM (Uniswap v2, PancakeSwap, SushiSwap). Uniswap v3 concentrated liquidity has a different IL profile – if the price stays within your range, IL is lower; if it leaves the range, you effectively hold only one asset and IL equals the price change of that asset.

Slippage is the difference between expected and executed price of a swap due to pool liquidity. IL is the opportunity cost of providing liquidity over time. They are unrelated.

Use DeFiLlama Yields or Dune Analytics dashboards. Look for pools with high trading volume relative to TVL. Also check our DeFi Yield Optimization guide for aggregator vaults.

Single-sided staking (Bancor, Tokemak) or lending (Aave, Compound) have zero IL. Stable-stable pools have negligible IL. For volatile pairs, you can hedge using options, but that adds complexity.