Navigation
Calculators Pricing Blog About Contact
Get Started
Get Started Login
💱

Impermanent Loss Calculator

Calculate impermanent loss for DeFi liquidity providers. Compare value in pool vs holding to see the cost of providing liquidity.

Impermanent Loss
Dollar Loss
Value if Held
Value in Pool

How to Use the Impermanent Loss Calculator

The Impermanent Loss Calculator helps DeFi liquidity providers understand the cost of providing liquidity to automated market maker pools compared to simply holding their tokens. Enter the initial prices of both tokens when you deposited liquidity, the current prices of both tokens, and your initial liquidity value in dollars. The calculator computes the impermanent loss percentage, the dollar amount of loss compared to holding, the value your position would have if you had simply held the tokens, and the current value of your position in the liquidity pool. A negative impermanent loss means the pool position is worth less than holding would have been.

What Is Impermanent Loss?

Impermanent loss is the difference in value between holding tokens in a liquidity pool versus simply holding them in your wallet. It occurs because automated market makers like Uniswap constantly rebalance the ratio of tokens in the pool to maintain the pricing formula. When one token price increases relative to the other, the AMM sells the appreciating token and buys the depreciating one to maintain balance. This means you end up with more of the cheaper token and less of the expensive one compared to if you had just held both tokens. The loss is called impermanent because it only becomes permanent when you withdraw liquidity. If prices return to their original ratio, the impermanent loss disappears.

The Mathematics of Impermanent Loss

For a standard constant product AMM like Uniswap V2, impermanent loss depends solely on the price ratio change between the two tokens. The formula is IL equals 2 times the square root of the price ratio divided by 1 plus the price ratio, minus 1. A price ratio change of 1.25x results in 0.6 percent impermanent loss, 1.5x gives 2 percent, 2x gives 5.7 percent, 3x gives 13.4 percent, and 5x gives 25.5 percent. Note that the loss accelerates as the price divergence increases. Also note that it does not matter which direction prices move because the formula uses the ratio. Our calculator uses a simplified model that approximates pool value as initial value times the square root of the product of price changes.

When Is Impermanent Loss Significant?

Impermanent loss becomes significant when the prices of the paired tokens diverge substantially from their initial ratio. Stablecoin pairs like USDC/USDT experience minimal impermanent loss because their prices remain close to one dollar each. Pairs of correlated assets like ETH/stETH also have low impermanent loss. However, volatile pairs like ETH/meme-token can experience severe impermanent loss if one token pumps or dumps dramatically. During the 2021 crypto bull market, many liquidity providers in volatile pairs experienced impermanent losses exceeding 30 to 50 percent, which wiped out months of fee earnings. Understanding impermanent loss before providing liquidity is essential for making informed decisions about which pools to enter.

Offsetting Impermanent Loss with Fees

Liquidity providers earn trading fees from every swap that occurs in their pool. These fees can partially or fully offset impermanent loss if trading volume is sufficient relative to the price divergence. High-volume pools like ETH/USDC on major DEXes generate substantial fee income that often exceeds impermanent loss for moderate price movements. The key calculation for LPs is whether expected fee earnings exceed expected impermanent loss. If a pool generates 20 percent annualized fees and your expected impermanent loss is 5 percent, you still earn a net 15 percent return. However, accurately predicting both fee income and impermanent loss is difficult, making LP profitability analysis inherently uncertain.

Strategies to Minimize Impermanent Loss

Several strategies can help minimize impermanent loss exposure. First, provide liquidity to stablecoin or correlated asset pairs where price divergence is naturally limited. Second, use concentrated liquidity protocols like Uniswap V3 that allow you to provide liquidity within a specific price range, earning higher fees but with increased impermanent loss risk if prices move outside your range. Third, monitor positions actively and withdraw liquidity before extreme price movements. Fourth, use protocols that offer impermanent loss protection or insurance such as Bancor V3. Fifth, farm pools with high trading volume relative to total value locked, as the fee income more likely offsets the impermanent loss.

Impermanent Loss in Different AMM Models

Different AMM designs handle impermanent loss differently. Constant product AMMs like Uniswap V2 have the standard impermanent loss curve described above. Curve Finance uses a stableswap invariant that produces much lower impermanent loss for similarly-priced assets by concentrating liquidity around the expected price ratio. Balancer allows pools with custom token ratios like 80/20 instead of 50/50, which can reduce impermanent loss for the majority token. Concentrated liquidity AMMs like Uniswap V3 amplify both fee earnings and impermanent loss within the selected price range. Understanding which AMM model a pool uses is essential for accurately estimating your impermanent loss exposure.

Important Considerations for LPs

Before providing liquidity, consider several factors beyond impermanent loss. Smart contract risk means your funds could be lost if the protocol is hacked or has a bug. Gas costs on Ethereum can eat into profits, especially for smaller positions. Many protocols offer liquidity mining rewards in their governance token, which can boost returns but adds token price risk. The impermanent loss percentage shown by our calculator does not include fees earned or rewards received, so your actual profit or loss will differ. Always research the protocol security, audit history, and total value locked before depositing significant funds into any liquidity pool.

Frequently Asked Questions

Impermanent loss is the difference between holding tokens in a liquidity pool vs simply holding them. It occurs because AMMs rebalance your position as prices change, giving you more of the cheaper token and less of the expensive one.
Impermanent loss becomes permanent (realized) when you withdraw liquidity from the pool. If prices return to the original ratio before withdrawal, the impermanent loss disappears.
A 2x price change in one token relative to the other results in approximately 5.7% impermanent loss. A 3x change gives 13.4%, and a 5x change gives 25.5%.
Yes. Trading fees earned from the pool can partially or fully offset impermanent loss. High-volume pools with moderate price volatility often generate enough fees to remain profitable despite impermanent loss.
Stablecoin pairs (USDC/USDT) and correlated asset pairs (ETH/stETH) have minimal impermanent loss because their price ratios remain relatively stable over time.
Yes, but concentrated liquidity in Uniswap V3 amplifies both fees and impermanent loss within your selected price range. If price moves outside your range, you hold 100% of the less valuable token.

Embed this Calculator

Copy the code below and paste it into your website's HTML. Your visitors can use this calculator for free.

px × px
<iframe src="https://calculatorteam.com/embed/impermanent-loss-calculator" width="100%" height="600" style="border:none;border-radius:12px;" loading="lazy" title="Impermanent Loss Calculator"></iframe>

Report an Issue

Let us know what's wrong with this calculator. We'll review and fix it as soon as possible.