Are you Working or Wants to learn Share market in Weekends?? Join! Online Live batch start from 31st OCT 2026.    Use Discount Code = NIFM025
Click For Details Now

Blog

Cryptocurrency

Impermanent Loss Explained: The Math AMM Traders Miss

Posted by NIFM Editorial Team

You deposit two tokens into a liquidity pool, the dashboard shows a juicy fee APR, and it feels like free money. Then you withdraw weeks later and find you hold less value than if you had simply kept the coins in your wallet. That gap has a name: impermanent loss. It is the single most misunderstood cost in decentralised finance, and almost every first-time liquidity provider underestimates it. This article explains the automated market maker (AMM) mechanic that causes it, derives the exact loss numbers at a 2x and a 5x price move, and shows the one situation where trading fees genuinely win.

5.7%
loss vs holding when price doubles
25.5%
loss vs holding at a 5x move
0%
loss if price returns to your entry

What impermanent loss really means for a liquidity provider

Impermanent loss is the difference between the value of tokens sitting in an AMM liquidity pool and the value of those same tokens had you simply held them. It appears whenever the two assets in the pool change in price relative to each other. The bigger the divergence, the bigger the loss.

The word "impermanent" is doing a lot of work. The loss is only locked in when you withdraw. If the price ratio of the two tokens drifts away and then drifts back to exactly where you deposited, the loss vanishes. In practice prices rarely return to the exact entry ratio, so the loss usually becomes very real the moment you pull your liquidity.

This is not a bug or an exploit. It is the mathematically guaranteed consequence of how an AMM rebalances your pool on every trade. A pool is not a passive basket; it is an engine that is constantly selling whichever token is rising and buying whichever token is falling. That mechanism is the source of the fees you earn, and it is also the source of impermanent loss. The two are inseparable, which is why understanding the trade-off matters before you commit a rupee. If you want this foundation built properly rather than pieced together from scattered threads, a structured cryptocurrency and crypto-trading course compresses the concepts into a sequence that actually sticks.

How an AMM prices a swap: the constant-product formula

Centralised exchanges match buyers and sellers through an order book. An AMM does away with the order book entirely. Instead it uses a formula to quote a price from whatever sits in the pool. The most common one, used by the Uniswap constant-product model, is beautifully simple:

x × y = k — the product of the two reserves never changes.

Here x is the amount of one token in the pool, y is the amount of the other, and k is a constant. The price of token X, measured in token Y, is simply y divided by x. When a trader buys X from the pool, x falls and y rises, so the price of X goes up along a curve. The pool never runs out and never refuses a trade; it just quotes a worse price as reserves deplete.

This is the same plumbing that powers decentralised exchanges, which we contrasted with centralised venues in our explainer on the difference between a CEX and a DEX. If the whole idea of pooled, permissionless markets is new to you, start with our primer on how decentralised finance works.

Every swap forces the pool to rebalance along the x × y = k curve

1. Trader adds token X to the pool
2. Pool removes token Y to keep k fixed
3. Price of X rises; your mix shifts

Source: Uniswap constant-product model, 2026.

Notice what step three does to you as a liquidity provider. As X rises, the pool keeps selling your X and accumulating the weaker token. You end up holding more of the loser and less of the winner — the exact opposite of what a buy-and-hold investor would want. That silent rebalancing is impermanent loss in motion.

The impermanent loss math every AMM trader should know

You do not need to trust a table on a blog. The loss is a closed-form function of one variable: how far the price has moved. For a standard 50/50 constant-product pool, the formula is:

Impermanent loss = ( 2 × √r ) / ( 1 + r ) − 1

Here r is the price ratio — the new price of the asset divided by its price when you deposited. Plug in a few values and the picture becomes stark. A crucial property: the formula is symmetric, so a token doubling (r = 2) and a token halving (r = 0.5) produce the identical loss. Direction does not matter; divergence does.

Impermanent loss accelerates as the price diverges from your entry

±25% move 0.6% ±50% move 2.0% 2x (or halve) 5.7% 3x move 13.4% 4x move 20.0% 5x (or ÷5) 25.5%

Source: derived from the constant-product IL formula, 2026.

The shape is the lesson. A modest 25% wobble costs you barely half a percent — trivial. But the loss does not grow in a straight line; it curves upward. By the time an asset has gone 5x, the AMM has quietly handed you a 25.5% shortfall versus simply holding. For a volatile altcoin, a 5x in either direction over a few months is not exotic. This is why providing liquidity on a highly volatile pair is, in effect, a bet that the price will stay roughly where it is.

There is a second subtlety that catches people out. Concentrated-liquidity pools — the style introduced by Uniswap v3 and carried into v4 — let you supply liquidity only within a chosen price band. That multiplies your fee income while the price stays in range, but it also amplifies impermanent loss and uses a different formula. The table above is the gentler, full-range case; concentrated positions can lose more, faster.

Want to read this math yourself instead of trusting a yield screenshot?

NIFM's cryptocurrency programme walks through AMM mechanics, DeFi risk and trading structure in Hindi and English, at your own pace, with a certificate on passing the course exam.

Explore the Cryptocurrency Training & Crypto Trading course →

When do trading fees actually beat impermanent loss?

Impermanent loss is only one side of the ledger. The other side is fee income: every swap routed through your pool pays a cut to liquidity providers. Your real outcome is simple arithmetic.

Net LP return = fee income − impermanent loss − gas costs

For liquidity provision to pay, the fees your pool collects must out-earn the impermanent loss its price divergence creates. That immediately explains why some pools make sense and others quietly bleed.

Stable-stable pairs are the clearest win. In a USDT–USDC pool, both assets target one US dollar, so the price ratio barely leaves 1.0. With r pinned near 1, impermanent loss is almost zero, and the steady flow of stablecoin swap fees is nearly pure profit. This is exactly why these pools run on the lowest fee tiers.

Uniswap recognises this directly through its fee-tier design, letting pools charge 0.01%, 0.05%, 0.30% or 1.00% per trade. Correlated and stable pairs sit in the 0.01–0.05% tiers because they carry little IL risk; volatile pairs sit in the 0.30–1.00% tiers precisely to compensate liquidity providers for the larger impermanent loss they will suffer. The fee tier is the market pricing your risk for you — a higher tier is a warning label, not a bonus.

Scale matters too. As of 20 August 2026, DefiLlama tracked roughly 83 billion US dollars locked across DeFi, with spot decentralised-exchange volume near 11 billion dollars that day. Uniswap alone became the first DEX to cross around 3 trillion dollars in cumulative volume. That volume is what funds liquidity-provider fees — but only the pools that capture real, repeated trading flow earn enough to overcome impermanent loss.

Liquidity pool vs holding: which is right for you?

The honest framing is a comparison, not a recommendation. Below is how the same decision plays out for a stable pair versus a volatile pair.

Factor Stable–stable pool (e.g. USDT–USDC) Volatile pool (e.g. ETH–altcoin)
Price ratio (r) behaviour Stays near 1.0 Can swing to 2x, 5x or more
Impermanent loss exposure ✓ Near zero ✗ 5.7% at 2x, 25.5% at 5x
Typical fee tier 0.01–0.05% 0.30–1.00%
What you are really betting on High, steady trade volume Price staying range-bound
Better suited to Yield-focused, lower-risk learners Those with a strong range view and fee edge

One more layer that Indian participants cannot ignore: taxation. Fee income and any gains from a liquidity position fall under India's virtual-digital-asset rules, so the outcome of your LP arithmetic is taxed before it reaches you. We cover the mechanics in our guide to how crypto gains are taxed as virtual digital assets — factor it into any net-return estimate rather than reading the pool's advertised APR at face value.

Mistakes liquidity providers make with impermanent loss

Most liquidity-provider regret traces back to a handful of avoidable errors. Watch for these:

  • Reading APR as profit. A pool advertising a high fee APR is often a volatile pair where impermanent loss is eating most of that yield. The headline number ignores the loss side of the ledger.
  • Forgetting the loss is relative to holding. You can show a positive token balance and still have "lost" versus simply keeping the coins. Impermanent loss is an opportunity cost, and it is no less real for being invisible on a balance sheet.
  • Chasing the newest, most volatile token pairs. The higher the volatility, the larger the divergence, the larger the loss. New-listing pools are where impermanent loss does its worst damage.
  • Ignoring concentrated-liquidity amplification. Narrow v3-style ranges feel capital-efficient until the price exits your band, at which point you hold 100% of the weaker asset and earn no fees.
  • Overlooking gas and exit timing. On congested networks, the gas to enter and exit can erase a small pool's fee edge entirely. Lower fees on Layer 2 networks change this calculation, as we explained in our piece on why Ethereum fees fell with Layer 2 rollups.

None of this makes liquidity provision a bad idea. It makes it a position with a cost — one you should price before you enter, exactly as you would price the premium on an options trade.

What to do next

Impermanent loss is not a reason to avoid DeFi; it is a reason to respect the math behind it. The takeaway is compact: an AMM pool quietly sells your winners and buys your losers, the loss grows with the square-root curve you saw above, and only reliable fee income can offset it. Stable pairs minimise the loss; volatile pairs demand a genuine edge and a strong stomach.

Treat your first liquidity position as a learning exercise, not a yield strategy. Start with the formula, model the loss at the price moves you actually expect, and compare it honestly against the fee tier on offer. The liquidity providers who last are the ones who understood impermanent loss before they clicked "deposit", not after. If you want that understanding structured end to end — AMMs, DeFi risk, wallets and trading discipline — build it deliberately rather than by trial and error.

Learn how DeFi, AMMs and crypto trading actually work

Trusted by 50,000+ learners since 2012 · Hindi + English · Learn at your own pace

Start the Cryptocurrency Training & Crypto Trading course

Frequently Asked Questions

What is impermanent loss in simple terms?

Impermanent loss is the gap between what your tokens are worth inside an AMM liquidity pool and what they would be worth if you had simply held them. It happens because the pool automatically rebalances when prices move, leaving you with more of the falling asset and less of the rising one. It is "impermanent" because it disappears if the price ratio returns to your entry point.

How is impermanent loss calculated?

For a standard 50/50 constant-product pool, impermanent loss equals ( 2 × the square root of r ) divided by ( 1 + r ), minus 1, where r is the current price ratio versus your deposit. The formula is symmetric, so a 2x rise and a halving both produce about a 5.7% loss, and a 5x move in either direction produces about 25.5%.

Does impermanent loss go away?

It can. If the two tokens return to the exact price ratio they had when you deposited, the loss reverts to zero. In practice prices seldom return precisely, so the loss is usually realised when you withdraw your liquidity. Until you withdraw, it remains a paper loss that can still shrink or grow.

When do fees make providing liquidity worthwhile?

When the trading fees your pool collects exceed the impermanent loss its price divergence creates, plus gas. Stable-stable pairs such as USDT–USDC keep the price ratio near 1.0, so impermanent loss is tiny and fees usually win. Volatile pairs only pay off when trade volume is high and the price stays relatively range-bound.

Is impermanent loss taxable in India?

The loss itself is not a taxable event, but the fee income and any realised gains from a liquidity position are treated as virtual-digital-asset income under Indian tax rules, including the 30% rate and 1% TDS regime. Always compute your net, after-tax return rather than relying on a pool's advertised yield.

Disclaimer: This article is for educational purposes only and does not constitute investment advice. Markets carry risk — please do your own research or consult a qualified financial professional before investing. NIFM provides training and exam preparation; certification exams conducted by regulatory or professional bodies are administered by those bodies independently.

Post Comments