Calculate impermanent loss, simulated trading fee offset, and break-even holding days for Uniswap v2 & v3, Raydium, and PancakeSwap liquidity pools.
| Scenario | Token A Hold | Token B Hold | Total Portfolio ($) | Net Gain vs Initial |
|---|
Impermanent loss occurs in Automated Market Maker (AMM) liquidity pools (such as Uniswap v2, Sushiswap, and PancakeSwap) when the price ratio of your deposited tokens diverges from when you deposited them. Because the AMM relies on the constant product formula x * y = k, arbitrageurs constantly trade with the pool to align internal pool prices with external exchange prices, rebalancing your position towards the depreciating asset.
For any two-asset pool with equal 50/50 value weight, let k = (1 + ΔP_A) / (1 + ΔP_B) represent the relative price change ratio between Token A and Token B. The exact mathematical formula for Impermanent Loss is:
Notice that whether the price ratio doubles (k = 2) or halves (k = 0.5), the impermanent loss is identical: exactly -5.72%. When a token surges 5x relative to its pair (k = 5), impermanent loss reaches -25.46%.
Uniswap v3 introduces concentrated liquidity, allowing LPs to allocate capital within a custom price interval [P_min, P_max]. While concentrated liquidity exponentially increases capital efficiency and fee generation (often 10x to 50x higher than v2), it also amplifies impermanent loss within that active range. If the market price crosses outside of your specified tick interval, your position becomes 100% composed of the depreciated asset and completely stops earning trading fees.
Net Alpha = (V_lp + Accumulated_Fees) - V_hodl. If this number is positive, providing liquidity was more lucrative than merely holding the tokens in your cold wallet.Break-Even Days = (|IL_Dollars| / (V_initial * (Fee_APR / 365))). If your pool's trading volume drops, break-even days will increase accordingly.k ≈ 1.0, meaning impermanent loss is practically 0.00%. The only risk of IL on stablecoin pairs occurs during depeg events (e.g. UST in 2022 or USDC in March 2023), where arbitrageurs dump the depegging stablecoin into the pool until it holds 100% bad debt.Yes, Crypto Impermanent Loss Calculator is completely free with no signup or registration required. All processing happens directly in your browser.
Absolutely. Your data never leaves your device. Everything runs locally in your browser — no uploads, no servers, no tracking.
No installation needed. Crypto Impermanent Loss Calculator works entirely in your web browser on both desktop and mobile devices.
Simply enter or paste your input in the tool above, and the result will be generated instantly. No configuration required.