Skip to main content

How Is Impermanent Loss Calculated?

Impermanent loss is calculated by comparing the value of the assets if they had been held outside the pool versus their current value within the pool. The calculation is based on the ratio of the two assets' prices at the time of deposit versus the time of withdrawal.

The common formula is derived from the constant product formula.

What Is the Difference between a Hot Wallet and a Cold Wallet in Key Generation?
What Is Impermanent Loss in the Context of Liquidity Provision for Tokenized Derivatives?
What Is ‘Impermanent Loss’ for a Liquidity Provider in a Smart Contract-Based DEX Pool?
What Is the Risk of ‘Impermanent Loss’ in DeFi?