Skip to content
Investment Math
Investment Math

Currency and number style

Only changes how amounts look. There is no currency conversion.

Impermanent Loss Calculator

What does the pool hold against what holding separately would hold?

What this tells you: A constant-product pool keeps the product of its two balances constant, so it sells the asset that rises and buys the one that falls. The page works what that mix is worth at today's prices against what holding the two assets separately would be worth, and states the difference both with and without the fees you type.

Go to the calculator

Also called: impermanent loss calculator with fees · liquidity pool calculator · divergence loss calculator Read the guide Last updated

How much the price of the first asset has moved since the deposit.

How much the price of the second asset has moved since the deposit.

What the deposited pair was worth when you deposited it, in whatever units you prefer to read.

Result

With asset A at 100.0% and asset B at 0.0% since the deposit, the pool holds 14,142 against 15,000 held separately: a difference of -857.86, -5.7191% of the held value.

This tool shows math, not advice.

Details

Loss versus holding, before fees-5.7191%
Value if held separately15,000
Value in the pool14,142
Difference, pool less held-857.86
Loss versus holding, across changes in the price ratio of A to B

Use the left and right arrow keys to read the values.

Chart data as a table
xLoss versus holding
-90-42.5%
-16.499999999999993-0.4%
57.000000000000014-2.5%
130.50000000000003-8.1%
204.00000000000006-13.7%
277.5-18.6%
351-22.9%
400-25.5%

How we got this

  1. The price ratio has moved by a factor of 2: (1 + 100.0%) ÷ (1 + 0.0%).
  2. Loss versus holding = 2√k ÷ (1 + k) − 1 with k = 2, which comes to -5.7191% of the held value.
  3. Held separately the deposit of 10,000 would be worth 15,000; in a constant-product pool it holds 14,142. The difference is -857.86.

About this answer

  • A constant-product pool holds the mix of the two assets that keeps the product of the two balances constant, so it sells what rises and buys what falls. That is where the difference comes from.
  • The loss is only realized on withdrawal. Until then it is the difference between what the pool holds and what holding separately would hold, both measured at today's prices.

Did this calculator help?

Keep this calculator. Your numbers are in the address, so a bookmark brings them back exactly as you left them. Press Ctrl + D · ⌘ + D

What to do next

Calculators that usually come after this one.

Not quite what you need?

Type your question in plain words and get the calculators that answer it.

    How to use it

    1. Type the price change of each asset since the deposit.
    2. Type what the deposit was worth at the start.
    3. Optionally add the fees the pool has earned, as a share of the deposit.

    Example

    With asset A up 100% and asset B flat since a deposit of 10,000, the pool holds 14,142.14 against 15,000 held separately, a difference of −857.86 or 5.7191% of the held value.

    Type these numbers into the boxes

    Price change of asset A
    100 % since deposit
    Price change of asset B
    0 % since deposit
    Deposit value at the start
    10,000

    What you get: With asset A at 100.0% and asset B at 0.0% since the deposit, the pool holds 14,142 against 15,000 held separately: a difference of -857.86, -5.7191% of the held value.

    Put this example into the calculator

    What your answer means

    The difference grows with the move in the price ratio, not with either price alone: both assets doubling leaves it at 0. The figure is what the formula holds today; it becomes a gain or a loss only when the position is withdrawn.

    Words explained

    Loss
    the shortfall of the pool's mix against holding separately, measured at today's prices and realized only on withdrawal.
    Diversification
    holding two assets at once, which is what the pool does — and what makes its mix differ from holding either alone.

    How we calculate · the conventions behind every answer, in one place.

    What this impermanent loss calculator does

    Type how far each asset's price has moved since the deposit, and the page works the move in the price ratio, what the pool's constant-product mix holds at today's prices, and what holding the two assets separately would hold. The difference is reported as a percentage of the held value and as an amount.

    An optional fees field, under More options, adds the trading fees the pool has earned as a share of the deposit, because the comparison that matters is pool plus fees against holding. Both differences are shown: the raw one the formula produces, and the net one with the fees included.

    The chart draws the loss across price-ratio moves from −90% to +400%, which shows the shape plainly: 0 at no divergence, falling steeply either side, and always a cost against holding rather than a gain.

    Questions about the impermanent loss calculator

    How is impermanent loss worked out?

    The page finds the factor k by which the price ratio has moved, then applies 2√k ÷ (1 + k) − 1. In the default run asset A rises 100% and asset B does not move, so k = 2 and the loss is -5.7191% of the held value.

    What does the pool hold against holding separately?

    In the default run a deposit of 10,000 would be worth 15,000 held separately. In a constant-product pool it holds 14,142. 14,142 less 15,000 is the difference of -857.86. The pool sells some of the rising asset as its price climbs, so it ends with less of it than a holder who did nothing.

    Why do both prices rising by the same amount give no loss?

    The loss depends only on the ratio between the two prices. If both rise by the same percentage, the ratio stays the same, k = 1, and 2√1 ÷ (1 + 1) − 1 = 0. The pool then holds the same as holding separately, before fees.

    Where do the fees fit in?

    Fees earned in the pool are added back as a percentage of the deposit and can offset the loss. The default run uses fees of 0%, so the full -857.86 remains. Type the fees you earned to see the net result.

    Why is the loss called impermanent?

    If the prices return to their ratio at the deposit, the loss disappears. It becomes real when you withdraw while the ratio has moved. In the default run withdrawing at a factor of 2 would lock in the -5.7191%. Fees earned while the money sat in the pool can offset part or all of it.

    Ask about this calculator

    Something the page does not answer? Ask it here. A person reads every question, and the useful ones are answered on this page.

    Your question goes to the site owner by email and is not stored on this site. If you add an email it is used only to reply.

    Cite this page

    Copy this line into a reference list, a report or a spreadsheet note.

    Investment Math Calculator. “Impermanent Loss Calculator”. Updated 2026-11-29. https://investmentmathcalculator.com/tools/impermanent-loss/

    This tool shows math, not advice.

    Disclaimer: For education only. These calculators show arithmetic and hypothetical scenarios. They are not investment, tax or legal advice and do not recommend any security or product. Consult a licensed adviser in your country before acting.