Skip to main content
Calcimator

Impermanent Loss Calculator

Calculate impermanent loss from providing liquidity in a DeFi pool. See how price changes affect your LP position compared to simply holding tokens.

About this calculator

Impermanent loss is the gap between what your tokens would be worth if you'd simply held them and what they're actually worth after providing liquidity to an automated-market-maker (AMM) pool whose relative token prices moved. Hold Value computes what Initial Investment would be worth today if left untouched, split according to Pool Weight and grown by Price Change. Pool Value uses the constant-product weighted-pool formula (the same math underlying AMMs like Uniswap and Balancer): for a standard 50/50 pool this reduces to Initial Investment times the square root of the price ratio; for an unevenly weighted pool it's Initial Investment times the price ratio raised to the pool weight. The AMM's pricing mechanism automatically rebalances the pool as the volatile asset's price moves -- selling some of the asset that's gone up and buying more of the asset that's gone down relative to the pool's target ratio -- which is exactly why a pool position ends up worth less than simply holding when one asset's price diverges from the other's.

Impermanent Loss is the dollar (and percentage) gap between Hold Value and Pool Value. It's called 'impermanent' because it exists only while your funds remain in the pool -- if the price ratio later returns to where it started, the loss vanishes -- but it becomes permanent the moment you withdraw at a different price ratio. Net Gain/Loss (with Fees) adds back Fees Earned from trading activity in the pool, since fee income is often what makes providing liquidity worthwhile despite impermanent loss.

Inputs

$
%
%
%

Results

Hold Value

$12,500.00

≈ 8 months of rent

Pool Value

$12,247.45

≈ 8 months of rent

Impermanent Loss$252.55
Impermanent Loss %2.02%
Net Gain/Loss (with Fees)$2,747.45
Fees Earned$500.00
How to Use This Calculator
  1. Enter your initial investment amount deposited into the liquidity pool.
  2. Set the price change percentage for the volatile asset.
  3. Input your pool weight split (e.g., 50/50 or 80/20).
  4. Enter trading fees earned during the liquidity provision period.
  5. Review impermanent loss amount and percentage, and net gain/loss after fees to assess LP profitability.

How the result changes with Initial Investment

Initial InvestmentHold ValuePool Value
$5,000.00$6,250.00$6,123.72
$7,500.00$9,375.00$9,185.59
$15,000.00$18,750.00$18,371.17
$25,000.00$31,250.00$30,618.62

What each input means

Initial Investment
Total USD value deposited into the liquidity pool.
Price Change
Percentage change in the volatile token's price since deposit.
Pool Weight
Weight of the volatile asset in the pool (50 for a standard 50/50 pool).
Trading Fees Earned
Total trading fees earned as a percentage of your initial deposit.

What each result means

Hold Value
What your tokens would be worth if you just held them.
Pool Value
Current value of your liquidity pool position.
Impermanent Loss
Dollar amount lost to impermanent loss.
Impermanent Loss %
Percentage of hold value lost to IL.
Net Gain/Loss (with Fees)
Net profit or loss including trading fee earnings.
Fees Earned
Trading fees earned from the pool.

How this is calculated

Worked example, using the default values

  1. Identify Input Parameters
    4 parameters
    Initial Investment = 10000, Price Change = 50, Pool Weight = 50, Trading Fees Earned = 5 = 4 input(s) provided
  2. Calculate Hold Value
    Hold Value
    12500 = $12,500
  3. Calculate Pool Value
    Pool Value
    12247.45 = $12,247.45
  4. Calculate Impermanent Loss
    Impermanent Loss
    252.55 = $252.55
  5. Calculate Impermanent Loss %
    Impermanent Loss %
    2.02 = 2.02%

Engine last updated . Checked against 2 independently-derived tests — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.

Frequently Asked Questions

Why is it called 'impermanent' loss if I can actually lose money?

The loss is impermanent only in the sense that it exists purely as a function of the CURRENT price ratio between the pool's two assets relative to when you deposited -- if that ratio moves back to where it started, the gap between Hold Value and Pool Value returns to zero, even without withdrawing. It becomes a permanent, realized loss the moment you withdraw your liquidity at a price ratio different from your deposit ratio. Many liquidity providers who withdrew during a price swing without waiting for reversion have experienced very real, permanent losses despite the name.

Does Trading Fees Earned change my Impermanent Loss?

No. Impermanent Loss and Impermanent Loss % are calculated purely from the price movement and pool mechanics -- Hold Value minus Pool Value -- independent of any fees. Trading Fees Earned only factors into the separate Net Gain/Loss (with Fees) figure, which adds fee income back to your pool position to show your actual bottom line including trading revenue. A position can show a meaningful Impermanent Loss but still be profitable overall if fees earned outweigh it.

Why does a 50/50 pool use a square root in the Pool Value formula?

It comes from the constant-product formula (x * y = k) that AMMs like Uniswap use to price trades: for a pool weighted equally between two assets, the pool's value as the price ratio moves works out mathematically to the initial value times the square root of that price ratio. A pool weighted differently between its two assets (like an 80/20 pool) generalizes this to the price ratio raised to the pool's weight instead of a fixed square root.

Does the direction of the price change (up or down) matter for Impermanent Loss?

Impermanent loss occurs whenever the price ratio moves away from where it was at deposit, in either direction -- a token price doubling and a token price halving both produce impermanent loss relative to holding, because the AMM rebalances the pool either way. The magnitude, not the direction, drives how large the loss is; larger price swings (in percentage terms) in either direction produce larger impermanent loss.

What does this calculator not account for?

It models a single price-change scenario at a single deposit-to-current snapshot, not a continuous path of prices over time (which affects how much fee income actually accrues), doesn't account for token emissions or liquidity mining rewards some pools offer on top of trading fees, and doesn't model gas costs for entering or exiting the position. Treat this as a simplified illustration of the mechanics, not a precise forecast of your actual returns.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Investing & Retirement.