PublicSoftTools
Intermediate12 min read·PublicSoftTools Team·July 2026

Impermanent Loss Explained: How It Works and How to Limit It

Providing liquidity in DeFi can earn attractive fees — but it comes with a cost that catches newcomers off guard: impermanent loss. It is the gap between providing liquidity and simply holding your assets, and it grows as prices move apart. This guide explains what causes it, the formula behind it, exactly how large it gets, and how to limit it.

What Is Impermanent Loss?

Impermanent loss is the difference in value between providing two assets to a liquidity pool and just holding those same two assets in your wallet. When you deposit into an automated market maker (AMM) pool, the protocol constantly rebalances your position to keep the two assets in the right ratio. As their prices diverge, that rebalancing leaves you with less of the asset that rose and more of the one that fell — so your position ends up worth less than if you had done nothing.

It is called "impermanent" because the loss is only on paper until you withdraw. If the two prices return to their original ratio, the loss disappears. It becomes permanent the moment you exit the pool.

Why It Happens: The AMM Mechanism

A standard AMM pool holds two assets and keeps the product of their quantities constant (the "x × y = k" formula). When one asset's price rises, arbitrage traders buy it from the pool until the pool's price matches the market. That trading drains the appreciating asset out of your position and adds more of the other one. You are, in effect, automatically selling the winner and buying the loser — the opposite of what a holder does.

The Formula and How Big It Gets

For a standard 50/50 pool, impermanent loss depends only on the ratio of the two assets' price changes. If that ratio is k, the pool value relative to holding is 2√k ÷ (1 + k), and impermanent loss is that figure minus one. What matters is how far the two assets diverge — here is the loss for a single asset moving against a stablecoin:

Price change of the volatile assetImpermanent loss
+25%−0.6%
+50%−2.0%
+100% (2×)−5.7%
+300% (4×)−20.0%
−50%−5.7%

Two things stand out. First, the loss is symmetric — a 50% fall produces the same impermanent loss as a 100% rise, because both represent the same divergence. Second, it grows non-linearly: small moves cost almost nothing, but large divergences become severe. Model your own pair with the Impermanent Loss Calculator.

Fees Are the Other Side of the Ledger

Impermanent loss is only half the story. As a liquidity provider you earn a share of every trade the pool executes, plus any token incentives. Liquidity provision is profitable when those fees and rewards exceed the impermanent loss over your holding period. A high-volume pool can generate enough fees to more than offset moderate impermanent loss; a low-volume pool may not. Always weigh the expected fees against the loss the calculator shows — the loss figure alone does not tell you whether providing liquidity was a good decision.

How to Limit Impermanent Loss

If yield is your goal but impermanent loss is a deterrent, compare it with staking, which earns rewards without the divergence risk, or with lending against collateral — see the Crypto Loan Calculator for how that side works.

Frequently Asked Questions

Is impermanent loss a real loss?

It is a real opportunity cost versus holding, and it becomes an actual realized loss when you withdraw while prices have diverged. If you also earned more in fees than the impermanent loss, your net result can still be positive.

Can I avoid impermanent loss entirely?

Only by not providing liquidity to a divergent pair. Stablecoin-to-stablecoin pools come closest to zero, and correlated pairs minimize it, but any 50/50 pool with divergence will have some.

How do I calculate impermanent loss for my position?

Enter each asset's price change into the Impermanent Loss Calculator. It shows the loss in percent and, if you add a deposit value, in dollars versus simply holding.

Calculate Impermanent Loss

Enter each asset's price change to see the impermanent loss versus holding — in percent and dollars.

Open the Impermanent Loss Calculator
Educational purposes only. Not financial advice. DeFi liquidity provision carries impermanent loss plus smart-contract and protocol risks that can exceed it.