Impermanent Loss Calculator
Model how token price divergences wipe out liquidity pool earnings before you stake.
Is that 50% APY yield farm actually profitable for you?
Run Your Own Simulation
Adjust the inputs below. Results update instantly. No signup, no data saved — everything runs in your browser.
The Impermanent Loss Formula
For standard Automated Market Maker (AMM) pools (like Uniswap V2 or Raydium), impermanent loss ($IL$) mathematically stems from the price divergence ratio ($k$):
IL = ( 2 * SQRT(k) / (1 + k) ) - 1
(Where $k$ is the ratio of Token A’s price change relative to Token B’s price change).
How it’s used
You input the prices of Token A and Token B exactly when you entered the liquidity pool, and their current (or projected future) prices. The calculator immediately shows you the net-negative effect of providing liquidity.
Why it matters
Yield farming can be deceptive. A pool might offer an advertised 50% APY out of the gate. However, if one token skyrockets in value while the other crashes, the AMM algorithm forces you to mathematically sell your winning token to buy the losing one in order to maintain a 50/50 capital balance.
This calculator reveals if the fees you earn will actually cover the loss you take compared to simply holding the raw tokens in a cold wallet.
Frequently Asked Questions
Want a Deeper Analysis?
These calculators reveal opportunities. Our audit turns them into predictable revenue.
Get Your Free Growth Audit