Toolkit
All tools
Liquidity pools and LP maths · Free

Impermanent Loss Calculator

Work out what a liquidity position loses against simply holding when the price ratio moves: the exact token balances the pool hands back, the gap in currency, and how much trading fee income it takes to break even. Constant-product 50/50 and weighted pools, entirely from numbers you type.

Runs on your device · No feed, no wallet, no sign-in

Impermanent loss is -5.72%. The liquidity position is worth $14,142.14 against $15,000.00 for simply holding, a gap of $857.86. Trading fees of $493.15 over 90 days leave you $364.71 behind holding; breaking even needed a 34.79% fee APR.

Impermanent loss against holding
-5.72%

$10,000.00 of liquidity is worth $14,142.14 at these prices. Holding the same two tokens would be worth $15,000.00, a gap of $857.86 created purely by the 2.000× move in the price ratio.

Liquidity position now
$14,142.14
If you had just held
$15,000.00
Difference before fees
−$857.86
Trading fees earned
+$493.15
Net against holding
−$364.71
Break-even fee APR
34.79%
ETH +100.00% · USDC 0.00% · price ratio 2.000× · 50 / 50 pool
Fees against divergence

Did the fee income cover it?

Impermanent loss is the cost of providing liquidity and trading fees are the payment for it. This is the only comparison that decides whether the position was worth holding.

Fees fell $364.71 short of the divergence.

$493.15 of fees over 90 days against $857.86 of divergence. Breaking even needed a 34.79% fee APR, or 157 days at the 20.00% you earned.

Divergence to cover$857.86
Fee income earned$493.15
Fee APR used
20.00%

The rate you entered

Break-even fee APR
34.79%

What 90 days needed to cancel the divergence

Break-even days
157 days

At the fee rate above, all else equal

Net result after fees
+46.35%

Against +50.00% for holding both tokens

Fee income is modelled on the value you deposited, which is the basis quoted pool APRs use. It ignores gas to enter and exit, swap slippage, and the price of any incentive token paid on top. Farm emissions are worth whatever they are worth on the day you sell them, which is not something arithmetic can tell you.

What the pool hands back

The tokens in, and the tokens out

Every trade against the pool moves it back toward its target weights, which means it sells the token that is rising and buys the one that is falling. You withdraw a different mix from the one you put in.

TokenPrice moveDepositedWithdrawnChangeValue at exit
ETH50%$2,000.00 → $4,000.00+100.00%2.51.767767−0.73223305-29.3%$7,071.07
USDC50%$1.00 → $1.000.00%5,0007,071.07+2,071.07+41.4%$7,071.07

ETH outran USDC, so the pool sold 0.73223305 ETH and took 2,071.07 USDC in exchange, a little at every price along the way rather than all at the end. That forced, gradual sale is impermanent loss. There is no hidden fee anywhere in the arithmetic.

Pool shape matters

The same 2.000× move in four pool shapes

A lopsided pool keeps more of its value in one token, so it rebalances less and diverges less. That is the whole appeal of an 80/20 pool, and it is the single most useful comparison on this page.

50 / 50
yours
-5.72%

The constant-product baseline

60 / 40
-5.27%

0.45% gentler than 50 / 50

80 / 20
-3.27%

2.45% gentler than 50 / 50

98 / 2
-0.38%

5.34% gentler than 50 / 50

The trade-off is that a lopsided pool holds less of the second token, so it sees less trading volume per unit of liquidity and earns proportionally fewer fees. Lower divergence is not free.

Reference table

Impermanent loss at the moves people quote

One token moving while the other stays put, in a 50 / 50 pool. Every figure is computed by the same formula as the result above, so nothing here is a typed constant.

Price changePrice ratio50 / 50 pool
−75%0.250×-20.00%
−50%0.500×-5.72%
−25%0.750×-1.03%
+25%1.250×-0.62%
+50%1.500×-2.02%
2× (+100%)2.000×-5.72%
3× (+200%)3.000×-13.40%
4× (+300%)4.000×-20.00%
5× (+400%)5.000×-25.46%
6× (+500%)6.000×-30.01%
10× (+900%)10.0×-42.50%

In a 50/50 pool the loss depends only on the ratio, so a halving costs exactly what a doubling costs: −75% and 4× both land on −20.00%. A weighted pool breaks that symmetry: the heavy token falling hurts more than the heavy token rising by the same multiple.

It is only impermanent if the ratio comes back

The name promises something the maths does not. The loss reverses only if the two prices return to the ratio you entered at, and it is realised in full the moment you withdraw. Divergence loss is the honest name.

Only the ratio matters, not the direction

Both tokens doubling costs nothing at all. One token doubling against the other costs 5.72% in a 50/50 pool whether it doubled or halved. This is why stablecoin pairs barely diverge and why a volatile token against a stablecoin is the hardest case.

Fees are the payment, divergence is the cost

Liquidity provision is not free money and it is not a trap. It is a trade: you take on forced rebalancing in exchange for a share of trading volume. This page prices both sides so the trade can be judged rather than guessed at.

This is arithmetic on the numbers you type, not investment, financial, or tax advice. It models a full-range, v2-style position and does not cover concentrated liquidity, which changes the shape of the loss entirely. It ignores gas to deposit and withdraw, swap slippage, the price of any farm or incentive token, protocol fee switches, and tax on realised gains. It also cannot model the risks that have actually cost liquidity providers the most: contract exploits, malicious or upgradeable token contracts, a depegging stablecoin, and a token that simply goes to zero.

How it works

One ratio decides the loss. Everything else is accounting.

A liquidity pool holds a fixed share of its value in each token, and arbitrage keeps it there. When one token's price runs ahead of the other, the pool sells it (gradually, at every price along the way) and buys the one falling behind. You withdraw a different mix from the one you deposited, and it is worth less than if you had held. The size of that gap depends only on how far the two prices moved apart, never on which direction the market went, and it is exact arithmetic rather than an estimate. What is not exact is the other half of the trade: the fees. Enter what you earned and the page prices both sides against each other.

  1. 01

    Name the pool and the two tokens

    Pick a 50/50 constant-product pool or a weighted one (80/20, 60/40, 98/2) and label both sides. The weighting changes the answer more than almost anything else on the page, because a lopsided pool rebalances less.

  2. 02

    Enter what you deposited and the four prices

    A total deposit value split by weight, or the actual token amounts. Then each token's price when you entered and when you left. You can also switch to the change-multiple mode and type 2× instead of a price.

  3. 03

    Compare the fees against the divergence

    Add the pool's fee APR and how many days you were in, and the page prices both sides: the loss against holding, the fee income, the net result, and the fee APR that would have been needed to break even.

Built for liquidity providers

The formula, the balances, and the fee break-even.

The constant-product formula, derived not memorised

For a 50/50 pool the loss against holding is 2√r / (1 + r) − 1, where r is how far one token's price moved relative to the other. It comes straight out of the x · y = k invariant, and the page shows the rebalanced balances that produce it rather than only the percentage.

Weighted pools, priced against the 50/50 baseline

Balancer-style pools use Π rᵢ^wᵢ ÷ Σ wᵢrᵢ. On a 2× move an 80/20 pool loses 3.27% where a 50/50 loses 5.72%, and on a 5× move it is 13.72% against 25.46%. Every shape is priced side by side at your own divergence.

The token quantities the pool actually hands back

The pool sells the token that is rising and buys the one that is falling, so you withdraw a different mix from the one you deposited. Both balances are shown with the exact change, which is the part of impermanent loss that a percentage alone hides.

Fee break-even, the question most calculators skip

Fee income over your holding period, the net result once it is set against the divergence, whether it covered the gap, the fee APR that would have broken even over those days, and how many days the rate you earned would have needed.

A reference table computed, never typed

Impermanent loss at −75%, −50%, −25%, +25%, +50%, 2×, 3×, 4×, 5×, 6× and 10×, for your pool weighting and for a plain 50/50 alongside it. The figures come from the same function as the result above, so the two can never drift apart.

No feed, no wallet, no account

Every number is one you typed. Nothing is fetched, no wallet is connected, no address is read, and the page works just as well for a position you closed two years ago as for one you are still in.

Liquidity questions

Divergence, weightings, fees, and what this model leaves out.

What is impermanent loss, in one paragraph?+

It is the gap between what a liquidity position is worth and what the same two tokens would have been worth if you had simply held them. An automated market maker keeps a fixed share of its value in each token, so every time the market price moves, arbitrage traders rebalance the pool back to that share, selling the token that is rising and buying the one that is falling. Those forced trades are good for the pool's pricing and bad for the depositor: you end up with less of the winner and more of the loser than you started with. In a 50/50 constant-product pool the size of the gap is 2√r / (1 + r) − 1, where r is how far one token's price moved relative to the other.

Why is it called impermanent if I actually lost money?+

Because the name describes the one case where it reverses, not the usual case. If the two prices return to exactly the ratio you deposited at, the gap closes completely. That is the impermanence. But the ratio very often does not return, and the loss is realised in full the moment you withdraw, at which point there is nothing impermanent about it. Divergence loss is the accurate name and the one you will see in the research literature. Treat the number on this page as a real cost that happens to be reversible only under a condition you do not control.

Does it matter which token went up?+

In a 50/50 pool, no: only the ratio matters. A token doubling against its pair and a token halving against its pair cost exactly the same 5.72%, because 2√r / (1 + r) is unchanged when you replace r with 1/r. That symmetry is a property of the even split. In a weighted pool it breaks: an 80/20 pool loses 3.27% if the heavy token doubles but 4.28% if it halves, because the pool is far more exposed to the side it holds most of.

What happens if both tokens go up by the same amount?+

Nothing at all: impermanent loss is exactly zero. The pool prices tokens against each other, not against a currency, so if both double, the ratio between them is unchanged, no arbitrage trade is profitable, and the pool never rebalances. You withdraw exactly the balances you deposited and the position is worth precisely what holding would have been worth, plus every fee you collected. This is why impermanent loss depends only on divergence and never on market direction, and it is the single most misunderstood point about it.

Why do stablecoin pairs have almost no impermanent loss?+

Because the two prices are pinned to the same thing, so the ratio barely moves. A USDC/USDT pair trading between 0.998 and 1.002 has a divergence ratio inside half a percent, which works out to well under a thousandth of a percent of loss, invisible next to the fees. That is why stable pools can run with very thin fee tiers and still be worth providing to. The risk that replaces divergence is a depeg: if one side breaks its peg and goes to 0.90, the pool will have bought all the way down and you will be left holding almost entirely the broken token.

How much fee income do I need to break even?+

Exactly enough to cover the gap the divergence created, and this page solves for it directly. On a 10,000 deposit with a 2× move in the price ratio, the divergence costs about 858, so 90 days in the pool would have needed roughly a 34.8% fee APR to break even. At a 20% fee APR you would have needed around 157 days at that divergence. Both figures are computed rather than estimated, and the fee income is modelled on the value you deposited, which is the basis every quoted pool APR uses.

Why does an 80/20 pool lose so much less?+

Because it only has to rebalance a fifth of its value rather than half. The pool keeps 80% of its value in one token, so when that token moves, the trade needed to restore the target weighting is far smaller and far less of the winner gets sold. On a 3× move a 50/50 pool loses 13.40% and an 80/20 loses 7.38%; at 10× it is 42.50% against 23.05%. The trade-off is real, though: a lopsided pool holds less of the second token, sees less trading volume per unit of liquidity, and therefore earns proportionally fewer fees. Lower divergence is bought, not free.

Does this work for Uniswap v3 concentrated liquidity?+

No, and it would be dishonest to pretend otherwise. This page models a full-range, v2-style position, where your liquidity is spread across every price from zero to infinity. Concentrated liquidity narrows that to a band you choose, which multiplies both the fee income and the divergence loss by roughly the same leverage factor. It also adds a behaviour v2 does not have: once the price leaves your range, the position is entirely in one token and stops earning fees altogether until the price comes back. The v2 figures here are a reasonable lower bound on what a wide v3 range does, and they are simply the wrong model for a tight one.

What does this calculator deliberately not include?+

Gas to deposit, to withdraw, and to claim; swap slippage and price impact on the way in and out; the market price of any farm or incentive token paid on top of trading fees, which is worth whatever it is worth on the day you sell it; protocol fee switches that take a cut of the trading fees; and tax, which in many countries treats entering and exiting a pool as disposals. It also cannot model the risks that have actually cost liquidity providers the most money: contract exploits, upgradeable or malicious token contracts, a stablecoin losing its peg, and a token going to zero.

Does this connect to a wallet or fetch prices?+

No. There is no price feed, no wallet connection, no address lookup and no account. Every figure comes from a number you typed, the arithmetic runs in your browser, and nothing you enter leaves the page. The example pairs in the panel are illustrative typed prices to save you filling six boxes. They are not quotes, and you should overwrite all of them with the prices from your own position.

More focused tools, ready when you are.

Explore the growing collection for calculations, documents, writing, and everyday work.

Browse all tools