Calculate impermanent loss for DeFi liquidity pool positions. Understand the risks before providing liquidity on decentralized exchanges.
Calculate impermanent loss for DeFi liquidity pool positions
💡 This calculator assumes a 50/50 liquidity pool with a stablecoin pair. Impermanent loss becomes permanent only when you withdraw from the pool.
Formula
IL = 2 × √(price_ratio) / (1 + price_ratio) - 1Impermanent loss occurs when the price ratio of tokens in a liquidity pool changes
Impermanent loss occurs when the price ratio of tokens in a liquidity pool changes compared to when you deposited them. The greater the price change, the more impermanent loss you experience.
It is called impermanent because the loss only becomes permanent when you withdraw your liquidity. If prices return to their original ratio, the loss disappears.
Yes, trading fees and liquidity mining rewards can offset impermanent loss. Many LPs remain profitable despite impermanent loss due to these additional earnings.
Stablecoin pairs (like USDC/USDT) have minimal impermanent loss since their prices stay close to each other. Correlated asset pairs also experience less IL.
IL = 2 × √(price_ratio) / (1 + price_ratio) - 1, where price_ratio is the current price divided by the initial price. A 2x price change results in about 5.7% IL.