Impermanent Loss Calculator
Calculate impermanent loss for your liquidity pool positions
Pool Parameters
Related Calculators
What Is Impermanent Loss?
Impermanent loss is one of the most important concepts for anyone providing liquidity in decentralized finance (DeFi). It refers to the temporary loss of value that occurs when you deposit tokens into an automated market maker (AMM) liquidity pool compared to simply holding those same tokens in your wallet. The term "impermanent" is used because the loss only becomes realized when you withdraw your liquidity — if the token prices return to the ratio they were at when you entered the pool, the loss disappears entirely.
Impermanent loss arises from the fundamental mechanics of constant-product AMMs like Uniswap, SushiSwap, and PancakeSwap. These protocols require that the product of the two token reserves remains constant (x * y = k). When market prices shift, arbitrageurs trade against the pool to bring its prices in line with external markets, which changes the composition of your deposited tokens. You end up with more of the token that depreciated and less of the token that appreciated relative to your original deposit.
How Impermanent Loss Is Calculated
The standard impermanent loss formula for a 50/50 liquidity pool is: IL = 2 * sqrt(price_ratio) / (1 + price_ratio) - 1, where price_ratio is the ratio of Token A's price change to Token B's price change. This formula tells you the percentage difference between the value of your LP tokens and the value of simply holding the original tokens.
To understand this with a concrete example, suppose you deposit $10,000 into an ETH/USDC pool ($5,000 of each). If ETH doubles in price while USDC remains stable, the price ratio is 2. Plugging into the formula: IL = 2 * sqrt(2) / (1 + 2) - 1 = -5.72%. Your pool position is worth about 5.72% less than if you had simply held $5,000 in ETH and $5,000 in USDC. In dollar terms, that is roughly a $572 difference on a $10,000 initial deposit where the hold value would be $15,000 but the pool value would be approximately $14,142.
When Does Impermanent Loss Matter?
Impermanent loss matters most in pools with volatile, uncorrelated token pairs. If you provide liquidity to an ETH/BTC pool and both assets move by similar percentages, the impermanent loss will be minimal. However, if you provide liquidity to an ETH/stablecoin pool during a period of rapid ETH price movement, the IL can become significant.
It is worth noting that impermanent loss is always measured relative to the hold strategy. Even if you experience IL, your total position value may still be higher than your initial deposit due to overall market appreciation. The IL simply tells you that you would have earned more by holding rather than providing liquidity. For many LPs, the trading fees and liquidity mining rewards earned more than compensate for the IL, making the LP position net positive despite the impermanent loss.
How to Minimize Impermanent Loss
The most effective strategy to minimize impermanent loss is to choose correlated pairs. Stablecoin-to-stablecoin pools (USDC/DAI, USDT/USDC) have negligible IL because both tokens maintain approximately the same price. Similarly, pools of correlated assets like ETH/stETH or WBTC/BTC experience very low IL since the tokens tend to move in lockstep.
Concentrated liquidity positions, as offered by Uniswap V3 and similar protocols, allow you to focus your capital within a specific price range. While this increases your exposure to impermanent loss within that range, it dramatically increases the trading fees you earn per dollar of capital, often more than compensating for the added IL risk. The key is to set your price range appropriately for the expected volatility of the pair.
Finally, timing and monitoring play a role. Providing liquidity during periods of low volatility and withdrawing before major market events can help reduce IL exposure. Some advanced protocols also offer IL protection features that partially reimburse liquidity providers for losses incurred during their deposit period, though these come with their own costs and conditions.