Impermanent loss calculator

See what a price move costs a Uniswap liquidity position compared with simply holding the tokens, for a concentrated v3 range or full range, and whether the fees cover it.

What impermanent loss is

When you provide liquidity to a Uniswap pool, every trade swaps some of one token for the other inside your position. If the price moves, the pool ends up holding more of the token that fell and less of the one that rose. Impermanent loss is the difference between what the position is worth and what the same tokens would be worth if you had simply kept them in your wallet.

It is called impermanent because it shrinks back to zero if the price returns to where it was when you deposited. It becomes permanent when you withdraw at a different price. Trading fees are what you earn in exchange, so the real question is always whether the fees cover the loss.

Why a concentrated range loses more

A Uniswap v3 position only provides liquidity between its minimum and maximum price. Concentrating the same money into a narrower range makes it act like a much bigger full-range position while the price stays inside, so it earns more fees per dollar, and it also takes a bigger impermanent loss for the same price move.

Once the price leaves the range, the position has been converted entirely into one token: all of the token that fell (below the range) or all of the one that rose (above it). From then on it stops earning fees, and its value just follows that one token.

How the calculator works

Prices are quoted as the second token per the first, for example USDC per ETH. From your deposit, the entry price and the range, the calculator works out the position's liquidity and the amount of each token you put in. It then values the position at the new price with the standard Uniswap v3 formulas and compares it with keeping the deposited tokens.

Full range uses the same formulas with no lower or upper bound, which gives the classic constant-product result: loss = 2√r ÷ (1 + r) − 1, where r is the new price divided by the entry price.

  • Inside the range: base = L(1/√P − 1/√Pmax), quote = L(√P − √Pmin)
  • Below the range: all base. Above the range: all quote.
  • Impermanent loss = value in the pool ÷ value if held − 1

What it leaves out

The result is the price effect alone. It does not include:

  • Fees earned. Enter them in the optional field to see the net result against holding.
  • Gas, swap costs and slippage when you deposit, rebalance or withdraw.
  • Price moves along the way. Impermanent loss depends only on the entry and exit prices, but fees depend on how long the price stayed inside your range.

Frequently asked questions

How much impermanent loss does a 2x price move cause?

In a full-range (Uniswap v2 style) position, a 2x move in either direction costs about 5.7% compared with holding. A concentrated v3 range loses more for the same move: the narrower the range, the larger the loss while the price stays inside it.

Is impermanent loss the same when the price goes up or down?

For a full-range position the loss depends only on the size of the ratio: a 2x rise and a 50% fall both cost about 5.7%. For a concentrated range it depends on where the range sits around the entry price, so it can differ by direction.

What happens when the price leaves my range?

The position becomes 100% one token and stops earning fees. Below the range you hold only the token that fell; above it you hold only the token that rose, sold on the way up. The loss compared with holding keeps growing as the price moves further away.

Do fees make up for impermanent loss?

Sometimes. Fees accumulate while the price trades inside your range; the loss depends on where the price ends up. Enter the fees you earned (or expect to) to see whether the position beat holding. The break-even figure is simply the size of the loss.

Read next

Tools