01 · Basics
What is impermanent loss?
Impermanent loss describes an LP shortfall relative to holding the original token amounts. When you supply a liquidity pool with a full-range 50/50 constant-product design, an automated market maker and arbitrage change the token composition as relative prices move. The mechanism provides trading liquidity; it does not optimize your USD profit.
If token A rises relative to token B, arbitrage removes some A and adds B to the pool. Your proportional claim contains less of the relatively stronger token than a static holding would. The resulting difference is a shortfall versus holding; the position’s absolute USD value can still rise.
The no-fee full-range formula is: IL = 2 · √r / (1 + r) − 1, where r is (ending A / starting A) divided by (ending B / starting B). A 2× ratio gives about −5.72%; a 4× ratio gives −20%. Reciprocal changes give the same relative percentage, although the USD shortfall depends on both ending values.
02 · Mechanics
How do AMMs and liquidity pools work?
AMMs such as Uniswap use pool mechanics in place of a conventional order book. This calculator specifically models the full-range constant-product relation: x · y = k. Here x and y are token reserves. Ignoring trading fees and liquidity changes, swaps preserve the product. In Uniswap v2, retained trading fees can increase k; the calculator treats assumed earned fees as a separate additive USD amount.
In this model, the initial deposit is split equally by USD value between both tokens. Uniswap v2 LP tokens represent a proportional pool claim. Of the documented 0.30% swap fee, 0.25% has gone to liquidity providers and 0.05% to the protocol since December 2025. Actual LP fee earnings depend on trades and the position’s share; a swap-fee tier is not an annual return. Compare the earned USD amount with the holding shortfall before assessing liquidity providing and other costs or risks. Liquidity providing and proof-of-stake rewards are different mechanisms.
Concentrated-liquidity designs let a position operate within selected price bounds. Outside the range it can become inactive and earn no swap fees; exposure and returns differ from this full-range model. Curve’s StableSwap uses a different invariant around similarly valued assets. This calculator does not model either design, and a peg or correlation can fail.
03 · Interpretation
When can LP outperform holding?
Compare earned fees with the USD shortfall versus holding. The calculator shows the break-even earned-fee percentage of initial deposit needed to match holding under its additive assumption. It is neither a pool’s swap-fee tier nor APR/APY; there is no holding-period input or annualization.
Fee earnings depend on the actual trade path, fee rules, active liquidity and position share. Fee yields differ widely between pools and over time, and volume does not guarantee that fees cover divergence or other costs. Review staking rewards and token incentives separately from LP trading fees. Compare protocol/token risks, depeg exposure, gas and applicable US tax records before interpreting any hypothetical result. Primary sources reviewed October 5, 2026: Uniswap v2: LP returns · Uniswap: fees by protocol version · Uniswap: concentrated liquidity · Curve: StableSwap whitepaper
