Impermanent Loss Calculator

Model your DeFi LP exposure. Input token prices and pool weights to see exactly how much you gain or lose versus simply holding.

Token A

$
$

Token B

$
$
$
1%99%
Impermanent loss
Value if held
Current LP value
Loss vs holding
Impermanent loss curve Your position highlighted

Adjust the inputs — results update instantly.

Save results

Impermanent loss is one of the most misunderstood concepts in decentralized finance (DeFi). When you provide liquidity to an automated market maker (AMM) like Uniswap or PancakeSwap, you deposit two tokens in a pool. As the relative prices of those tokens change, the AMM automatically rebalances your position — and you end up with a different ratio than you deposited.

The result is that you often end up with less total value than if you had simply held both tokens. This difference is called impermanent loss. It is called impermanent because if prices return to the original ratio, the loss disappears. But if you withdraw while prices have diverged, the loss becomes permanent.

How it works

Enter the initial prices of both tokens when you provided liquidity, and their current prices. Enter your initial liquidity amount and the pool weight (most pools are 50/50, but some platforms like Balancer support other ratios).

The calculator uses the standard constant product formula (x * y = k) to determine impermanent loss. The IL curve chart shows how loss grows as price ratio diverges — you can see your current position highlighted on the curve. The key insight: a 2x price change in Token A causes roughly 5.7% impermanent loss, while a 10x change causes 42.5% loss.

Formula: IL = 2√r/(1+r) - 1, where r is the price ratio change between the two tokens.

Frequently asked questions