DeFi Impermanent Loss & LP Yield Calculator.
Interactive DeFi impermanent loss and LP yield calculator. Calculate divergence loss across Uniswap, Raydium, and Aerodrome pools, simulate concentrated liquidity v3 ranges, and determine the exact fee APY required to break even.
Represents your position drag compared to holding ETH & USDC in your cold wallet.
If the pool pays less than 8.4%, impermanent loss will exceed your fee income, and you would earn more holding the tokens.
The AMM Impermanent Loss Curve
Loss percentage relative to price ratio change ($k$). Zero loss occurs only when $k = 1.00$.
AMM Divergence Reference Matrix
Standard 50/50 constant product pools ($x \cdot y = k$) reference table.
| Price Change Ratio | Relative Divergence ($k$) | Impermanent Loss | Position Value vs HODL | Fee APY to Break Even (90d) |
|---|---|---|---|---|
| -80% (0.20x) | 0.20x | -25.46% | 74.54% | 136.6% |
| -50% (0.50x) | 0.50x | -5.72% | 94.28% | 24.3% |
| -25% (0.75x) | 0.75x | -1.02% | 98.98% | 4.1% |
| -10% (0.90x) | 0.90x | -0.14% | 99.86% | 0.6% |
| 0% Parity (1.00x) | 1.00x | 0.00% | 100.00% | 0.0% |
| +25% (1.25x) | 1.25x | -0.62% | 99.38% | 2.5% |
| +50% (1.50x) | 1.50x | -2.02% | 97.98% | 8.2% |
| +100% 2x (2.00x) | 2.00x | -5.72% | 94.28% | 24.3% |
| +200% 3x (3.00x) | 3.00x | -13.40% | 86.60% | 61.9% |
| +400% 5x (5.00x) | 5.00x | -25.46% | 74.54% | 136.6% |
Understanding your results.
A rigorous breakdown of the mathematical equations, market assumptions, and step-by-step calculations powering this tool.
Impermanent loss is the mathematical opportunity cost of providing liquidity compared to holding: IL = [ 2 · √k / (1 + k) ] − 1, where k = (P₁ / P₀) is the price ratio change factor.
In any automated market maker (AMM) operating on the constant product formula (x · y = k), external price changes force arbitrageurs to extract the appreciating asset and deposit the depreciating asset until pool prices match external markets. Providing liquidity is only more profitable than holding (HODL) when the cumulative trading fee APY and farming incentives earned exceed this percentage divergence loss over your investment horizon.
DeFi Liquidity & Divergence Equations
The three mathematical equations below define the exact boundaries of liquidity provision, pool arbitrage, and fee yield profitability:
Where k = (P₁_A / P₁_B) / (P₀_A / P₀_B). Governs 50/50 standard pools across Uniswap v2, SushiSwap, Aerodrome Basic, and Raydium.
Calculates your true net monetary outperformance. If positive, LP fees beat holding; if negative, holding the raw assets in cold storage was superior.
The exact minimum annualized trading fee return required over d days to fully neutralize divergence drag.
Worked Example: Providing $10,000 Liquidity to ETH/USDC with a 100% ETH Rally
Suppose a liquidity provider deposits $10,000 into an ETH/USDC pool on Uniswap when ETH is $3,000. Over a 90-day holding horizon, the pool yields 24.5% fee APY while ETH doubles (+100%) to $6,000:
How to use this tool.
Step-by-step workflow instructions to get the most accurate calculations for your trading strategy.
- Select pool preset: Choose a popular trading pair (e.g. ETH/USDC, SOL/USDC, ETH/BTC) or enter custom token names and prices.
- Input deposit & prices: Enter your total starting liquidity in your preferred currency along with expected price movements.
- Configure fee APY & holding horizon: Input the pool's projected swap fee APY and intended days in the pool to calculate fee offsets.
- Inspect decision verdict: Check the net comparison vs HODL, review the divergence curve, and evaluate the required breakeven APY.
Bybit Web3 & Earn
Automated YieldEarn competitive dual-asset yields and liquidity mining rewards with managed gas fees and streamlined auto-compounding.
Explore Bybit EarnLedger Hardware Security
DeFi Cold StorageProtect your LP tokens and DeFi wallet private keys against blind signing, rogue approvals, and malicious phishing drainers.
Secure with LedgerHow we choose partners. DeFi liquidity provision involves smart contract risk and impermanent loss. We may earn an affiliate commission at no extra cost to you.
Privacy & safety.
Client-side calculation guarantee: All AMM equations, divergence curves, and LP profitability forecasts run 100% inside your web browser. No wallet connections, deposit amounts, or financial parameters are ever sent to remote servers.
Frequently asked questions.
You might also like.
APR to APY Calculator
Convert APR to APY with compound interest simulation.
Crypto Profit & ROI Calculator
Calculate net profit, total ROI, and break-even price after exchange fees.
Staking Rewards Calculator
Project your yield with compound interest.
Crypto Swap & On-Ramp Fee Navigator
Calculate true on-ramp exchange fees and spread markups before trading.