Skip to content
FiftyCalc Free calculators for all 50 states

Impermanent Loss Calculator

Test cases replayed : 3 of 3 match · Methodology · No outside source listed

Enter the token's price when you deposited, its price now (in the paired asset, e.g. a stablecoin) and the value you deposited. Trading fees earned are not included.

Result

Sample figures

Impermanent loss—

Value if you had held both assets ($) —

  • Value of your pool share ($)—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Impermanent Loss Calculator

Token price at deposit, in dollars: enter 0 or more. Prefilled example: 2,000.

Token price now, in dollars: enter 0 or more. Prefilled example: 4,000.

Total value deposited, half in each asset, in dollars: enter 0 or more. Prefilled example: 10,000.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Token price at deposit, in dollars: enter 0 or more.
  2. Token price now, in dollars: enter 0 or more.
  3. Total value deposited, half in each asset, in dollars: enter 0 or more.
  4. Read the result: Impermanent loss; the panel also shows Value if you had held both assets ($) and Value of your pool share ($).

How this calculator works

In a 50/50 constant-product pool (x × y = k, the design of Uniswap v2), if the price changes by a factor k = new price ÷ old price, the pool share is worth √k times the deposit, while holding is worth (1 + k) ÷ 2 times it. Impermanent loss = 2√k ÷ (1 + k) − 1.

The loss depends only on the price ratio, not on its direction: doubling and halving both give −5.72%. It becomes permanent only if you withdraw at that price; fees earned by the pool can offset it.

The formula

  1. H=D÷2×p1p0+D2
  2. Lp=D×p1p0
  3. Il=(LpH−1)×100
Symbols used in the formula
SymbolMeaningUnit
p0Token price at deposit$
p1Token price now$
DTotal value deposited, half in each asset$
HValue if you had held both assets$
LpValue of your pool share$
IlImpermanent loss%

Worked example

Token price at deposit$2,000
Token price now$4,000
Total value deposited, half in each asset$10,000
Value if you had held both assets ($)$15,000.00
Value of your pool share ($)$14,142.14
  1. H=10,000÷2×4,0002,000+10,0002=15,000
  2. Lp=10,000×4,0002,000=14,142.14
  3. Il=(14,142.1415,000−1)×100=−5.7191

Impermanent loss -5.72%

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What is the impermanent loss if the price doubles?

−5.72%. $10,000 deposited would be worth $15,000 held, but $14,142.14 in the pool.

Is there impermanent loss if the price comes back?

No. If the price returns to its level at deposit, the loss goes back to 0%.

Questions answered

Related calculators