Impermanent Loss Calculator

Pool position

Impermanent loss-2.02%
Value if held$12,500
Value in the pool$12,247
Difference vs holding-$253
How this was calculated
  1. Price ratio r = $3,000 / $2,000 = 1.50 - the volatile asset moved 50.0% against the stable side of the pair.
  2. Impermanent loss = 2 x sqrt(r) / (1 + r) - 1 = -2.02% for a constant-product (x*y=k) pool.
  3. Holding the deposit would give $10,000 x (1 + 1.50) / 2 = $12,500; the pool position is worth $12,247.
  4. The gap is -$253 - trading fees must earn more than this before providing liquidity beats holding.

This impermanent loss calculator shows how much a constant-product liquidity pool position can underperform simply holding the same assets, based only on how far the volatile asset's price moves. Enter the price ratio r between deposit and withdrawal, and you get the impermanent loss as a percentage. For a constant-product pool the loss follows IL = 2 sqrt(r) / (1 + r) - 1. The loss is symmetric in direction: a 50% rise (r = 1.5) costs 2.02%, and a halving (r = 0.5) costs 5.72%. In the rise example, a $10,000 deposit would be worth $12,500 held but $12,247 in the pool, a $253 gap. In the halving example the gap is $214 on a $5,000 deposit: $3,750 held versus $3,536 pooled. At no price change the loss is exactly 0.00%.

The underlying method is the accepted standard for this kind of calculation because the formula is derived directly from the constant-product pool mechanics that set how much of each asset the pool holds as prices move. That is why the result is caused purely by the pool rebalancing into the falling asset and out of the rising one, and why the loss is symmetric in direction rather than tied to whether prices went up or down. This page shows the formula, step-by-step workings, worked examples and sources so you can check every number yourself rather than take a single figure on trust.

Worked examples

ETH up 50% against USDC

(2000 · 3000 · 10000)

Impermanent loss-2.02%
Value if held$12,500
Value in the pool$12,247
Difference vs holding-$253

Token halves against USDC

(3000 · 1500 · 5000)

Impermanent loss-5.72%
Value if held$3,750
Value in the pool$3,536
Difference vs holding-$214

No price change

(1000 · 1000 · 20000)

Impermanent loss0.00%
Value if held$20,000
Value in the pool$20,000
Difference vs holding$0

Why liquidity providers lose to holding

A constant-product pool holds two assets and keeps their product constant. That single rule forces the pool to trade against itself whenever prices move. If one asset rises, the pool's balance shifts so that it holds less of the winner and more of the loser. If one asset falls, the pool ends up holding more of it. In both cases the pool is buying the asset that just got cheaper and selling the one that just got more expensive — the opposite of what a buy-and-hold investor would do. The impermanent loss calculator measures the cost of that automatic rebalancing.

The standard formula for a constant-product pool is IL = 2 sqrt(r) / (1 + r) - 1, where r is the price ratio of the volatile asset between deposit and withdrawal. Because the formula depends on r symmetrically around 1, the loss appears whether the asset goes up or down. A 50% rise, r = 1.5, costs 2.02%. A halving, r = 0.5, costs 5.72%. At no price change the loss is exactly 0.00% — it is caused purely by the pool rebalancing into the falling asset and out of the rising one, not by fees or trading costs.

The dollar figures make the mechanic concrete. In the rise example, a $10,000 deposit would be worth $12,500 if simply held, but $12,247 in the pool — a $253 gap. In the halving example the gap is $214 on a $5,000 deposit: $3,750 held versus $3,536 pooled. In each case the pool position still gained or lost value in the right direction; it just trailed the straightforward alternative. The gap is the price of letting the pool rebalance for you.

This is why the comparison is always against holding, not against zero. A liquidity provider who watches only the dollar value of the position may see a gain and miss that a plain wallet would have done better. The loss is called impermanent because it can shrink if the price ratio returns to 1, but nothing guarantees that happens. Use the impermanent loss calculator to see the gap for your own deposit size and price move before you commit capital.

The direction of the price move does not rescue the position. A pool that sells the winner locks in less of the rally, and a pool that buys the loser carries more of the decline. Either way, the constant-product rule keeps the position one step behind simply holding the same two assets.

  • r = 1.5 (50% rise): IL = 2.02%; $10,000 held grows to $12,500 versus $12,247 pooled — a $253 gap.
  • r = 0.5 (halving): IL = 5.72%; $5,000 held falls to $3,750 versus $3,536 pooled — a $214 gap.
  • r = 1 (no price change): IL = 0.00% — the loss comes only from rebalancing, not from fees.
The pool always sells the rising asset and buys the falling one. Compare every result to what holding the same assets would have been worth.

The formula and its shape

The impermanent loss calculator rests on a single closed-form expression. For a constant-product pool, impermanent loss is IL = 2 sqrt(r) / (1 + r) - 1, where r is the price ratio of the volatile asset between deposit and withdrawal. Everything the curve does follows from that one line: the square root in the numerator and the linear term in the denominator together pin the result at exactly zero when r equals 1 and pull it negative on either side.

The shape is worth understanding before you trust any output. At r = 1 there is no loss at all — 0.00% — because nothing has moved. As r departs from 1 the curve grows slowly at first, then steeply. A small move costs very little; a large move costs disproportionately more. And the loss is symmetric in direction: a 50% rise (r = 1.5) costs 2.02%, while a halving (r = 0.5) costs 5.72%. The same formula handles both, which is why the calculator needs only the two prices.

The two worked moves make the mechanism concrete. In the rise example, a $10,000 deposit would be worth $12,500 held but $12,247 in the pool — a $253 gap. In the halving example the gap is $214 on a $5,000 deposit: $3,750 held versus $3,536 pooled. Notice that the dollar gap and the percentage loss are different questions: the halving produces the larger percentage loss, while the rise example produces the larger dollar gap because it starts from a bigger deposit.

The cause is not fees, slippage, or any hidden charge. It is purely the pool rebalancing into the falling asset and out of the rising one. As the price ratio moves, the constant-product rule forces the pool to sell whatever is going up and buy whatever is going down, so at withdrawal you hold more of the weaker asset and less of the stronger one than you started with. That is why the loss is called impermanent: it is a comparison against holding, and it can reverse if the ratio returns to 1.

ScenarioPrice ratio (r)Impermanent lossValue if heldValue in poolGap
50% rise1.52.02%$12,500$12,247$253
Halving0.55.72%$3,750$3,536$214
At no price change the loss is exactly 0.00% — it is caused purely by the pool rebalancing into the falling asset and out of the rising one.

Fees must beat the gap

Impermanent loss is not the number that decides whether you should have pooled. It is the hurdle that fee income and incentives have to clear. The impermanent loss calculator gives you the size of the gap between holding and pooling; the provider's real question is whether trading fees and rewards earned over the same period were large enough to close it. If they were, pooling beat holding. If they were not, the pool left you behind — no matter how attractive the yield looked on the dashboard.

The rise example makes the arithmetic concrete. On a $10,000 deposit, the position would have been worth $12,500 if simply held, but it was worth $12,247 in the pool — a $253 gap. That $253 is the amount fees and incentives must exceed before pooling comes out ahead. A provider who earned $400 in fees and rewards over the same stretch cleared the hurdle with room to spare; one who earned $150 did not, even though the pool showed a positive fee line. The gap, not the gross fee figure, is the break-even line.

The halving example works the same way in the other direction. On a $5,000 deposit, holding would have been worth $3,750, while the pool was worth $3,536 — a $214 gap. Again, fee income has to beat that number before the pool is the better outcome. Because the loss is symmetric in direction, the side of the trade does not rescue the provider: a 50% rise (r of 1.5) costs 2.02%, and a halving (r of 0.5) costs 5.72%. Both are computed with IL = 2 sqrt(r) / (1 + r) - 1, where r is the price ratio of the volatile asset between deposit and withdrawal. The formula does not care which way price moved; it only cares how far.

This is why the loss is often described as impermanent. At no price change the loss is exactly 0.00%. It is caused purely by the pool rebalancing into the falling asset and out of the rising one — selling the winner and buying the loser as arbitrageurs trade against the pool. If price returns to its deposit level, the gap closes on its own. If it does not, the gap is realized the moment you withdraw, and the fee income you collected along the way is what determines whether you came out ahead.

So when you use an impermanent loss calculator, treat its output as a threshold rather than a verdict. Compare the computed gap against the fees and incentives you actually expect to earn over your holding period, not the advertised annual percentage. If the expected fee income comfortably exceeds the gap, pooling can make sense. If it barely covers it, or falls short, holding the assets outright is the cleaner choice.

  • Rise example: $10,000 held would be $12,500; pooled it is $12,247 — a $253 gap for fees and incentives to beat.
  • Halving example: $5,000 held would be $3,750; pooled it is $3,536 — a $214 gap.
  • Symmetric direction: a 50% rise (r 1.5) costs 2.02%; a halving (r 0.5) costs 5.72%.
  • At no price change the loss is exactly 0.00%.
Fees and incentives must exceed the computed gap — $253 in the rise example, $214 in the halving example — before pooling beats simply holding.

What the model leaves out

The impermanent loss calculator on this page applies a single formula: IL = 2 sqrt(r) / (1 + r) - 1, where r is the price ratio of the volatile asset between deposit and withdrawal. That formula describes one specific setup — a 50/50 constant-product pool with no fees — and every assumption behind it shapes the number you see. Knowing what the model leaves out tells you when its output is a close estimate and when the real result will differ.

Concentrated-liquidity ranges amplify the effect. When liquidity is deployed only within a chosen price band rather than across all prices, the pool's holdings shift between the two assets faster as price moves through that band. The same price ratio that produces a modest loss in a full-range constant-product pool can produce a substantially larger one in a narrow range, and if price exits the range entirely the position can end up holding only one of the two assets. The formula above does not capture range width, so treat its output as a floor for concentrated positions, not a match.

Correlated pairs reduce it. The formula treats the second asset as fixed in value while the first moves against it. If both assets tend to move together — two tokens whose prices are linked, or two assets with a stable relationship — the effective price ratio between them stays closer to 1, and the loss shrinks accordingly. At r = 1 the formula returns exactly 0.00%, and the loss is caused purely by the pool rebalancing into the falling asset and out of the rising one. The closer the pair's real behavior is to that, the smaller the true gap.

Fees are excluded entirely. The formula measures divergence between what you would hold and what the pool holds, not your net result. Trading fees accrue to liquidity providers and can offset some or all of the divergence; the model says nothing about volume, fee tier, or how long you stay in the pool. The figures it produces — 2.02% for a 50% rise (r = 1.5) and 5.72% for a halving (r = 0.5), symmetric in direction — are gross divergence numbers, not profit and loss.

Two worked examples show the scale. In the rise case, a $10,000 deposit would be worth $12,500 held but $12,247 in the pool, a $253 gap. In the halving case the gap is $214 on a $5,000 deposit: $3,750 held versus $3,536 pooled. Use the impermanent loss calculator for what it measures — the divergence from a 50/50 constant-product pool with no fees — and adjust your expectations for range, correlation, and fee income before drawing conclusions.

The formula assumes a 50/50 constant-product pool with no fees. Concentrated ranges amplify the result; correlated pairs reduce it.

FAQs

How much do I lose if the price rises 50%?

About 2.02% versus holding. On a $10,000 deposit, that is the difference between $12,500 held and $12,247 in the pool. So the pool still gains, just less than simply holding would have gained over the same move.

Is impermanent loss worse when price falls?

Not in ratio terms. The formula is symmetric: halving to r 0.5 costs 5.72%, and doubling to r 2 costs the same 5.72%. The size of the move away from your deposit ratio drives the loss, not its direction.

Why is it called impermanent?

If the price returns to the deposit ratio, the loss vanishes. It only becomes permanent when you withdraw at a different ratio. Until you withdraw, the loss is a paper figure that can still reverse if prices come back.

Do trading fees offset it?

They must exceed it for pooling to win. In the rise example, you need more than $253 of fees on $10,000 before the pool beats holding. Fees below that leave you behind a simple hold.

Which pairs have the least impermanent loss?

Pairs that move together, such as two stablecoins or a token and its wrapped form, keep r near 1, where the loss is near 0.00%. The closer the two assets track each other, the smaller the divergence you face.

Does a bigger move always mean bigger loss?

Yes, for a constant-product pool. The loss grows monotonically as r leaves 1 in either direction, without bound as r approaches zero or infinity. Each step further from your deposit ratio adds more loss.

Sources

Related calculators

Position Size Calculator
How many shares to buy when you risk a fixed slice of your account — position size from account size, risk percent, entry and stop prices.
Risk of Ruin Calculator
The probability that a bettor or trader with a known win rate eventually loses the whole bankroll: (q/p) raised to the number of bet units it holds.
CPM Calculator
Calculate the cost per thousand impressions of an ad campaign from spend, impressions and clicks, with cost per click, click-through rate and the impressions a fixed budget buys at the same CPM.