Impermanent loss (IL) is the difference in value between:
when the token prices move away from the price ratio that existed at the time you added liquidity. In constant-product AMMs (like Uniswap v2 and many clones), the pool automatically rebalances your assets as traders swap, which can leave you with more of the underperforming asset and less of the outperforming one. The resulting value shortfall relative to simply holding is the impermanent loss.
For a simple two-token, 50/50 constant-product pool, impermanent loss depends only on how much the price moves, usually expressed as the ratio between the final price and the initial price of one token (assuming the other is your quote asset, such as a stablecoin). Define:
For a 50/50 pool without fees, the standard impermanent loss formula as a fraction of the HODL value is:
To convert this into a percentage impermanent loss, multiply by 100. This formula captures how much less your liquidity position is worth compared to simply holding both tokens in the original 50/50 proportion.
This calculator applies the standard constant-product, 50/50-pool formula and related relationships to estimate:
You can model different scenarios by varying the price ratio or the percentage price move. Positive moves (price going up) and negative moves (price going down) both generate impermanent loss whenever the final price differs from the initial price.
When you run the calculator, focus on these key outputs:
Suppose you are considering adding liquidity to an ETH/USDC 50/50 pool. At the time you enter:
Later, ETH doubles in price to 2,000 USDC (P1 = 2,000). The price ratio is:
r = P1 / P0 = 2,000 / 1,000 = 2
Plugging into the formula:
Therefore:
IL = 1 โ 0.9428 โ 0.0572, or about 5.72% impermanent loss.
What does this mean in practice?
The 5.72% is your impermanent loss. If you earned more than 5.72% in trading fees over the same period, your net outcome as an LP could still be better than HODLing.
The table below summarizes how impermanent loss compares with simply holding your tokens and with realized loss from selling:
| Scenario | What you do | How value changes | Key takeaway |
|---|---|---|---|
| HODLing | Keep your tokens in a wallet, no LP position. | Portfolio value moves 1:1 with price of each token. | No impermanent loss, but no trading-fee income either. |
| Providing liquidity (no fees) | Deposit tokens into a 50/50 AMM pool. | Pool rebalances; you end up with more of the underperforming asset, less of the outperforming one. | When prices move, LP value generally lags behind HODLing; this gap is impermanent loss. |
| Providing liquidity (with fees) | Same as above, but traders pay swap fees that accrue to LPs. | IL still occurs, but fee income can partially or fully offset it. | If fees > IL, LP returns can beat HODLing despite price divergence. |
| Realized loss from selling | Manually sell tokens at a lower price than you bought. | Loss becomes permanent at the moment of sale. | Unlike IL, there is no chance of recovery if prices later revert. |
This impermanent loss calculator is an educational tool and makes several simplifying assumptions:
Important: none of the outputs from this calculator constitute financial, investment, or tax advice. DeFi markets are volatile and risky. Always do your own research and consider your risk tolerance before providing liquidity.
Use this page as a starting point to understand impermanent loss mechanics and to build intuition before committing significant capital to any DeFi liquidity pool.
Disclaimer: This calculator provides educational estimates only and does not constitute professional advice. Consult with qualified professionals for your specific situation.