What does impermanent loss compare?
It compares the value of pool assets with the value those same deposited assets would have if held outside the pool.
Compare a token pool position with holding the same deposited assets.
For v2, relative price ratio r gives relative pool factor 2√r/(1+r); pool value also reflects the geometric mean of both token price changes. For v3, constant-product liquidity formulas compute token amounts across the selected range and clamp price at range boundaries.
V2 assumes a 50/50 pool with no fees unless the optional linear fee APR estimate is entered. V3 assumes one position, a 50/50 USD deposit at the starting prices, no fee earnings, and no range changes. Fee estimate is not a forecast.
Uniswap v2 constant-product pool model and Uniswap v3 concentrated liquidity amount formulas. Uniswap concentrated liquidity documentation.
It compares the value of pool assets with the value those same deposited assets would have if held outside the pool.
You can add a simple fee APR estimate, but actual fees depend on pool volume and liquidity.
The lower and upper values are token A price in units of token B. The position holds only token A below range or token B above range.
No. Pool mechanics, fees, rebalancing and execution vary.