Impermanent Loss Calculator
Impermanent Loss Calculator
Calculate the impermanent loss you may experience when providing liquidity to an automated market maker pool. Compare what your tokens would be worth if you simply held them versus keeping them in a liquidity pool.
Pool Details
Results
INSTRUCTIONS
How to Use This Calculator
1. Enter Initial Price
Input the price of the volatile token at the time you entered the liquidity pool. The second token is assumed to be a stablecoin.
2. Enter Current Price
Input the current price of the volatile token. The calculator will determine the price ratio to compute impermanent loss.
3. Set Investment
Enter the total dollar amount you initially deposited into the liquidity pool, split equally between both tokens.
4. Compare Results
See the impermanent loss percentage and dollar amount. Compare your pool value against what you would have earned by simply holding.
EDUCATION
Understanding Impermanent Loss
Impermanent loss occurs when you provide liquidity to an automated market maker (AMM) pool and the price of one token changes relative to the other. The AMM rebalances your token holdings to maintain a constant product, meaning you end up with more of the cheaper token and less of the expensive one compared to simply holding.
The standard formula for impermanent loss is: IL = 2 * sqrt(priceRatio) / (1 + priceRatio) - 1, where priceRatio is the current price divided by the initial price. This formula applies to constant-product AMMs like Uniswap v2. The loss is "impermanent" because it only becomes realized when you withdraw from the pool; if prices return to the original ratio, the loss disappears.
For example, if you deposit $10,000 into a 50/50 ETH/USDC pool when ETH is $2,000 and ETH rises to $3,000 (a 1.5x ratio), the impermanent loss is approximately 2.02%. Your pool value would be about $12,247 compared to $12,500 if you had simply held, resulting in a loss of about $253. Trading fees earned from the pool may offset or exceed this loss.
RELATED TOOLS
More DeFi Calculators
DeFi Yield Calculator
Calculate Compound Interest yields from decentralized finance protocols and liquidity pools.
Crypto Profit Calculator
Calculate your total profit or loss on any cryptocurrency trade including fees and commissions.