Tutorialintermediate

    How to Calculate Impermanent Loss: Formula and Examples

    How to calculate impermanent loss in an AMM pool with the standard formula, worked examples, and ways to reduce it.

    25 min read

    Updated 7 November 2026

    Level 2 · PractitionerAssumes you can use a wallet and an exchange.
    DeFi Fundamentals
    3 to read first · 3 next steps
    You deposit tokens into an attractive liquidity pool, watch trading fees accumulate over several weeks, and expect steady yield—until you withdraw your funds and realize your total portfolio value is lower than if you had simply kept the original tokens untouched in cold storage. This divergence is the mathematical siphon known as impermanent loss. To evaluate liquidity pool profitability accurately, you must be able to deploy the **calculate impermanent loss formula** before deploying capital. Impermanent loss (IL) represents an option-like cost of market making rather than a direct smart-contract hack or balance liquidation. Automated market makers (AMMs) enforce algorithmic pricing rules that continuously rebalance pool assets as market prices shift outside the pool. Understanding how this divergence functions against a baseline buy-and-hold strategy is essential for every decentralized finance (DeFi) participant. Mastering the mathematical mechanics behind constant-product market makers allows you to quantify downside risk, model exact break-even yields across volatile markets, and determine whether accrued swap fees truly outweigh asset rebalancing costs.

    📋 What You'll Learn

    • The core mechanics of the constant-product invariant formula ($x \cdot y = k$) and how it produces divergence loss
    • How to derive and apply the exact impermanent loss formula by hand or in a spreadsheet
    • The Net Profit Equilibrium Framework to evaluate swap fee yield versus divergence cost
    • Step-by-step procedures to compute IL manually or track it automatically via real-time analytics platforms
    • Strategic hedging and pool-selection methods to preserve capital

    ⏱️ Estimated Reading Time: 18 minutes

    📊 Difficulty: Intermediate (Level 2/4)

    The Mechanics of the Silent Leak: Why Impermanent Loss Occurs

    To evaluate how impermanent loss drains capital relative to holding tokens, you must analyze the structural mechanics of decentralized exchanges. The classic Automated Market Maker operates on an invariant curve that forces the pool to act as a counter-trader against broader market movements.

    The Invariant Engine: How x * y = k Governs Pool Balances

    The standard constant-product Automated Market Maker model, popularized by protocols such as Uniswap, operates via a simple invariant equation:

    x * y = k

    Here, x represents the quantity of the first asset (such as ETH), y represents the quantity of the second asset (such as DAI), and k is a fixed mathematical constant that must remain unchanged during token swaps (excluding fees). When a trader buys asset x from the pool, they must deposit an offsetting amount of asset y, driving the reserve of x down and y up.

    The relative price of the tokens inside the pool is derived directly from the ratio of their reserves:

    Price of Token X (in terms of Token Y) = y / x

    This dynamic operates like a seesaw. If the external open-market price of Token X rises relative to Token Y, an imbalance immediately appears between the pricing inside the pool and the pricing on external secondary markets.

    Arbitrageurs as the Balancing Mechanism: Where the Diverged Value Goes

    Decentralized liquidity pools do not consult external price oracles to update their internal quotations. Instead, they rely entirely on external arbitrageurs to correct pricing disparities.

    When the price of Token X increases on external exchanges, Token X becomes temporarily underpriced within the liquidity pool. Arbitrageurs step in to purchase the underpriced Token X from the pool using Token Y, immediately selling Token X on external venues for a profit. They continue extracting Token X until the ratio y / x aligns perfectly with the prevailing market price.

    Through this process, the AMM automatically sells your appreciating token at a discount while accumulating the depreciating (or slower-appreciating) token. The lost profit from selling the rising asset too early is what forms impermanent loss. For a deeper look at these mechanics, read our tutorial on understanding impermanent loss in DeFi liquidity pools for beginners.

    HODL vs. LP: Setting Up the Counterfactual Baseline

    Impermanent loss is not defined by whether your fiat-denominated portfolio balance goes up or down. Rather, it measures the opportunity cost of providing liquidity compared to holding the exact same starting assets in a wallet without touching them.

    The mathematical definition of impermanent loss ($IL$) is expressed as:

    IL = (V_LP - V_HODL) / V_HODL

    Where:

    • V_LP is the current market value of the assets remaining in the liquidity pool.
    • V_HODL is the market value of the initial assets if they had simply been held outside the pool.

    The condition is termed "impermanent" because if the price ratio between the two assets returns to its original entry point, the reserve distribution resets and the loss disappears entirely. However, if you withdraw your liquidity while the price ratio is diverged, the divergence loss becomes permanent and irreversible.

    The Mathematical Derivation: First-Principles IL Formula

    Calculating divergence risk requires translating reserve changes into an explicit pricing relationship. Rather than tracking individual asset quantities over time, you can derive a universal formula based solely on the magnitude of the relative price shift.

    Defining Variables: Initial Reserves, Price Ratios, and Pool Value

    Let initial reserves of Token X and Token Y be denoted as $x_0$ and $y_0$. Under the constant product rule:

    k = x_0 * y_0

    The initial price of Token X in terms of Token Y is:

    P_0 = y_0 / x_0

    This implies that:

    y_0 = x_0 * P_0

    Substituting into the constant product formula gives:

    k = x_0 * (x_0 * P_0) = (x_0)^2 * P_0

    x_0 = sqrt(k / P_0)

    y_0 = sqrt(k * P_0)

    The initial portfolio value in terms of Token Y is:

    V_0 = x_0 * P_0 + y_0 = sqrt(k / P_0) * P_0 + sqrt(k * P_0) = 2 * sqrt(k * P_0)

    The Mathematical Proof: Deriving the Exact Formula

    Suppose the relative market price shifts from $P_0$ to a new price $P_1$. We define the price ratio multiplier as:

    r = P_1 / P_0

    Following arbitrage rebalancing, the new pool reserves $x_1$ and $y_1$ must satisfy:

    x_1 = sqrt(k / P_1)

    y_1 = sqrt(k * P_1)

    The new total value of the assets inside the liquidity pool ($V_{LP}$) measured in terms of Token Y is:

    V_LP = x_1 * P_1 + y_1 = sqrt(k / P_1) * P_1 + sqrt(k * P_1) = 2 * sqrt(k * P_1)

    Expressing $P_1$ as $r \cdot P_0$:

    V_LP = 2 * sqrt(k * r * P_0) = 2 * sqrt(k * P_0) * sqrt(r)

    Now consider the counterfactual holding value ($V_{HODL}$), which assumes the liquidity provider held the original quantities ($x_0$ and $y_0$) without depositing them:

    V_HODL = x_0 * P_1 + y_0 = x_0 * (r * P_0) + y_0

    Recall that $x_0 \cdot P_0 = y_0 = \sqrt{k \cdot P_0}$. Substituting these relationships:

    V_HODL = sqrt(k * P_0) * r + sqrt(k * P_0) = sqrt(k * P_0) * (1 + r)

    We now evaluate the ratio of pool value to holding value:

    V_LP / V_HODL = [2 * sqrt(k * P_0) * sqrt(r)] / [sqrt(k * P_0) * (1 + r)]

    The term $\sqrt{k \cdot P_0}$ cancels out completely, leaving:

    V_LP / V_HODL = (2 * sqrt(r)) / (1 + r)

    Subtracting 1 yields the standard formula to **calculate impermanent loss formula**:

    IL = [2 * sqrt(r) / (1 + r)] - 1

    To state this as a percentage, multiply the result by 100.

    Interpreting the IL Curve: Symmetrical Penalty on Asymmetrical Price Action

    By reviewing the derived equation, three fundamental mathematical properties become clear:

    1. Strictly Non-Positive: For any positive real number $r \neq 1$, the arithmetic mean $\frac{1 + r}{2}$ is strictly greater than the geometric mean $\sqrt{r}$. Consequently, $\frac{2 \cdot \sqrt{r}}{1 + r} < 1$, which means $IL \le 0$ at all times. You can never outperform the counterfactual baseline purely from asset rebalancing.
    2. Ratio Invariance: The equation depends entirely on the relative price change $r$, not the individual fiat values of the assets. If both tokens double in dollar terms, $r = 1$ and $IL = 0\%$.
    3. Reciprocal Equivalence: A price surge of factor $r$ produces the exact same percentage impermanent loss as an equivalent drop of factor $\frac{1}{r}$. A doubling in relative price ($r = 2.0$) produces an identical loss percentage as a halving ($r = 0.5$).

    To explore how advanced Automated Market Makers approach this structural drag, consult our comprehensive guide on what Curve Finance is and how stablecoin DEXs work.

    The Quick-Reference Benchmark: Impermanent Loss Sensitivity Matrix

    When monitoring active positions, calculating roots by hand is impractical. The sensitivity matrix below displays the exact percentage divergence loss across standardized price shifts, spanning both upward surges ($r > 1$) and downward corrections ($r < 1$).

    • 1.25x price shift (or 0.80x drop): -0.60% IL
    • 1.50x price shift (or 0.67x drop): -2.02% IL
    • 1.75x price shift (or 0.57x drop): -3.76% IL
    • 2.00x price shift (or 0.50x drop): -5.72% IL
    • 2.50x price shift (or 0.40x drop): -9.66% IL
    • 3.00x price shift (or 0.33x drop): -13.40% IL
    • 4.00x price shift (or 0.25x drop): -20.00% IL
    • 5.00x price shift (or 0.20x drop): -25.46% IL
    • 10.00x price shift (or 0.10x drop): -42.50% IL

    Directional Neutrality: Visualizing the Reciprocal Symmetry

    The mathematical symmetry between an upward price breakout and a downward price collapse is best understood through reciprocal pairs:

    • $r = 2.0$: $2 \cdot \frac{\sqrt{2}}{1 + 2} - 1 = \frac{2.8284}{3} - 1 = 0.9428 - 1 = -0.0572$ (-5.72%)
    • $r = 0.5$: $2 \cdot \frac{\sqrt{0.5}}{1 + 0.5} - 1 = \frac{1.4142}{1.5} - 1 = 0.9428 - 1 = -0.0572$ (-5.72%)

    Whether your volatile token doubles in price relative to its stable counterpart or plummets by half, the opportunity cost compared to holding both tokens remains exactly 5.72%.

    Heuristics for Active Traders: Mental Math Rules of Thumb

    When evaluating market moves under time constraints, keep these three mental heuristics in mind:

    1. Price Deviation Rule: Minor relative price deviations generate minimal impermanent loss. In active markets, standard fee generation typically absorbs this level of divergence quickly.
    2. Moderate Price Moves: Moderate price surges or drops result in limited impermanent loss, which can often be offset by fee returns over time.
    3. The 5x Danger Zone: When relative prices shift beyond 5x in either direction, impermanent loss exceeds 25%. Overcoming divergence losses of this scale requires exceptionally high trading volumes and fee yields.

    The Net Profit Equilibrium Framework: Fees vs. Divergence Loss

    Providing liquidity is fundamentally an exchange of market risks. Think of trading fees as tollbooth revenue and impermanent loss as vehicular wear-and-tear. High traffic volume justifies operating the tollbooth only if your accumulated fees outpace maintenance costs.

    The Net ROI Equation for Liquidity Providers

    Your true bottom line as a liquidity provider is determined by the Net Profit Equilibrium formula:

    Net ROI (%) = Fee Yield (%) + Incentive Rewards (%) - Impermanent Loss (%)

    Where:

    • Fee Yield (%): The annualized percentage return earned directly from protocol swap fees (such as 0.30% per trade in standard constant-product pools).
    • Incentive Rewards (%): Any secondary governance tokens distributed to liquidity providers.
    • Impermanent Loss (%): The divergence drag derived from our standard formula: $|2 \cdot \frac{\sqrt{r}}{1 + r} - 1| \cdot 100$.

    If fee income and token incentives fail to exceed impermanent loss, your position will underperform a simple buy-and-hold strategy, resulting in negative net alpha.

    Deriving the Break-Even APY Threshold

    To calculate whether a pool's advertised APY offers a positive expected return, you can calculate the minimum daily fee rate required to offset anticipated asset divergence.

    Suppose you deposit funds into an ETH/DAI pool on Ethereum (which relies on Proof of Stake consensus with a 12s block time). If historical volatility data suggests that ETH may experience a 1.75x price shift relative to DAI over the course of a 90-day campaign, you can calculate your break-even threshold as follows:

    1. Calculate total expected impermanent loss based on the expected price ratio change.
    2. Divide the loss by the investment duration: $3.76\% / 90 \text{ days} = 0.0418\% \text{ daily fee yield}$.
    3. Annualize the required rate: $0.0418\% \cdot 365 = 15.25\% \text{ Break-Even Fee APY}$.

    If the pool offers an organic swap fee APY below 15.25%, deploying capital into that pool will expose you to net underperformance relative to holding your starting assets outside the AMM.

    Volume-to-Liquidity (V/L) Ratio: Identifying Sustainable Pools

    Because trading fees depend on trading volume, high nominal yields can be misleading if a pool lacks trading activity. To determine whether fee income will remain sustainable, track the Volume-to-Liquidity (V/L) ratio:

    V/L Ratio = 24-Hour Trading Volume / Total Value Locked (TVL)

    A higher V/L ratio indicates rapid capital turnover and steady fee generation. If a pool has a fee tier of 0.30% and maintains an average daily V/L ratio of 0.20 (generating $20,000 in daily volume for every $100,000 in TVL), the pool yields an approximate annual return of:

    Daily Return = 0.20 * 0.0030 = 0.0006 (0.06% per day)

    Annualized Return = 0.06% * 365 = 21.90% APY

    This fee stream provides a steady buffer against market divergence up to a 2x price shift within a single year.

    Step-by-Step: Calculate Impermanent Loss: Complete Formula and Practical Examples

    There are two distinct workflows for evaluating impermanent loss. Select the methodology that best matches your technical setup and portfolio goals:

    🧮 Option A: Manual Algorithmic Calculation

    Best for: Custom financial models, spreadsheet simulations, smart-contract auditing, and pre-deposit risk evaluations.

    Cost: Free (Spreadsheet / Mathematical Calculation)

    Jump to steps →

    📊 Option B: Automated Portfolio Tracking

    Best for: Daily operations, live positions, multi-pool tracking, and automated exit notifications.

    Cost: Free tier / Freemium dashboards

    Jump to steps →

    Option A: Manual Algorithmic Calculation - Step by Step

    1. Step 1: Record initial asset reserves and entry prices
      Document the initial token quantities deposited into the smart contract and note their prevailing exchange prices.
      • Assume you deposit into an ETH/DAI pool when 1 ETH = 2,000 DAI.
      • Your starting capital includes 5 ETH and 10,000 DAI (total entry value: 20,000 DAI).
      • Record entry price: P_0 = 2,000 DAI.
      Expected output: A baseline balance sheet confirming your starting quantities ($x_0 = 5$, $y_0 = 10,000$) and invariant product $k = 5 \cdot 10,000 = 50,000$.
    2. Step 2: Determine current market price and compute price ratio (r)
      Observe the updated open-market exchange rate between the two paired assets on reliable spot markets or decentralized analytics feeds.
      • Suppose the market price of ETH surges to 4,000 DAI ($P_1 = 4,000$).
      • Calculate the relative price ratio shift: r = P_1 / P_0 = 4,000 / 2,000 = 2.0.
      Expected output: A discrete price ratio multiplier ($r = 2.0$).
    3. Step 3: Calculate the counterfactual HODL portfolio value (V_HODL)
      Determine what your initial assets would be worth today if you had kept them safe in a hardware wallet instead of providing liquidity.
      • Calculate the updated value of your initial ETH based on the current market price.
      • Calculate the value of your initial DAI: 10,000 DAI = 10,000 DAI.
      • Sum the components: V_HODL = 20,000 DAI + 10,000 DAI = 30,000 DAI.
      Expected output: A baseline benchmark value representing your counterfactual holding position ($V_{HODL} = 30,000 \text{ DAI}$).
    4. Step 4: Compute updated pool reserves and pool portfolio value (V_LP)
      Calculate the rebalanced token balances inside the AMM pool using the invariant constant $k$.
      • Compute new ETH reserves: x_1 = sqrt(k / P_1) = sqrt(50,000 / 4,000) = sqrt(12.5) ≈ 3.5355 ETH.
      • Compute new DAI reserves: y_1 = sqrt(k * P_1) = sqrt(50,000 * 4,000) = sqrt(200,000,000) ≈ 14,142.14 DAI.
      • Calculate total current pool value: V_LP = (3.5355 ETH * 4,000 DAI) + 14,142.14 DAI = 14,142 DAI + 14,142.14 DAI ≈ 28,284.27 DAI.
      Expected output: Rebalanced token counts illustrating that the pool automatically sold ETH to accumulate additional DAI.
    5. Step 5: Apply the impermanent loss formula
      Use the derived equation to calculate your exact percentage divergence:
      • Execute the formula: IL = [2 * sqrt(2.0) / (1 + 2.0)] - 1.
      • Compute numerator: 2 * 1.41421356 = 2.828427.
      • Compute denominator: 1 + 2.0 = 3.0.
      • Divide and subtract 1: (2.828427 / 3.0) - 1 = 0.942809 - 1 = -0.05719 (-5.72%).
      Expected output: The result verifies that $V_{LP}$ (28,284.27 DAI) is exactly 5.72% lower than $V_{HODL}$ (30,000 DAI), reflecting an opportunity cost of 1,715.73 DAI.
    6. Step 6: Build an automated tracking model in your spreadsheet
      To evaluate multiple scenarios quickly, construct an automated model using spreadsheet formulas:
      • Cell A2: Entry Price Token A (e.g., 2000)
      • Cell B2: Current Price Token A
      • Cell C2 (Price Ratio): =B2/A2
      • Cell D2 (Impermanent Loss %): =(2*SQRT(C2)/(1+C2))-1
      Expected output: A dynamic spreadsheet cell displaying -5.72% that updates automatically whenever market prices shift.

    Option B: Automated Portfolio Tracking - Step by Step

    1. Step 1: Connect your Web3 wallet to an analytics dashboard
      Navigate to a specialized portfolio tracking interface such as Revert Finance (revert.finance), APY.vision (apy.vision), or DeBank (debank.com).
      • Click the Connect Wallet button in the upper right-hand corner of the page.
      • Select your provider (such as MetaMask, Coinbase Wallet, or WalletConnect).
      • Sign the standard read-only signature request in your wallet. Confirm the connection prompt without sharing private keys or approving token spending allowances.
      Expected output: The platform interface loads your complete on-chain history across active and historic liquidity pool positions.
    2. Step 2: Locate your active liquidity pool position
      Select the specific blockchain network hosting your position (such as Ethereum mainnet, Base, or Arbitrum) and open the pool dashboard.
      • Click on the Pools or Positions tab on the main navigation menu.
      • Locate your target trading pair (such as ETH/DAI or ETH/USDC).
      • Click directly on the position to open the comprehensive analytics dashboard.
      Expected output: A detailed view showing your current liquidity holdings, initial capital deposits, and transaction timestamps.
    3. Step 3: Analyze the net PnL breakdown
      Navigate to the performance summary section of the position dashboard to review the protocol's accounting metrics.
      • Locate the Fee APY / Accrued Fees metric to confirm the raw dollar value of swap fees collected since entry.
      • Find the Divergence Loss / Impermanent Loss display, which compares your current position against the counterfactual HODL benchmark.
      • Review the Net PnL line item. This metric calculates your true return by subtracting divergence loss from total accrued swap fees.
      Expected output: Clear confirmation of whether your position has achieved net profitability after factoring in impermanent loss.
    4. Step 4: Configure real-time divergence and exit alerts
      Set automated alerts to notify you when asset prices diverge past your break-even threshold.
      • Click the Alerts or Settings gear icon on the position dashboard.
      • Select Price Ratio Deviation Alert.
      • Enter your maximum risk tolerance threshold (such as a 1.50x or 2.00x price ratio divergence).
      • Link your preferred notification channel (such as a Telegram bot handle, Discord webhook, or email address) and click Save Alert.
      Expected output: A confirmation toast message verifying that automated monitoring is active, ensuring you are notified before divergence outpaces fee generation.

    Strategic Risk Mitigation: Protecting LP Capital from Severe IL

    Impermanent loss cannot be entirely eliminated in standard constant-product AMMs when prices move independently. However, structured liquidity strategies can significantly mitigate its impact on your portfolio.

    Pair Selection Strategies: Correlated Assets vs. Volatile Pairs

    The simplest way to control impermanent loss is to pair assets that trade within tight, predictable valuation bands. When two tokens maintain a near-constant price ratio ($r \approx 1.0$), divergence loss remains near zero.

    • Stablecoin Pools: Pairs such as DAI/USDC or USDT/USDC experience negligible impermanent loss under normal market conditions, since their target exchange rate remains roughly 1.0. Read our guide to avoiding impermanent loss in DeFi for deeper insights into stable pairing.
    • Correlated Pegged Assets: Pairs featuring liquid staking tokens alongside their native base asset (such as wstETH/ETH) exhibit minimal divergence risk. The price ratio shifts slowly and predictably based on staking yields rather than erratic market volatility.
    • High-Beta Traps: Pairing an established asset with a micro-cap governance token can expose providers to severe divergence. If the governance token declines by 90% against ETH, your position will automatically sell ETH to absorb the depreciating asset, creating significant impermanent loss.

    Single-Sided Staking and Dynamic Weighting

    Alternative AMM designs alter the standard 50/50 balance requirement to help manage exposure:

    • Asymmetric Pools (e.g., Balancer 80/20): Weighted pools allow providers to supply liquidity with uneven asset splits, such as 80% Token A and 20% Token B. These pools reduce divergence risk relative to the dominant asset, dampening impermanent loss during major price breakouts.
    • Single-Sided Staking Protocols: Certain platforms allow users to deposit a single asset into liquidity vaults, relying on internal rebalancing or protocol reserves to mitigate divergence risk.

    Concentrated Liquidity: Amplified Fees vs. Amplified Divergence

    Concentrated liquidity protocols, such as Uniswap v3, allow liquidity providers to deploy capital within customized price ranges rather than distributing it from zero to infinity. This concentrated capital creates a sharp trade-off:

    By concentrating liquidity within a narrow price band, your capital works with much higher efficiency, generating higher fee income per dollar deposited. However, if the market price breaks outside your target range, your position converts entirely into the single depreciating asset, and trading fee accumulation halts. This amplifies both fee returns and divergence loss compared to standard constant-product pools.

    Hedging Divergence Risk via Perpetual Swaps and Options

    Quantitative liquidity providers often hedge their pool exposure using external derivative contracts. Because impermanent loss behaves similarly to holding a short volatility (short gamma) position, it can be offset through structured hedges:

    • Perpetual Short Positions: When providing liquidity to an ETH/USDC pool, taking a systematic short position on ETH via perpetual contracts can neutralize downside market exposure, leaving the provider focused primarily on fee capture.
    • Long Volatility Options: Purchasing out-of-the-money call and put options can establish a protective hedge. If prices experience a sharp breakout in either direction, the gains from your options contracts can help offset the resulting impermanent loss.

    For additional approaches to portfolio defense, consult our detailed analysis on protecting your assets from impermanent loss.

    ⚠️ Common Mistakes to Avoid

    • Confusing Overall Portfolio Drawdowns with Impermanent Loss: Impermanent loss measures your portfolio value relative to holding the original tokens outside the pool—not relative to the US Dollar. If the entire crypto market drops by 50% but the price ratio between both pooled tokens remains unchanged, your impermanent loss is zero, even though your dollar balance has declined.
    • Chasing Unsustainable Triple-Digit APYs: High advertised APYs on newly launched pairs are frequently driven by inflationary reward emissions. If the reward token declines sharply against the paired asset, divergence loss and token depreciation can quickly erase any yield advantages.
    • Overlooking On-Chain Gas Fees: Deploying, rebalancing, and withdrawing liquidity requires smart contract transactions that consume network gas fees. On networks like Ethereum mainnet, frequent rebalancing can erode fee profits on smaller positions. Keep gas costs in mind, or consider Layer-2 rollups like Base.
    • Assuming All Stablecoins Maintain Their Pegs Perfectly: Stablecoin pairs carry negligible impermanent loss only when their exchange pegs hold firm. If a stablecoin undergoes a fundamental depegging event, the constant-product formula will automatically sell off the healthy stablecoin to accumulate the failing asset.
    • Leaving Concentrated Liquidity Ranges Unmonitored: In concentrated liquidity pools, positions that move out of range stop earning trading fees entirely while remaining exposed to maximum divergence loss. Inactive ranges must be actively monitored and adjusted.

    Frequently Asked Questions

    Is impermanent loss actual, realized loss or just paper loss?

    Impermanent loss remains unrealized as long as your assets stay within the liquidity pool. If market prices return to your original entry ratio, the divergence loss resets to zero. However, the moment you withdraw your LP tokens from the smart contract, the loss is locked in permanently, altering your final token balances.

    Does impermanent loss apply if both tokens in a pair drop or rise by the exact same percentage?

    No. Impermanent loss is driven exclusively by the relative price ratio between the two pooled assets ($r = P_1 / P_0$), not by their broader performance against fiat currencies. If Token A and Token B both gain 300% against the US Dollar, their relative price ratio remains $1.0$, resulting in zero impermanent loss.

    Can trading fees and liquidity mining rewards make up for severe impermanent loss?

    Yes. Providing liquidity becomes profitable whenever total accumulated swap fees and liquidity rewards exceed total divergence loss. For example, if fee generation outpaces divergence loss over a given period, the liquidity provider achieves a positive net return relative to holding.

    How does impermanent loss work in concentrated liquidity pools?

    In concentrated liquidity pools like Uniswap v3, liquidity providers concentrate capital within explicit price boundaries. This focus increases fee yields within that range, but it also concentrates divergence loss. If market prices breach your specified range boundaries, your capital converts entirely into the lower-performing asset, and all fee accrual pauses until prices return to the band.

    When should an LP cut losses and withdraw liquidity from an imbalanced pool?

    An LP should consider exiting a position if one asset suffers a structural impairment (such as a governance exploit, economic depegging, or loss of market adoption) that makes a price recovery unlikely. Remaining in the pool causes the AMM to continuously accumulate the failing token, exposing your capital to sustained losses.

    Further reading

    Keep learning

    The theory behind it

    Optimistic Rollups vs. ZK-Rollups in DeFi: Differences

    Compare optimistic vs ZK-rollups in DeFi to understand transaction speeds, finality, fraud proofs, and security for your capital.

    intermediate24 min read
    The theory behind it

    What is Web3 and Why Does it Matter for Decentralized

    Discover the essential connection between Web3 and DeFi. Learn about core technologies, practical applications, and why Web3 is vital for the future of finance.

    intermediate24 min read
    Related

    How to Avoid Impermanent Loss in DeFi: Key Strategies

    Explains impermanent loss for liquidity providers and strategies to reduce it, including concentrated liquidity and delta-neutral farming.

    advanced20 min read
    Related

    Understanding Impermanent Loss

    What impermanent loss is, why a liquidity provider can end up behind simply holding the assets, and ways to limit it.

    intermediate14 min read
    Next level

    How to bridge crypto assets across different blockchains

    Shows how to move crypto between blockchains using bridges, and which risks, such as hacks and lost funds, to check for first.

    advanced34 min read
    Same topic

    Navigating Impermanent Loss: A Guide for DeFi Liquidity

    Impermanent loss is the dirty secret of DeFi liquidity provision: it quietly erodes portfolio value even as traders chase yield in automated market makers like Uniswap and Curve. With the DeFi sector now topping $45 billion in market cap and daily volumes of $2.3 billion (CoinGecko, June 2024), understanding and managing this invisible enemy is no longer optional—it's essential. Drawing on war stories from industry insiders, technical breakdowns, and hard-won lessons from real users, this comprehensive guide unpacks impermanent loss from its Uniswap genesis to the latest protocol innovations and practical risk management strategies. Whether you're a battle-hardened LP or a first-time farmer, this guide arms you with the insights and actionable steps needed to navigate DeFi's most misunderstood risk—without getting rekt.

    intermediate15 min read