Impermanent loss in DeFi is the gap between what you would have earned by simply holding two tokens and what you actually end up with after providing them to a liquidity pool. It happens because automated market makers rebalance your position as prices move, leaving you with more of the token that fell and less of the token that rose. The loss is "impermanent" only because it disappears if prices return to where you started, and it becomes very permanent the moment you withdraw.
If you are weighing whether to put tokens into a liquidity pool, this is the one concept that decides whether you come out ahead. Most explanations throw a formula at you and move on. This guide does the opposite: it shows you the intuition, walks a real dollar comparison of holding versus providing liquidity, and then factors in the fees that actually determine whether you win.
What Is Impermanent Loss in DeFi, Really?#
When you provide liquidity to an automated market maker (AMM) like Uniswap, you deposit two tokens in equal value, say ETH and USDC. The pool uses a constant product formula (x times y equals k) to set prices. As traders swap against your pool, the ratio of the two tokens shifts, and the AMM automatically sells whichever token is appreciating and buys whichever is depreciating.
That auto-rebalancing is the root of impermanent loss. You end up holding more of the underperformer and less of the outperformer than if you had just kept both tokens in your wallet. Impermanent loss is the dollar difference between those two outcomes.
Key point: impermanent loss is not a fee, a hack, or a bug. It is the built-in cost of letting an algorithm rebalance your two-token position every time the price moves. The bigger the price divergence, the bigger the gap.
The word "impermanent" trips people up. The loss only reverses if the price ratio returns to exactly where it was when you deposited. If you withdraw while the prices are still diverged, you lock in the loss for good. So treat "impermanent" as "unrealized," not "harmless."
Why it is also called divergence loss#
A more honest name is divergence loss, because the loss scales with how far the two token prices diverge from each other. If both tokens move up or down by the same percentage, their ratio stays the same and there is zero impermanent loss. The damage comes purely from one token outperforming the other.
This is why stablecoin pairs (USDC and USDT, for example) carry almost no impermanent loss. Two assets pegged to the same dollar value rarely diverge, so the AMM barely has to rebalance.
The Impermanent Loss Formula#
Here is the formula most articles bury. For a standard 50/50 constant product pool, impermanent loss as a percentage depends only on the price ratio change, which we call r (the new price divided by the old price for one token relative to the other):
IL = (2 * sqrt(r)) / (1 + r) - 1
The result is always negative or zero, representing how much less your liquidity position is worth compared with holding. A few reference points make the formula concrete:
| Price change of one token vs the other | Impermanent loss |
|---|---|
| 1.25x (up 25%) | about 0.6% |
| 1.5x (up 50%) | about 2.0% |
| 2x (doubled) | about 5.7% |
| 3x (tripled) | about 13.4% |
| 4x (quadrupled) | about 20.0% |
| 5x (5x'd) | about 25.5% |
Notice two things. First, the loss is symmetric: a token halving (0.5x) produces the same percentage loss as it doubling (2x). Second, the curve is gentle at first and steep later. Small moves barely cost you. Large divergence hurts a lot.
Warning: these percentages are the loss versus holding, before fees. They are not the loss versus your deposit. If both tokens triple together, your position triples in value and your impermanent loss is still zero, because their ratio never changed.
A Worked Example: HODL vs LP in Dollars#
Percentages are abstract. Let us run actual numbers, because the HODL-vs-LP dollar comparison is exactly what current top results skip and what you need to make a real decision.
Suppose you deposit into an ETH/USDC pool when ETH is $2,000:
- You provide 1 ETH ($2,000) and 2,000 USDC.
- Total deposit value: $4,000.
Now ETH doubles to $4,000. Here is what each path looks like.
Path A: You just held (HODL)#
- 1 ETH is now worth $4,000.
- 2,000 USDC is still $2,000.
- Total: $6,000.
Path B: You provided liquidity#
The AMM rebalanced your position as ETH climbed. Because ETH doubled (r = 2), the constant product math leaves you holding roughly 0.707 ETH and about 2,828 USDC:
- 0.707 ETH at $4,000 = $2,828.
- 2,828 USDC = $2,828.
- Total: $5,657 (before fees).
The difference is $6,000 minus $5,657, which is $343, or about 5.7% of the HODL value. That $343 is your impermanent loss in dollars, and it matches the formula's 2x row exactly.
The reason is intuitive once you see it. As ETH rose, the pool kept selling your ETH to arbitrage traders to maintain the 50/50 value balance. You sold the winner on the way up, so you captured less of its gain than a holder did.
Why Fees Are the Other Half of the Story#
Here is the part that flips the verdict for a lot of pools. Impermanent loss is only one side of the ledger. The other side is the trading fees you earn as a liquidity provider, plus any incentive rewards the protocol pays.
Every swap in your pool pays a fee (commonly 0.05% to 1% depending on the pool tier), and that fee is split among liquidity providers in proportion to their share. In a high-volume pool, those fees compound and can more than cover the impermanent loss.
The real question is never "will I have impermanent loss" (you almost always will if prices move). The real question is:
Will my accumulated fees plus rewards exceed my impermanent loss over my holding period?
In the example above, you "lost" $343 to divergence. If that pool paid you $500 in trading fees and rewards over the same window, you came out $157 ahead of holding. If it paid you $150, you came out behind. That is the entire calculation that matters, and it is why blindly chasing the highest advertised APR is a trap. To run that comparison on a specific pool, plug your deposit, expected fee yield, and price scenarios into our free DeFi yield calculator and see the net result instead of guessing.
What "net of impermanent loss" really means#
When you see a pool's true return, you want it net of impermanent loss:
Net return = trading fees + rewards - impermanent loss - gas costs
A pool advertising 40% APR that suffers 25% impermanent loss because its two tokens diverged wildly might net you 15%, or it might net you nothing once gas is included. Always model the full equation, not the headline yield.
How to Calculate Impermanent Loss Step by Step#
You do not need to memorize the formula. You need a repeatable process. Here is the exact sequence to estimate impermanent loss for any 50/50 pool before or after you enter.
Step 1: Record your entry prices#
Write down the price of both tokens at the moment you deposit. For an ETH/USDC pool, that is just the ETH price (USDC is the dollar reference). For a two-volatile pool like ETH/WBTC, record both. This is your baseline ratio.
Step 2: Find the price ratio change#
Divide the current (or projected) price of each token by its entry price, then take the ratio of those two changes. If ETH went from $2,000 to $4,000 and the other token did not move, your r is 2. If both tokens moved together, r stays near 1 and impermanent loss stays near zero.
Step 3: Apply the formula or read the table#
Plug r into IL = (2 * sqrt(r)) / (1 + r) - 1, or just read the reference table above. For r = 2, you get -5.7%. Multiply that percentage by your position's HODL value to get the dollar loss.
Step 4: Subtract the loss from your fee earnings#
Pull your accumulated fees and rewards from the pool dashboard, then subtract your impermanent loss and any gas spent. If the result is positive, providing liquidity beat holding. If negative, you would have been better off in your wallet. Running this in our yield calculator automates the arithmetic and lets you test several price scenarios at once.
How to Avoid or Reduce Impermanent Loss#
You cannot eliminate impermanent loss in a standard volatile pool, but you can shrink it dramatically with the right pool choice and strategy. These are the levers that actually move the outcome.
- Use correlated or stablecoin pairs. USDC/USDT, DAI/USDC, or stETH/ETH barely diverge, so impermanent loss is near zero. You earn fees with minimal divergence risk, at the cost of lower headline yield.
- Pick high-volume, high-fee pools. Fee income is your defense. A pool with heavy daily volume can out-earn divergence even on volatile pairs. Low-volume pools give you all the impermanent loss and few fees to offset it.
- Prefer shorter, range-bound markets. Impermanent loss is worst during a strong trend in one token. In choppy, sideways markets, the price keeps reverting toward your entry ratio, which keeps your loss small.
- Consider concentrated liquidity carefully. Uniswap v3 style concentrated positions boost fee capture inside a chosen range but amplify impermanent loss if price exits that range. Higher reward, higher risk, and active management required.
- Look at single-sided or IL-protected pools. Some protocols offer single-asset staking or compensate liquidity providers for impermanent loss after a minimum lock period. Read the terms, because the protection is often partial and time-gated.
Tip: the simplest rule of thumb is that impermanent loss is acceptable when the two tokens are highly correlated, the pool volume is high, and you plan to stay long enough for fees to accumulate. Break any of those three and reconsider.
A quick decision checklist#
Before depositing into any pool, ask:
- How correlated are these two tokens? (More correlated means less impermanent loss.)
- What is the pool's recent fee yield versus the divergence I expect?
- How long do I plan to stay, and can fees accumulate in that window?
- What does the position net out to after gas, and after any tax on the swaps the AMM makes on my behalf?
That last point matters more than people realize. The rebalancing swaps inside a pool, and your eventual withdrawal, can be taxable events depending on your jurisdiction. If you are providing liquidity at any meaningful size, track those events with a crypto tax calculator so the bill does not surprise you in April. Pair that with a compound interest calculator when you want to project how accumulated fees stack up against simply holding over months or years.
Common Misconceptions About Impermanent Loss#
A few myths cause real money mistakes, so let us clear them up directly.
"Impermanent loss means I lose money." Not necessarily. You can have impermanent loss and still profit, if both tokens rose and fees were strong. Impermanent loss is loss relative to holding, not loss relative to your deposit.
"Stablecoin pools have no risk." They have minimal impermanent loss, but smart contract risk, depeg risk, and protocol risk are all still real. Low divergence is not zero risk.
"A high APR pool is always better." A 200% APR pool on two wildly volatile, uncorrelated tokens can lose to a 10% APR stablecoin pool once impermanent loss is subtracted. Net return is what counts.
"It is permanent only if I withdraw." Correct, and that is the trap. People hold a losing liquidity position waiting for prices to revert, while the opportunity cost and risk keep growing. Reversion is not guaranteed.
The Bottom Line on Impermanent Loss#
So, what is impermanent loss in DeFi? It is the unavoidable cost of letting an automated market maker rebalance your two-token position as prices diverge, measured against simply holding the tokens. It grows with divergence, reverses only if prices return to your entry ratio, and turns permanent the instant you withdraw.
The practical takeaway is that impermanent loss is not a reason to avoid liquidity provision. It is a number you must weigh against the fees and rewards you earn. Pick correlated pairs or high-volume pools, model the full equation (fees plus rewards minus impermanent loss minus gas), and run real price scenarios before you deposit. Do that, and you turn a feared concept into a manageable line item. Skip it, and you are gambling on price reversion you cannot control.
Frequently Asked Questions#
What is impermanent loss in DeFi in simple terms? It is the difference between what you would have earned by holding two tokens versus depositing them in a liquidity pool. As prices diverge, the automated market maker rebalances your holdings, leaving you with more of the loser and less of the winner. The gap versus holding is your impermanent loss, and it only becomes permanent when you withdraw.
Is impermanent loss real money lost? It is real, but it is loss relative to holding, not necessarily an absolute loss. If both tokens rose and your trading fees were high, you can still finish in profit despite impermanent loss. The honest comparison is always your final liquidity position value versus what you would have had by just keeping the tokens, after fees and rewards.
How do I calculate impermanent loss?
Find the price ratio change r between your two tokens (new price divided by entry price for each, then their ratio), then apply IL = (2 * sqrt(r)) / (1 + r) - 1. Multiply that percentage by your position's hold value for the dollar figure. A free yield calculator does this instantly and lets you test multiple price scenarios at once.
How can I avoid impermanent loss? You cannot fully avoid it in a volatile pool, but you can minimize it by using correlated or stablecoin pairs, choosing high-volume high-fee pools so fees offset divergence, and staying long enough for fees to accumulate. Some protocols also offer single-sided staking or impermanent loss protection after a lock period, though that coverage is usually partial.
Do stablecoin pools have impermanent loss? Almost none, because both assets track the same value and rarely diverge, so the automated market maker barely rebalances. Stablecoin pools like USDC/USDT are the lowest impermanent loss option, which is why they suit risk-averse liquidity providers. They still carry smart contract and depeg risk, so low divergence does not mean zero risk.
Does impermanent loss go away if I wait? Only if the two token prices return to the exact ratio they had when you deposited. If they revert, the loss reverses and your position recovers. If prices stay diverged or move further apart, the loss persists, and it locks in permanently the moment you withdraw, so waiting for reversion is a bet, not a guarantee.



