CCalcNest AI

Impermanent Loss Calculator

Calculate liquidity pool impermanent loss.

10100000
10100000
1100000
1100000
Enter values above — results appear instantly as you type.
AI Insight: Impermanent loss only becomes permanent when you withdraw. If the price ratio returns to where you entered, the loss vanishes. It's also symmetric — a 50% move up or down causes the same ~5.7% loss either way.
Reviewed by the CalcNest Editorial Team · Last reviewed: May 2026 · Methodology
Looking for a different calculator? Try our AI Finder — describe what you need in plain English. Try AI Finder →

Formula

IL = 2√r/(1+r) - 1

Example

ETH 2x while USDC stable → ~5.7% IL.

Embed this calculator on your site

Add this free calculator to your own website with one line of code. The embedded version is responsive, ad-free, and includes a small attribution link back to CalcNest AI.

<iframe src="https://calcnestai.com/embed/impermanent-loss-calculator.html" width="100%" height="700" frameborder="0" style="border: 1px solid #e5e5e5; border-radius: 12px; max-width: 720px;" loading="lazy" title="Impermanent Loss Calculator — Free Tool by CalcNest AI"></iframe>

Understanding the Impermanent Loss Calculator

An impermanent loss calculator reveals a counterintuitive risk that catches many first-time liquidity providers off guard: when you deposit two tokens into a decentralized exchange's liquidity pool, you can end up with less value than if you'd simply held the tokens - even when both went up in price. This 'impermanent loss' is the hidden cost of providing liquidity, and understanding it is essential before putting money into a pool.

How it actually works

Enter the initial and current prices of both tokens in the pair. The calculator computes the price ratio change and the resulting impermanent loss. If one token doubles relative to the other, the automated market maker rebalances your holdings in a way that leaves you about 5.7% worse off than simply holding - the loss grows with the size of the price divergence between the two tokens.

Impermanent loss by price ratio change
Price change of one token vs the otherImpermanent loss
1.25x0.6%
1.5x2.0%
2x5.7%
4x20.0%
5x25.5%

The deeper context most people miss

Impermanent loss happens because automated market makers rebalance your position to keep the pool balanced. As one token rises in price, the AMM sells some of it (and buys the other) to maintain the pool's ratio - so you end up holding less of the winner and more of the loser than if you'd just held both. The loss is 'impermanent' because it only becomes real if you withdraw while prices are diverged; if the prices return to their original ratio, it disappears. The key insight: the more the two tokens' prices diverge, the larger the loss.

Why providing liquidity can lose money even in a bull market

The mechanics of impermanent loss are genuinely counterintuitive, so it's worth understanding exactly why depositing tokens into a liquidity pool can leave you worse off than holding them - even when the tokens appreciate. When you provide liquidity to an automated market maker (AMM) like those on Uniswap or similar decentralized exchanges, you deposit two tokens in equal value (say, equal dollar amounts of ETH and a stablecoin). The AMM uses a formula (commonly the constant product formula, where the product of the two token quantities stays constant) to set prices and enable trading. Here's the crux: as traders swap against your pool, the AMM automatically adjusts the ratio of the two tokens to keep them balanced in value. If ETH's price rises, arbitrage traders buy ETH from your pool (because it's cheaper there until the pool adjusts), which means the pool sells your ETH and accumulates the stablecoin - so you end up holding less ETH (the token that went up) and more stablecoin (the token that stayed flat) than you started with. The result is that your position's value, while it may have grown in dollar terms, has grown less than if you'd simply held your original ETH and stablecoin without providing liquidity. That shortfall is the impermanent loss. The critical point is that this happens whenever the two tokens' prices diverge from their starting ratio, regardless of direction - if either token significantly outperforms the other, you experience impermanent loss relative to holding. This is why 'even in a bull market' a liquidity provider can underperform simply holding: the AMM's rebalancing means you capture less of the winning token's gains. The loss is called 'impermanent' because it's only realized if you withdraw while the prices are diverged; if the price ratio returns to where it started, the loss vanishes. But in practice, prices often don't return to their exact starting ratio, so the loss frequently becomes permanent when you exit. Understanding this mechanism - that the AMM's automatic rebalancing systematically leaves you holding less of the outperforming token - is the foundation for deciding whether providing liquidity is worthwhile, since the trading fees you earn must outweigh this loss for liquidity provision to pay off.

A third example: when fees outweigh the loss, and when they don't

Impermanent loss isn't the whole story of providing liquidity - liquidity providers also earn trading fees, and whether providing liquidity is profitable depends on whether those fees exceed the impermanent loss, which is worth working through with an example. Suppose you provide liquidity to an ETH/stablecoin pool. Over some period, ETH rises significantly against the stablecoin - say it doubles - producing an impermanent loss of about 5.7% relative to simply holding. If that were the end of the story, you'd have been better off holding. But during that period, your liquidity earned trading fees from every swap that used your pool. If the pool had high trading volume and you earned, say, 8% in fees over that period, then your net position is actually better than holding: the 8% in fees more than offset the 5.7% impermanent loss, for a net gain of roughly 2.3% over holding. This is the scenario liquidity providers hope for - high-volume pools where fee income outpaces impermanent loss. Now consider the opposite: a pool with low trading volume where you earned only 2% in fees over the same period. Now the 5.7% impermanent loss overwhelms the 2% in fees, leaving you about 3.7% worse off than if you'd just held. This is the trap many liquidity providers fall into - they focus on the advertised yield or fees without accounting for impermanent loss, and end up underperforming a simple hold. The example illustrates the essential calculus of liquidity provision: it's profitable only when the trading fees you earn exceed the impermanent loss you suffer from price divergence. This is why the best pools for liquidity providers tend to be either high-volume pairs (generating lots of fees) or pairs of tokens that stay close in price (like two stablecoins, which have minimal divergence and thus minimal impermanent loss). Volatile pairs with low volume are the worst combination - large potential impermanent loss with insufficient fees to compensate. The calculator shows the impermanent loss for a given price divergence; the profitability decision requires weighing that loss against the fees the pool will realistically generate.

Deciding whether to provide liquidity to a pool

Someone considering providing liquidity to a decentralized exchange pool wants to decide whether it's worth it, and understanding impermanent loss reframes the decision from 'what yield is advertised?' to 'will fees exceed my impermanent loss?' They start by estimating the impermanent loss risk, which depends on how much the two tokens' prices are likely to diverge. For a pair of tokens that tend to move together or stay close in price (like two stablecoins, or two correlated assets), the price divergence - and thus impermanent loss - is minimal, making liquidity provision relatively safe. For a volatile pair where one token could dramatically outperform the other, the potential impermanent loss is large, as the calculator shows (a 4x divergence produces a 20% loss). Then they weigh the expected fee income: high-volume pools generate substantial trading fees that can offset impermanent loss, while low-volume pools may not earn enough to compensate. The scenario surfaces the key decision factors: the volatility and correlation of the token pair (correlated or stable pairs have low impermanent loss; volatile, uncorrelated pairs have high loss); the pool's trading volume (high volume means more fees to offset the loss); and any additional incentives (some protocols offer extra token rewards to liquidity providers, which can further offset impermanent loss, though these have their own risks). It also surfaces the honest realities: impermanent loss is a genuine risk that advertised yields often don't account for, so the headline APY can be misleading if it doesn't factor in the loss; providing liquidity to a volatile pair is a bet that fees plus incentives will exceed the impermanent loss, which isn't guaranteed; and the safest liquidity provision (stable pairs) offers lower loss but also lower fees. The calculator quantifies the impermanent loss for any price divergence, letting the person see how much a given price move would cost them relative to holding - which, combined with realistic fee expectations, turns the liquidity-provision decision from a yield-chasing gamble into an informed assessment of whether the fees will genuinely outweigh the loss.

Strategies to minimize or avoid impermanent loss

Since impermanent loss can erode or eliminate the returns from providing liquidity, understanding the strategies to minimize or avoid it helps liquidity providers protect their capital. The most straightforward strategy is to provide liquidity to pairs with low price divergence. Stablecoin pairs (like two dollar-pegged stablecoins) are the classic low-risk choice: since both tokens are pegged to the same value, their price ratio barely changes, so impermanent loss is minimal - you earn fees with very little of the rebalancing loss. Similarly, pairs of highly correlated assets (tokens that tend to move together) have limited divergence and thus lower impermanent loss than uncorrelated pairs. A second strategy is to focus on high-volume pools, where the trading fees are large enough to reliably outweigh whatever impermanent loss occurs - the fee income is the counterweight to the loss, so maximizing fees relative to expected divergence is key. A third development is concentrated liquidity (introduced by newer AMM designs), which lets liquidity providers concentrate their capital within a specific price range, earning more fees on that range but also potentially experiencing more impermanent loss if the price moves outside it - a more capital-efficient but more actively managed approach. Some protocols and products offer impermanent loss protection or insurance, compensating liquidity providers for some of the loss, though these come with their own conditions and costs. There are also newer AMM designs and single-sided liquidity options that attempt to reduce or eliminate impermanent loss through various mechanisms, each with tradeoffs. Additionally, some liquidity providers hedge their positions using derivatives to offset the price exposure that causes impermanent loss, though this adds complexity and cost. The simplest protective mindset, though, is to recognize when NOT to provide liquidity: avoid volatile, uncorrelated, low-volume pairs, which combine high impermanent loss potential with insufficient fees. For most people, the practical guidance is to stick to stable or correlated pairs, or high-volume major pairs, and to always account for impermanent loss when evaluating a pool's advertised yield rather than taking the headline number at face value. The calculator helps by quantifying the impermanent loss for a given price divergence, so you can assess how risky a particular pair is before committing - the more divergence you expect, the more fees (or protection) you need to make it worthwhile.

Variations: stable pairs, volatile pairs, and concentrated liquidity

Impermanent loss varies dramatically depending on the type of liquidity pool and the AMM design, and understanding the variations helps you choose appropriately. Stablecoin pairs (two tokens pegged to the same value, like two dollar stablecoins) experience minimal impermanent loss because their price ratio barely changes - the safest form of liquidity provision, earning fees with little rebalancing loss, though the fees on stable pairs are often lower. Correlated asset pairs (tokens that tend to move together) have moderate impermanent loss - more than stablecoins but less than uncorrelated pairs - since their prices diverge somewhat but not wildly. Volatile, uncorrelated pairs (like a volatile token paired with a stablecoin, or two unrelated volatile tokens) have the highest impermanent loss potential, because one token can dramatically outperform the other, producing large divergence and thus large loss - these require substantial fees or incentives to be worthwhile. Beyond the pair type, the AMM design matters: traditional constant-product AMMs (this calculator's model) spread your liquidity across all prices, producing the standard impermanent loss curve. Concentrated liquidity AMMs let you focus your capital within a chosen price range, earning more fees when the price is in that range but experiencing amplified impermanent loss if the price exits it, and no fees while outside the range - a more capital-efficient but more actively managed and potentially riskier approach. Some specialized AMMs use different formulas designed to reduce impermanent loss for particular asset types (like stablecoin-optimized AMMs). There are also single-sided liquidity and impermanent-loss-protected options offered by some protocols, with their own mechanics and tradeoffs. This calculator computes impermanent loss using the standard constant-product formula based on the price divergence between the two tokens, which is the foundational case, and understanding these variations - from low-loss stable pairs to high-loss volatile pairs, and from traditional to concentrated liquidity designs - helps you choose pools and strategies that fit your risk tolerance, recognizing that the impermanent loss you'll face depends heavily on both the volatility of the pair and the AMM design you're using.

Providing liquidity while managing impermanent loss

Approach providing liquidity with a clear understanding that impermanent loss is a real, systematic cost, not an edge case, and that liquidity provision is profitable only when your fee income exceeds this loss. First, understand the mechanism: when you provide liquidity to an automated market maker, its rebalancing leaves you holding less of whichever token outperforms, so your position underperforms simply holding the tokens whenever their prices diverge - and the more they diverge, the larger the loss (a 2x divergence costs about 5.7%, a 4x divergence about 20%). Choose your pairs deliberately based on expected price divergence: stablecoin pairs and highly correlated asset pairs have minimal divergence and thus minimal impermanent loss, making them the safest choice; volatile, uncorrelated pairs have large potential impermanent loss and should only be entered if you expect fees (and any incentives) to substantially outweigh it. Prioritize high-volume pools, since the trading fees are what offset impermanent loss - a high-volume pool can generate enough fees to make even a volatile pair profitable, while a low-volume pool may not earn enough to cover the loss. Always account for impermanent loss when evaluating an advertised yield: the headline APY often reflects only fees (and sometimes token incentives) without subtracting impermanent loss, so it can badly overstate your real return on a volatile pair - do the math of whether the fees will genuinely exceed the expected loss. Recognize that the loss is 'impermanent' only until you withdraw: if you exit while prices are diverged, the loss becomes real, and since prices often don't return to their starting ratio, it frequently becomes permanent. Consider protective strategies for volatile pairs (impermanent loss protection where offered, hedging, or newer AMM designs), but for most people the simplest protection is to stick to stable or correlated pairs or high-volume major pairs, and to avoid the worst combination of volatile, uncorrelated, low-volume pools. Use the calculator to quantify the impermanent loss for the price divergence you anticipate, then weigh it honestly against realistic fee expectations - so you provide liquidity where it genuinely pays, rather than chasing advertised yields that impermanent loss would quietly erode.

What people get wrong

  • Chasing advertised yields without subtracting impermanent loss, which can make a 'high APY' pool a net loser.
  • Assuming impermanent loss only happens when tokens fall - it occurs whenever prices diverge, even in a bull market.
  • Providing liquidity to volatile, low-volume pairs, the worst combination of high loss and insufficient fees.
  • Forgetting the loss becomes permanent when you withdraw at diverged prices, which prices often don't return from.

Where the math comes from

Impermanent loss = 2 × √(ratio_change) / (1 + ratio_change) − 1, where ratio_change is the relative price change of one token versus the other ((current_A/initial_A) / (current_B/initial_B)). The loss grows with divergence: ~0.6% at 1.25x, ~5.7% at 2x, ~20% at 4x. It's the shortfall of providing liquidity versus simply holding, and is offset (or not) by the trading fees the pool earns.

Questions and answers

What is impermanent loss?

Impermanent loss is the difference between holding two tokens versus putting them in a liquidity pool, when their prices diverge. The automated market maker rebalances your position as prices move, leaving you with more of the falling token and less of the rising one compared to simply holding.

Why is it called 'impermanent'?

Because the loss only becomes real when you withdraw. If the token prices return to their original ratio, the loss disappears entirely. It's a paper loss until you exit the pool — which is also why it can quietly become a permanent loss if you withdraw at the wrong time.

When is impermanent loss worst?

It grows as the two tokens diverge in price. A pair where both tokens move together (like two stablecoins) has almost no IL. A volatile token paired with a stablecoin has the most. A 2x price divergence causes about 5.7% loss; a 5x divergence causes about 25%.

Do trading fees offset impermanent loss?

Often, yes — that's the whole point of providing liquidity. High-volume pools generate enough trading fees to outweigh moderate IL. The question for any LP position is whether expected fees exceed expected impermanent loss, which depends on volume and how volatile the pair is.

How do I avoid impermanent loss?

Provide liquidity for correlated or stablecoin pairs where prices stay close, choose high-fee-volume pools, or use protocols with IL protection. The simplest way to avoid it entirely is to not provide liquidity for volatile pairs you expect to move sharply in one direction.

What exactly is impermanent loss and why does it happen?

Impermanent loss is the difference in value between providing liquidity to an automated market maker (AMM) and simply holding the two tokens - specifically, it's how much less your liquidity position is worth compared to if you'd just held the tokens, and it happens whenever the two tokens' prices diverge from their starting ratio. Here's why it occurs. When you provide liquidity, you deposit two tokens in equal value into a pool, and the AMM uses a formula (typically the constant product formula) to enable trading and set prices. As traders swap against your pool, the AMM automatically rebalances the ratio of the two tokens to keep the pool balanced. The key consequence is this: when one token rises in price relative to the other, arbitrage traders buy the appreciating token from your pool (because it's momentarily cheaper there), which causes the pool to sell off your holdings of the winning token and accumulate more of the other. So you end up holding less of the token that went up and more of the token that stayed flat or fell, compared to your starting position. This means your position captures less of the winning token's gains than if you'd simply held it - and that shortfall is the impermanent loss. Critically, this happens regardless of which direction prices move: any significant divergence between the two tokens' prices, in either direction, produces impermanent loss relative to holding. That's why you can experience impermanent loss even in a bull market where both tokens rise - if one rises much more than the other, the divergence still causes the loss. The magnitude grows with the divergence: a token doubling relative to the other produces about 5.7% impermanent loss, a 4x divergence produces about 20%, and larger divergences produce larger losses. The loss is called 'impermanent' because it's only realized when you withdraw your liquidity - if the price ratio returns to where it started before you withdraw, the loss disappears entirely. However, in practice, prices often don't return to their exact starting ratio, so the loss frequently becomes permanent when you exit the pool. Impermanent loss isn't necessarily a dealbreaker for providing liquidity, because liquidity providers also earn trading fees - but those fees must exceed the impermanent loss for liquidity provision to beat simply holding, which is the essential calculation every liquidity provider should make before committing.

How can I avoid or minimize impermanent loss?

You can minimize impermanent loss primarily by choosing liquidity pools where the two tokens' prices don't diverge much, and by ensuring the fees you earn outweigh whatever loss occurs - and there are several concrete strategies. The most effective approach is to provide liquidity to pairs with low price divergence. Stablecoin pairs (two tokens both pegged to the same value, like two dollar-pegged stablecoins) are the classic low-risk choice, because their price ratio barely changes, so impermanent loss is minimal - you collect trading fees with very little of the rebalancing loss. Similarly, pairs of highly correlated assets (tokens that tend to move together in price) experience limited divergence and thus much lower impermanent loss than uncorrelated pairs. Choosing these lower-divergence pairs is the simplest and most reliable way to reduce impermanent loss. A second strategy is to focus on high-volume pools, where the trading fees are substantial enough to reliably offset whatever impermanent loss occurs - since fees are the counterweight to the loss, a high-volume pool can make liquidity provision profitable even when some impermanent loss happens. Third, always account for impermanent loss when evaluating a pool's advertised yield: the headline APY often reflects only the fees (and sometimes extra token incentives) without subtracting the impermanent loss, so a volatile pair's real return can be far lower than advertised - doing this math helps you avoid pools where the loss would erode the yield. Some protocols offer impermanent loss protection or insurance that compensates providers for some of the loss, and there are newer AMM designs (including stablecoin-optimized AMMs and various single-sided or protected liquidity options) that aim to reduce impermanent loss through different mechanisms, though each has its own conditions and tradeoffs. More advanced providers sometimes hedge their price exposure using derivatives to offset the source of impermanent loss, though this adds cost and complexity. For concentrated liquidity positions, staying within an appropriate price range and managing the position actively matters, since impermanent loss is amplified if the price moves outside your chosen range. But for most people, the practical guidance is straightforward: stick to stablecoin pairs, correlated pairs, or high-volume major pairs; avoid volatile, uncorrelated, low-volume pools (the worst combination of high loss potential and insufficient fees); and always weigh the expected fees against the impermanent loss you'd face given the pair's likely price divergence. The calculator helps by quantifying the impermanent loss for a given divergence, so you can assess how risky a pair is and whether the fees are likely to make it worthwhile before you commit your capital.

Sources & References

Authoritative references consulted in building this calculator and educational content. These are primary sources — check directly for the most current figures.

Related calculators

Liquidity Pool Returns · Mining Profitability · Crypto Portfolio Allocation · Crypto Gas Fee · Crypto Rebalancing