Impermanent Loss Calculator

Measure liquidity pool exposure when paired token prices diverge — the IL formula every LP should know.

Liquidity position

$
$

For stablecoin pairs, keep this at $1.

$
$
$
Impermanent loss
-2.02%
Ratio 1.50×
Value if held
$12,500
HODL baseline
Value in pool
$12,247
-$253

IL as a function of price divergence

How impermanent loss scales with the relative price change of Token A vs Token B.

How this calculator works

For a standard 50/50 constant-product AMM pool (like Uniswap V2 or SushiSwap), impermanent loss is: IL = 2 × √ratio / (1 + ratio) − 1, where ratio is the relative price change of Token A vs Token B from deposit to now.

The calculator computes this IL percentage and translates it into dollar terms by comparing the current value of your LP position against the value you'd have if you'd simply held the deposited tokens (HODL). The difference is the impermanent loss in USD. Note: fees earned while providing liquidity are not accounted for here — in practice, fee income often offsets impermanent loss on popular pairs.

What impermanent loss actually means

Impermanent loss is the value difference between providing liquidity to an AMM pool versus simply holding the underlying tokens. It's 'impermanent' because the loss is only realized if you withdraw from the pool; if the price ratio returns to the deposit level, the loss disappears. But in practice, many liquidity providers do eventually withdraw at unfavorable ratios and crystallize the loss.

The mathematical cause of impermanent loss is that AMMs rebalance your position as trades happen. If Token A rises 2x while Token B stays flat, the pool sells some of your Token A (to traders buying it) and gives you more Token B — leaving you with fewer appreciating tokens than you started with. The inverse happens when prices decline. In both cases, the LP position underperforms a static HODL.

Impermanent loss scales non-linearly with price divergence. A 2× divergence produces roughly 5.7% IL; a 4× divergence produces 20% IL; a 10× divergence produces over 40% IL. Stablecoin pairs minimize IL because both sides track the dollar. Volatile-paired pools (e.g., ETH/BTC) typically experience modest IL because both assets often move in sympathy.

Fee income is the counter-force. Popular pools generate trading fees that, over time, can more than offset IL. Whether LP is profitable on a net basis depends on: pool volume, fee tier, duration held, and realized price divergence. Always compare LP yield (APY from fees) against expected IL before entering a pool. Concentrated liquidity (Uniswap V3) changes the math significantly — narrower ranges generate higher fees but also higher IL exposure.

Frequently Asked Questions

When does IL become permanent?
When you withdraw from the pool. Until then, the loss is unrealized and can reverse if the price ratio returns. Many LPs who understand the math wait to exit only when fees earned + IL netted are positive.
Which pools minimize IL?
Stablecoin pairs (USDC/USDT, DAI/USDC) have near-zero IL because both sides hold a stable dollar value. Correlated volatile pairs (ETH/stETH, WBTC/BTC) also have minimal IL. Uncorrelated volatile pairs (ETH/USDC, BTC/USDC) have the highest IL exposure.
How do I calculate breakeven fee income?
Estimate expected IL at various price scenarios, then compare to the fee APY on the pool. If your scenarios suggest 8% IL over your holding period, you need the fee APY to exceed 8% over that same period to break even. Concentrated liquidity amplifies both fees and IL.
Does Uniswap V3 have different IL?
The IL formula is similar for the active range, but Uniswap V3 amplifies both fee income and IL by concentrating capital. If prices exit your specified range, you end up fully in one asset with no fees — which can be much worse than V2 IL if prices keep diverging.
Is IL a form of slippage or fee?
No — it's an opportunity cost. You're not paying a fee to the pool; you're simply receiving a different mix of tokens than you deposited. The 'loss' is relative to what you'd have by holding the tokens directly. Fee income is separate and can offset the loss.