Two people each start with 1 ETH and some USDC. One deposits them into a liquidity pool; the other keeps them in a wallet. ETH then rises, and both portfolios gain value—but the liquidity provider earns less. How does the gap appear when both started with the same assets? And how much can trading fees make up for it?
Key takeaways
Impermanent loss (IL) is the shortfall in a liquidity position's value compared with simply holding the same batch of tokens. The calculation uses the same time and the same unit of account on both sides. Even if the liquidity position is worth more than the initial deposit, the gap appears whenever holding as-is would be worth more at the end. See also Uniswap Labs' explanation of impermanent loss.
Why does providing liquidity earn less?
Take an ETH/USDC constant product pool. When ETH rises against USDC in the external market while ETH in the pool is temporarily cheaper, arbitrageurs can buy ETH from the pool with USDC. As trades proceed, ETH in the pool decreases and USDC increases, and the pool price gradually moves toward the external market.
The number of tokens a liquidity provider (LP) can withdraw changes with the pool's reserves. Someone holding as-is still has the original amount of ETH, while the LP position now has less ETH, so it participates less in the ETH rally.

Why is it called "impermanent"?
As long as the original position remains in the pool, the gap can change with the price ratio. In the fee-free standard model, if the relative price of the two tokens returns to the level at deposit, the theoretical impermanent loss returns to zero. If liquidity is withdrawn first, the token mix received at that moment is fixed, and later pool trades will no longer adjust that withdrawn position.
First, confirm the formula's conditions
The formula below applies to a two-asset, initially equal-value, full-range constant product pool. The example assumes the pool price has adjusted to the market price being compared and excludes trading fees, rewards, and gas fees.
Price change multiple r = ending relative price ÷ initial relative price
Impermanent loss = [1 − (2 × √r) ÷ (1 + r)] × 100%
Here a positive value represents the loss. Some sources write the expression inside the brackets as (2 × √r) ÷ (1 + r) − 1, using a negative value to represent the liquidity position's performance gap versus holding as-is. See DeFiPy's formula and derivation for details.
From 1 ETH + 2,000 USDC to the ending gap
Suppose you start with 1 ETH and 2,000 USDC, and the ETH price rises from 2,000 USDC/ETH to 4,000 USDC/ETH. This is a teaching example; both approaches use the same ending price and are valued in USDC.
| Approach | Ending token amounts | Ending value |
|---|---|---|
| Hold as-is | 1 ETH + 2,000 USDC | 6,000.00 USDC |
| Provide liquidity, excluding fees | About 0.707107 ETH + 2,828.427125 USDC | About 5,656.85 USDC |
Using unrounded figures, the LP position is short by about 343.15 USDC. Dividing this gap by the 6,000 USDC from holding as-is at the end gives about 5.72%. Both approaches gained value from the starting point. The 5.72% here measures how much the two approaches differ at the end.

Seeing two tokens in a liquidity pool is not enough—you also need to confirm how it prices them and whether your position has a price range. Even for the same ETH/USDC pair, different pool types may return different token amounts after a price change.
| Pool type | What to look at in the calculation |
|---|---|
| 50/50 full-range constant product pool | The change in the relative price of the two tokens. Under the assumptions above, the standard formula applies. |
| Concentrated liquidity position | The price at deposit, the upper and lower bounds of the selected range, and the ending price. |
| Non-equal-weight weighted pool | Each token's weight and the change in relative price, such as a Balancer weighted pool. |
| Pool using a stable asset curve | The pricing curve used by the protocol, pool balances, and relevant parameters. |
Take Uniswap v3/v4 as an example. When the price moves outside your chosen range, the liquidity position holds only one of the tokens and stops accumulating new trading fees. Only after the price returns to the range does the position's liquidity participate in trading again. When calculating such positions, the upper and lower bounds of the range affect the ending token amounts.

After using the impermanent loss calculation to estimate the gap caused by price changes, you can assess it in two steps. First, see how much relative price exposure the pair and pool type create; then see how much actual fee income can offset it.
| Approach | Effect | Still watch for |
|---|---|---|
| Assess the relative price of the two tokens | Under the same model, a smaller change in relative price usually means smaller theoretical impermanent loss. | Two tokens with similar past performance can still diverge later due to a depeg or other events. |
| Choose a wider range for concentrated liquidity | The price must move farther to leave the range, so the position can participate in trading across a wider price range. | The same capital is spread across a wider price range, reducing liquidity density near the current price. |
| Compare ending value using actual fees and costs | Fees and rewards already earned can offset part or all of the gap. | Displayed annualized yields change, and on-chain costs of entering, exiting, and adjusting positions must also be considered. |
When comparing, estimate the value of the withdrawable position at the same point in time, add fees and rewards not yet included, subtract related costs, and finally compare with the value of holding as-is. If fees are already reflected in the withdrawable value, use that value directly. See Uniswap's liquidity and fees overview and Uniswap's liquidity risk explanation for details.
Q1. If the price returns to its starting point, does impermanent loss disappear?
If the original position is still in the pool and the relative price of the two tokens returns to the level at deposit, the theoretical gap in the standard model returns to zero. Looking only at one token's USD price is not enough to tell whether the price ratio between the two has returned to its starting point.
Q2. If both tokens rise or fall together, can there still be impermanent loss?
If both tokens rise or fall by the same percentage, the relative price stays the same, and the theoretical gap in the standard model is zero. If their percentage changes differ, the relative price still changes, even if they move in the same direction.
Q3. Will a concentrated liquidity position be liquidated if it goes out of range?
For a Uniswap v3/v4 liquidity position alone, moving out of range does not trigger liquidation. The position converts to a single token and stops accumulating new trading fees until the price returns to the range.
Q4. Can stablecoin pools also have impermanent loss?
Yes. When both stablecoins stay pegged, their relative price is usually close. Once one depegs, the price ratio and the pool's token composition can change at the same time, and the position may accumulate more of the depreciating side.
When assessing a liquidity position, first confirm the pool type, then compare "providing liquidity" and "holding as-is" using the same ending price. After calculating the gap between them, include the fees, rewards, and on-chain costs actually incurred—only then can you tell whether providing liquidity beat holding as-is over that period.
Risk warning: This article is for educational and informational purposes only and does not constitute investment advice. The impermanent loss examples are based on specific pool types and price assumptions and should not be used as a basis for buying, selling, using leverage, or providing liquidity. Crypto asset prices are highly volatile, and liquidity positions may also lose principal due to depegs or smart contract risks. Make decisions according to your own risk tolerance and consult a professional advisor if needed.