Impermanent Loss Calculator

CRYPTO DEFI IMPERMANENT LOSS LIQUIDITY
Share:

Impermanent loss calculator — enter the price change of each asset in a 50/50 liquidity pool and see the impermanent loss versus simply holding, plus the value of providing liquidity against holding for a given deposit. For DeFi liquidity providers. Runs in your browser.

RT-CW3-005 · Crypto & Web3

Impermanent Loss Calculator

Impermanent loss
Advertisement
After tool · AD-W1Responsive

How to Use the Impermanent Loss Calculator

Enter each asset’s price change

Type how much each pooled asset has moved in per cent (use 0 for a stablecoin).

Add your deposit (optional)

Enter the value you put in to see HODL vs LP value in dollars.

Read the loss

See the impermanent loss as a percentage and how LP value compares to holding.

Weigh against fees

Remember to compare the loss against the trading fees you would earn as a provider.

Advertisement
After how-to · AD-W2Responsive

Understanding Impermanent Loss

Impermanent loss is the most misunderstood risk in decentralised finance, and the name does it no favours. It is not a loss of your coins, nor necessarily a loss against your starting cash — it is the gap between what your liquidity-pool position is worth and what those same assets would have been worth had you simply held them in your wallet. It appears whenever the two assets you deposited change price unequally. An automated market maker keeps the pool balanced by value, so as one asset rises it is steadily sold for the other; you end up holding relatively more of the laggard and less of the winner than a passive holder, and that rebalancing is what leaves you behind.

The mathematics for the classic fifty-fifty pool is elegant and is what this calculator uses: the ratio of pool value to hold value equals two times the square root of the price ratio, divided by one plus that ratio. Feed in how far each asset has moved and the tool returns the shortfall as a percentage, and, if you enter a deposit, the dollar value of holding versus providing liquidity. The pattern is worth internalising: the loss is symmetric — it makes no difference which asset rises — and it accelerates with divergence. A modest 1.25× move costs well under a per cent; a doubling of one asset costs about 5.7 per cent; a fourfold move around twenty per cent. Pools of assets that move together, such as two stablecoins, barely suffer at all.

Two things keep the concept in perspective. First, it is genuinely impermanent: the gap shrinks if prices converge again and vanishes entirely if they return to where they started, becoming a realised loss only if you withdraw while diverged. Second, and crucially, this calculator shows only one side of the ledger. Liquidity providers earn a share of every trade’s fees, and that income is the whole point — over time it offsets impermanent loss and in busy pools can comfortably exceed it, which is why people provide liquidity at all. So the right way to use this tool is not to be scared off by a number, but to size the impermanent-loss risk for a given price scenario and weigh it against the fees you expect to earn. Everything is computed in your browser from the standard formula; it is educational, not financial advice, and DeFi carries serious risks of its own.

Impermanent loss is measured against holding, not cash — and it only matters once you weigh it against the fees you earn.

10 Facts About Impermanent Loss

01

Impermanent loss is the gap between LP value and just holding.

02

It arises when pooled assets change price unequally.

03

For a 50/50 pool: LP/HODL = 2·√r / (1 + r).

04

A 2× move in one asset ≈ 5.7% impermanent loss.

05

A 4× move ≈ 20%; a 5× move ≈ 25%.

06

It is only “loss” relative to holding, not to cash.

07

It becomes permanent only when you withdraw.

08

Trading fees can offset or exceed the loss.

09

Stable–stable pools have minimal impermanent loss.

10

This calculator runs in your browser — nothing is uploaded.

Frequently Asked Questions

  • Impermanent loss is the difference in value between providing two assets to a liquidity pool and simply holding those same assets in your wallet. When the assets’ prices diverge, the automated market maker rebalances the pool, leaving you with relatively more of the asset that fell and less of the one that rose, so your position is worth less than if you had done nothing.
  • For a standard 50/50 constant-product pool, the ratio of liquidity-pool value to hold value is 2 times the square root of the price ratio, divided by one plus the price ratio. The price ratio is how much one asset moved relative to the other. The calculator works this out and expresses the shortfall as a percentage and, optionally, a cash figure for your deposit.
  • Because the loss only crystallises if you withdraw while prices are diverged. If the assets’ relative prices return to where they were when you deposited, the loss disappears entirely. It becomes a permanent, realised loss only at the moment you remove your liquidity.
  • It grows with the size of the price divergence between the two assets. A 1.25× move is well under one per cent, a 2× move is about 5.7 per cent, a 4× move around 20 per cent, and a 5× move roughly 25 per cent. The loss is symmetric — it does not matter which asset rises — and it accelerates as divergence increases.
  • Not necessarily. Impermanent loss is measured against holding, not against your starting cash. If both assets rose, your pool position can still be worth more than your deposit while being worth less than if you had merely held. And it ignores the trading fees you earn as a liquidity provider, which is the income that compensates for the risk.
  • Liquidity providers earn a share of the fees from trades against the pool. Over time those fees can offset the impermanent loss, and in active pools they can exceed it, making liquidity provision profitable overall. This calculator shows only the impermanent loss side; to judge a position you must weigh it against expected fee income.
  • Pools of assets that move together. A stablecoin-to-stablecoin pool has almost no impermanent loss because the price ratio barely changes, and pairs of correlated assets have less than uncorrelated ones. The risk is greatest when one asset can move dramatically against the other.
  • The formula here is for the classic 50/50 constant-product design used by many automated market makers. Pools with different weightings, concentrated-liquidity designs, or stable-swap curves behave differently and have their own impermanent-loss profiles, so treat this as the standard baseline rather than universal.
  • No. It is an educational tool to help you understand a specific risk of providing liquidity. Crypto and DeFi carry significant risks including smart-contract failure and total loss, and nothing here is a recommendation to provide liquidity or hold any asset.
  • Completely free, with no account or usage limit. It runs entirely in your browser, collects no data, and works offline once the page has loaded.

Related News

You may be interested in these recent stories from our newsroom.

View all news →
Advertisement
Pre-footer · AD-W3 728 × 90

75 more free tools

Calculators, converters, security tools — no signup.