Calculator

Impermanent Loss Calculator

Enter how much each token's price has changed since you deposited. The calculator compares your pool position with simply holding the two tokens.

Assumes a standard 50/50 constant-product pool (Uniswap v2 style), no deposits or withdrawals in between, and fees estimated as simple interest on the pool value. Concentrated liquidity pools behave differently.

Key takeaways: impermanent loss depends only on how far the price ratio of the two tokens moves, not on the direction. A 2x move costs about 5.7% against holding, a 5x move about 25.5%. Fees and rewards can offset it, but only if they are larger than the loss.

What is impermanent loss?

Impermanent loss is the difference between the value of tokens held in an automated market maker (AMM) liquidity pool and the value of the same tokens held in a wallet. It happens because the pool keeps rebalancing: as one token rises, traders buy it from the pool, leaving you with less of the winner and more of the loser.

The pool math comes from the constant product rule described in the Uniswap v2 documentation: the product of the two token balances stays fixed apart from fees. Your share of that pool is what you withdraw, so the rebalancing is baked into your position.

Impermanent loss curve for a 50/50 pool, showing 5.7% loss at 2x and 25.5% at 5x price change
Impermanent loss grows faster the further the price ratio moves from your entry point.

How do you calculate impermanent loss?

For a 50/50 constant product pool, impermanent loss equals 2 times the square root of the price ratio, divided by 1 plus the price ratio, minus 1. The price ratio is how much token A has moved relative to token B since you deposited. A ratio of 2 means token A doubled against token B.

Written out: IL = 2 × √r ÷ (1 + r) − 1. The calculator above uses the same idea in dollar terms. Your pool value is your deposit times the square root of the two price multipliers, and your held value is half the deposit times each multiplier. The formula was popularised in a 2019 analysis of Uniswap by Pintail on Medium.

Impermanent loss at common price changes

Price ratio changeImpermanent loss vs holding
1.25x (or 0.8x)0.6%
1.5x2.0%
2x (or 0.5x)5.7%
3x13.4%
4x (or 0.25x)20.0%
5x25.5%
10x (or 0.1x)42.5%

All figures are calculated with the formula above for a 50/50 pool, before fees.

A worked example

Say you deposit $1,000 into an ETH and USDC pool: $500 of ETH and $500 of USDC. ETH then doubles while USDC stays at $1. If you had held, you would have $1,000 of ETH and $500 of USDC, so $1,500. In the pool, you withdraw about $1,414.21. The gap is $85.79, or 5.72% of the held value.

If the pool paid 20% APR in fees and rewards for 90 days, that adds roughly $69.74 on top of $1,414.21, which still leaves you about $16 behind holding. Put the same numbers in the calculator to check, then change the days to see where the position breaks even.

When does impermanent loss become permanent?

Impermanent loss becomes permanent the moment you withdraw from the pool while the price ratio is different from your entry ratio. Until then it is a paper loss that shrinks if prices move back. If the ratio returns exactly to where it started, the loss is zero and you keep all fees earned.

In practice, prices rarely return to the exact entry ratio, and tokens that rise or crash sharply often keep going. Treat impermanent loss as a real cost when you plan a liquidity position.

Does concentrated liquidity change impermanent loss?

Yes. In concentrated liquidity pools such as Uniswap v3, you provide liquidity only inside a price range. Your capital earns more fees per dollar while the price stays in range, but impermanent loss inside that range is larger than in a 50/50 pool, and you stop earning fees when the price leaves it.

The Uniswap concentrated liquidity docs explain how ranges work. This calculator does not model ranges, so use it as a lower bound for v3 positions.

How can you reduce impermanent loss?

New to this? Start with what a liquidity pool is and how yield farming works, and use the APR to APY calculator to compare the rates pools advertise.

Frequently asked questions

What is impermanent loss?

Impermanent loss is the gap between what your tokens are worth inside a liquidity pool and what the same tokens would be worth if you had simply held them. It appears whenever the price ratio of the two pooled tokens moves away from the ratio when you deposited, in either direction.

Is impermanent loss permanent?

It becomes permanent when you withdraw while the price ratio is still different from your entry ratio. If the ratio returns to where it was when you deposited, the loss disappears. That is why it is called impermanent, although in practice many positions are closed at a loss.

How much impermanent loss is there if one token doubles?

In a standard 50/50 pool, a 2x change in the price ratio causes about 5.7% impermanent loss compared with holding. A 3x change causes about 13.4%, and a 5x change about 25.5%. The direction does not matter: a halving gives the same 5.7%.

Do trading fees make up for impermanent loss?

Sometimes. Fees and farm rewards are paid on top of the pool value, so a position can still beat holding if those earnings exceed the impermanent loss. Use the fee field in the calculator to see the break-even for your own numbers.

Do stablecoin pools have impermanent loss?

Pools of two stablecoins pegged to the same asset have very little impermanent loss while both hold their peg, because the price ratio barely moves. If one stablecoin loses its peg, the loss can become large very quickly.