Liquidity Pool Divergence Loss Calculator
Enter your deposit value and how much one token's price moved to see your divergence loss versus holding.
Result
How to use
- Enter your values in the fields above.
- Press Calculate to see your result instantly.
- Use the Share button to copy a link to your result.
About this calculator
Divergence loss, more commonly called impermanent loss, is what happens when you deposit two tokens into a 50/50 automated market maker (AMM) liquidity pool and their price ratio changes relative to when you deposited. Because the AMM's constant-product formula automatically rebalances the pool by selling the token that rises and buying the one that falls, you end up holding less of the appreciating token than if you had simply held both assets in your wallet. The standard formula expresses the loss as a function of the price ratio r: loss equals 2 times the square root of r, divided by (1 plus r), minus 1.
Liquidity providers on decentralized exchanges like Uniswap or PancakeSwap need this number to judge whether the trading fees and yield-farming rewards they earn from providing liquidity are enough to offset the divergence loss caused by price movement — a pool with two highly correlated tokens (like two stablecoins) has very low divergence loss, while a pool pairing a volatile token against a stable one can suffer heavy losses if the volatile side makes a large move.
This calculator takes your deposit value and the percentage price change of one token and returns your divergence loss in both percentage and dollar terms compared with simply holding the tokens.
Was this helpful?
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
No calculators found
Comments (0)