
Impermanent loss is one of the most important concepts to understand before interacting with DeFi liquidity pools. The name sounds complicated, but the idea is easier than it looks: impermanent loss happens when a liquidity pool position becomes worth less than simply holding the same tokens in a wallet.
In this article, we will explain what impermanent loss is, why it happens, how it is calculated, and how it works inside a hypothetical rBTC/DOC liquidity pool example.
The rBTC/DOC examples used below are purely educational. They do not represent real market prices, real liquidity pool conditions, real APYs, or any recommendation to use a specific asset, protocol, exchange, or DeFi strategy.
This article is for informational purposes only and should not be understood as financial advice.
Impermanent loss: The difference between the value of a liquidity pool position and the value the same tokens would have had if they were simply held.
Liquidity pool: A pool of tokens locked in a smart contract so users can trade without needing a traditional buyer and seller order book.
Liquidity provider: A user who deposits tokens into a liquidity pool.
AMM: Automated Market Maker. A system that prices trades using formulas instead of a traditional order book.
HODL: Holding crypto assets instead of selling, trading, or depositing them into a DeFi strategy.
Price ratio: The relationship between the prices of the two assets in a liquidity pool.
Trading fees: Fees paid by users who swap tokens through a liquidity pool.
LP position: The share of the liquidity pool owned by a liquidity provider.
rBTC/DOC example: In this article, rBTC and DOC are used only as hypothetical token labels to explain impermanent loss clearly.
Impermanent loss is the difference between two outcomes:
If the liquidity pool position becomes worth less than the hold-only position, the difference is called impermanent loss.
For example, imagine someone deposits rBTC and DOC into a 50/50 liquidity pool. If the price of rBTC changes compared to DOC, the pool automatically adjusts the balance between both assets. Because of that adjustment, the liquidity provider may end up with a different amount of rBTC and DOC than they originally deposited.
That difference can cause the liquidity pool position to perform worse than simply holding the original tokens.
The important detail is this: impermanent loss does not always mean the user lost money compared to the initial deposit. It means the user has less value than they would have had by simply holding.
It is called “impermanent” because the loss can change while the assets remain inside the pool.
If the price ratio between the two assets returns to the same level as when the liquidity was deposited, the impermanent loss may disappear.
However, if the liquidity provider withdraws while the price ratio is still different, the loss becomes realized.
That is why impermanent loss is often easier to understand as a relative loss or opportunity cost. It compares the liquidity pool result against the result of simply holding.
Most simple liquidity pool examples use a 50/50 pool. That means the user deposits equal value of two tokens.
In our educational example, imagine a liquidity provider deposits:
| Asset | Amount | Hypothetical Price | Value |
|---|---|---|---|
| rBTC | 1 rBTC | 100,000 DOC | 100,000 DOC |
| DOC | 100,000 DOC | 1 DOC | 100,000 DOC |
The total hypothetical deposit value is:
200,000 DOC
At the moment of deposit, the user has equal value on both sides of the pool:
Now imagine the price of rBTC changes. The liquidity pool does not keep the user’s original token amounts fixed. Instead, the pool adjusts as traders interact with it.
This is where impermanent loss appears.
Let’s continue with the same hypothetical numbers.
Initial position:
| Asset | Amount | Hypothetical Price | Value |
|---|---|---|---|
| rBTC | 1 rBTC | 100,000 DOC | 100,000 DOC |
| DOC | 100,000 DOC | 1 DOC | 100,000 DOC |
Initial total value:
200,000 DOC
Now suppose rBTC doubles in price.
New hypothetical price:
1 rBTC = 200,000 DOC
If the user simply held the tokens, the position would be:
| Asset | Amount | New Hypothetical Price | Value |
|---|---|---|---|
| rBTC | 1 rBTC | 200,000 DOC | 200,000 DOC |
| DOC | 100,000 DOC | 1 DOC | 100,000 DOC |
The HODL value would be:
300,000 DOC
But inside a liquidity pool, the position changes. Because the pool rebalances, the liquidity provider no longer has exactly 1 rBTC and 100,000 DOC.
The LP position could approximately represent:
| Asset | Approx. Amount | New Hypothetical Price | Value |
|---|---|---|---|
| rBTC | 0.7071 rBTC | 200,000 DOC | 141,420 DOC |
| DOC | 141,420 DOC | 1 DOC | 141,420 DOC |
The liquidity pool position is now worth approximately:
282,840 DOC
Now compare both outcomes:
| Strategy | Value |
|---|---|
| Holding rBTC and DOC | 300,000 DOC |
| Providing liquidity | 282,840 DOC |
Difference:
300,000 DOC - 282,840 DOC = 17,160 DOC
That difference is the impermanent loss.
In percentage terms, the liquidity pool position is approximately 5.72% lower than the HODL position, before considering trading fees or any other variables.
This is where many people get confused.
In the example above, the original deposit was worth:
200,000 DOC
After rBTC doubled, the liquidity pool position was worth:
282,840 DOC
So the LP position increased in value.
However, simply holding would have produced:
300,000 DOC
So impermanent loss does not necessarily mean the user lost money compared to the starting point. It means the liquidity pool position performed worse than holding the same assets.
That is why impermanent loss is best understood as a comparison.
Impermanent loss can also happen when the price falls.
Let’s start again with the same hypothetical deposit:
| Asset | Amount | Hypothetical Price | Value |
|---|---|---|---|
| rBTC | 1 rBTC | 100,000 DOC | 100,000 DOC |
| DOC | 100,000 DOC | 1 DOC | 100,000 DOC |
Initial total value:
200,000 DOC
Now suppose rBTC falls by 50%.
New hypothetical price:
1 rBTC = 50,000 DOC
If the user simply held the tokens, the position would be:
| Asset | Amount | New Hypothetical Price | Value |
|---|---|---|---|
| rBTC | 1 rBTC | 50,000 DOC | 50,000 DOC |
| DOC | 100,000 DOC | 1 DOC | 100,000 DOC |
The HODL value would be:
150,000 DOC
But in the liquidity pool, the position is rebalanced. The LP position could approximately represent:
| Asset | Approx. Amount | New Hypothetical Price | Value |
|---|---|---|---|
| rBTC | 1.4142 rBTC | 50,000 DOC | 70,710 DOC |
| DOC | 70,710 DOC | 1 DOC | 70,710 DOC |
The liquidity pool position is now worth approximately:
141,420 DOC
Now compare both outcomes:
| Strategy | Value |
|---|---|
| Holding rBTC and DOC | 150,000 DOC |
| Providing liquidity | 141,420 DOC |
Difference:
150,000 DOC - 141,420 DOC = 8,580 DOC
Again, the liquidity pool position performs worse than simply holding the original assets.
Impermanent loss happens because liquidity pools rebalance automatically.
In a simple 50/50 AMM pool, the pool tries to maintain a relationship between the two assets. When one asset becomes more expensive compared to the other, traders interact with the pool until the pool price reflects the new market price.
As this happens, the liquidity provider’s asset balance changes.
In the rBTC/DOC example:
That automatic rebalancing is what creates impermanent loss.
The user does not keep the exact same amount of each token. They keep a share of the pool, and the pool’s internal balance changes as prices move.
For a standard 50/50 liquidity pool, the common impermanent loss formula is:
Impermanent Loss = 2 × √price ratio / (1 + price ratio) - 1
The price ratio is:
New price ÷ original price
For example, if rBTC doubles against DOC:
Price ratio = 2
The calculation is:
2 × √2 / (1 + 2) - 1
That equals approximately:
-5.72%
The negative sign means the liquidity pool position is worth around 5.72% less than simply holding the original tokens.
This formula applies to a simplified 50/50 constant product AMM model. Different pool designs may behave differently.
Here is a simple reference table for a hypothetical 50/50 liquidity pool before trading fees:
| Price Movement | Approx. Impermanent Loss |
|---|---|
| 1.25x | 0.6% |
| 1.5x | 2.0% |
| 2x | 5.7% |
| 3x | 13.4% |
| 4x | 20.0% |
| 5x | 25.5% |
The larger the price movement between the two assets, the larger the impermanent loss.
The direction of the movement is not the main issue. What matters is how much the price ratio changes.
No.
Impermanent loss can happen when prices go up or down.
If rBTC rises strongly compared to DOC, the liquidity pool position can underperform holding.
If rBTC falls strongly compared to DOC, the liquidity pool position can also underperform holding.
This is because impermanent loss is caused by price divergence between the two assets, not only by a price decrease.
That is one of the most important points to understand. A token can rise in price, and the liquidity pool position can still suffer impermanent loss compared to holding.
Impermanent loss and regular loss are not the same thing.
A regular loss means the value of the position is lower than the original deposit.
Impermanent loss means the position is lower than the value of simply holding the same assets.
For example:
| Situation | Meaning |
|---|---|
| LP value is lower than initial deposit | Regular loss |
| LP value is higher than initial deposit but lower than HODL | Impermanent loss |
| LP value is higher than HODL | LP strategy outperformed holding |
In many impermanent loss examples, the user may still be in profit compared to the original deposit. The issue is that the user would have done better by holding.
Trading fees can change the final result.
Liquidity providers may receive a portion of the fees generated by trades in the pool. These fees can reduce or offset impermanent loss.
However, fees are not guaranteed to fully compensate for impermanent loss.
A simplified way to think about the final result is:
Final LP result = pool value + trading fees - impermanent loss - other costs
For example, in a hypothetical rBTC/DOC pool:
But if:
This is only a simplified educational explanation. Real results depend on pool design, trading volume, price movement, fees, timing, and other variables.
High APY does not automatically mean a liquidity pool is profitable.
A pool may display a high APY, but the final outcome can still be affected by:
This is why impermanent loss is important. Without understanding it, a user may see a high APY and assume the strategy is simple, when the actual result depends on several moving parts.
In educational terms, the headline yield is only one part of the equation. The other part is how the value of the LP position changes compared to holding.
Impermanent loss becomes more significant when the two assets in a pool move differently.
In the hypothetical rBTC/DOC example, rBTC is treated as the changing asset and DOC as the stable unit of account. If rBTC moves sharply up or down, the price ratio changes, and impermanent loss can appear.
In general, pools with highly volatile pairs tend to have higher impermanent loss risk than pools where both assets move in a similar way.
For example:
| Type of Pair | Typical Impermanent Loss Behavior |
|---|---|
| Stable asset / stable asset | Usually lower price divergence |
| Similar assets | Usually lower price divergence |
| Volatile asset / stable asset | Can have significant divergence |
| Two unrelated volatile assets | Can be harder to predict |
This does not mean one type of pool is good or bad. It simply means the price relationship between the assets matters.
Yes, impermanent loss can decrease or disappear if the price ratio returns to the original level.
Imagine this hypothetical sequence:
In this simplified case, the impermanent loss caused by the price movement may disappear if the liquidity remains in the pool.
However, if the user withdraws while the price ratio is still different, the impermanent loss becomes realized.
That is why the timing of withdrawal matters in liquidity pool outcomes.
Impermanent loss is not automatically good or bad. It is a risk that comes with providing liquidity.
In some scenarios, trading fees may compensate for impermanent loss. In other scenarios, they may not.
The educational point is not that liquidity providing is always worse than holding. The point is that liquidity providing and holding are different strategies with different outcomes.
Holding keeps the original token amounts.
Providing liquidity gives exposure to a pool position that changes over time.
That difference is exactly why impermanent loss exists.
Here is a simple comparison:
| Strategy | What Happens |
|---|---|
| Holding | The user keeps the same amount of each token |
| Providing liquidity | The user owns a share of a pool that rebalances |
| Holding during a price rise | The user keeps full exposure to the rising token |
| LP during a price rise | The pool may reduce exposure to the rising token |
| Holding during a price fall | The user keeps the same amount of the falling token |
| LP during a price fall | The pool may increase exposure to the falling token |
This is why liquidity pool positions can feel unintuitive at first.
The user deposits two tokens, but the pool does not preserve the exact original balance. It preserves a share of the pool.
Impermanent loss is measured against holding, not only against the original deposit.
APY does not show the full result. Impermanent loss, fees, token movement, and timing also matter.
Fees can help, but they do not always fully offset the difference.
A liquidity provider owns a changing pool position, not a fixed amount of each token.
Impermanent loss changes while the position remains in the pool. It becomes realized when the liquidity is withdrawn.
Impermanent loss depends on how much the price relationship between the two assets changes.
Before analyzing any liquidity pool, it helps to ask educational questions like:
These questions do not tell anyone what to do. They simply help explain why liquidity pool returns can be different from holding tokens.
Impermanent loss is one of the core mechanics behind AMM liquidity pools. It appears when the price ratio between two deposited assets changes and the liquidity pool position ends up worth less than simply holding the same tokens.
The hypothetical rBTC/DOC example shows this clearly. If rBTC doubles, the LP position can still increase in value, but it may increase less than the HODL position. If rBTC falls, the LP position can also underperform holding because the pool rebalances into a different token mix.
That is why impermanent loss should not be understood as a simple “loss of money.” It is better understood as a comparison between two paths: holding tokens or providing liquidity.
A liquidity pool position may be affected by price movement, trading fees, pool design, timing, volatility, and other variables. Understanding impermanent loss helps users read DeFi examples more clearly and avoid confusing headline APY with actual comparative performance.