What is impermanent loss in crypto?
Impermanent loss (IL) is a concept primarily associated with decentralized finance (DeFi). Liquidity providers in DeFi should understand this risk to better manage potential losses and plan their strategies effectively.
This article explains what impermanent loss is in crypto, how it works, and how to estimate its impact.
Impermanent loss explained simply
Impermanent loss describes a risk faced by DeFi liquidity providers due to asset volatility. Decentralized exchanges (DEXes) that use automated market makers (AMMs) allow crypto holders to earn returns by contributing assets to liquidity pools—shared pools of token pairs.
Impermanent loss arises from relative price changes between the two assets in a trading pair. AMMs automatically maintain a balance between the assets, which can create a difference in value compared to simply holding them in a wallet.
Key points about impermanent loss
- Impermanent loss reflects only changes in token value — trading fees earned from the pool may offset it and result in a net profit.
- The loss is “impermanent” while funds remain in the pool, but becomes permanent if assets are withdrawn while prices have changed.
- Impermanent loss occurs when asset prices change from their original deposit levels, whether they rise or fall.
How does impermanent loss work
Impermanent loss happens because AMMs rebalance the ratio of tokens in a trading pair when prices change. Users deposit assets into liquidity pools of token pairs, such as Wrapped Bitcoin/Ether (WBTC/ETH) or Uniswap/Ether (UNI/ETH). Most AMMs are designed to maintain an equal (50/50) value between tokens. When token prices change due to market volatility, the pool automatically adjusts the amount of each token using a mathematical formula.
For example, in a WBTC/ETH pool, if the price of ETH rises, the pool automatically sells some ETH to keep the values balanced. If the price of ETH falls, the pool buys more ETH. This rebalancing keeps the pool’s price in line with the market, ensuring traders can always swap tokens with enough liquidity.
As a result, the liquidity provider ends up with more of the lower-value token and less of the higher-value token compared to the original deposit. Impermanent loss is the difference between the value of assets in the pool and their value if held separately in a wallet.
How to calculate impermanent loss
The amount of impermanent loss depends on the DeFi platform and how its underlying algorithm works. The most commonly used AMM model is the constant product formula: x * y = k, where:
- x represents the amount of one token in a trading pair
- y represents the amount of the other token in the pair
- k is a constant that represents the product of the token reserves in the pool
Before adding assets to a pool, impermanent loss calculators can be used to estimate potential risks. Tools such as CoinGecko’s impermanent loss calculator help analyze how price changes may affect liquidity positions and support more informed decisions.
How to avoid impermanent loss
Completely avoiding impermanent loss is difficult because cryptocurrency prices are volatile and pools rebalance when prices change. Impermanent loss becomes zero only if prices return to their original deposit levels or if both assets in a pair are stablecoins maintaining a 1:1 ratio.
However, crypto users can reduce risk by following several strategies:
- Choose highly liquid DEXes
High liquidity allows the pool to handle large trades without drastic price swings, reducing extreme rebalancing and lowering risks. - Deposit tokens with low volatility
Tokens that change in price slowly or remain stable, such as stablecoins, cause fewer ratio adjustments in the pool, limiting loss. - Rebalance the position
Monitor token values in the pool and adjust allocations as prices change to reduce risk. - Use fixed-return products
Switching from liquidity pools to more predictable passive yield strategies is another option. Savings products such as Coinhold by EMCD allow crypto assets to be stored with fixed returns and no exposure to impermanent loss.
Wrapping up
Providing assets to liquidity pools generates trading fees; however, the risk of impermanent loss should not be ignored. It represents the opportunity cost that occurs when token prices in a liquidity pool change relative to their value at deposit.
While impermanent loss can reduce overall returns, strategies such as using stablecoin pools, focusing on low-volatility tokens, or switching to fixed-return products can help mitigate its impact.
FAQ
What causes impermanent loss in DeFi?
Impermanent loss occurs when token prices in a liquidity pool change relative to their value at deposit, creating a difference compared to simply holding them.
What is the difference between impermanent and permanent loss?
IL is a theoretical loss that exists only while assets remain in the pool. It becomes permanent when the assets are withdrawn.
Does impermanent loss happen only in DeFi?
Yes, it is specific to DeFi liquidity pools that use automated market makers, where token ratios are continuously adjusted.
How to tell if earned trading fees outweigh IL?
Impermanent loss calculators or manual methods can be used to compare total trading fees earned with potential loss.
How to calculate impermanent loss?
AMMs use x × y = k to rebalance pools, and the difference between holding tokens and keeping them in the pool represents impermanent loss. Tools like CoinGecko's calculator let users estimate impermanent loss by inputting the token pair, deposit amount, and current or expected prices.
How to avoid losses in DeFi?
Reduce potential losses by using stablecoin pairs, choosing high-liquidity DEXes, rebalancing positions as prices change, or switching to fixed-return products.