Impermanent loss (IL) is the most common reason a liquidity position ends up worth less than simply holding the same tokens. Most explanations stop at a formula and never show the effect in dollars. Suppose you deposit $1,000 into a 50/50 ETH/USDC pool: 0.25 ETH at an illustrative price of $2,000, plus 500 USDC. If ETH doubles to $4,000, simply holding would leave you with $1,500. Your LP position would be worth $1,414.21 plus fees. The missing $85.79 is impermanent loss. This guide shows you how to calculate impermanent loss for any pool, in dollars, in under five minutes.
Perhaps you've looked at your LP dashboard and felt you were losing money in a way you couldn't see. That doesn't mean you were careless. The loss is real, but it is also predictable. You can measure it, price it against the fees you earn, and reduce it by choosing the right pool and setup.
By the end of this guide you will be able to do three things. You will calculate IL for any pool, both as a percentage and in dollars. You will know whether the fees are likely to beat it before you deposit. And you will have practical ways to shrink it, including managing a Uniswap v3 range without touching code. One caveat up front: IL cannot be eliminated. Sometimes the smartest move is not to provide liquidity at all, and this guide shows you how to tell.
💵 Dollar check: You can reproduce every number in this guide in a spreadsheet. All prices are illustrative, not market data. If your results don't match, the step-by-step sections show where the difference comes from.
Overview: Follow One $1,000 Deposit Through Every Scenario
📋 What You'll Learn
- How to calculate impermanent loss as a percentage and in dollars, using one square root
- How to check your result by recomputing the pool's rebalanced token balances
- How to work out a pool's breakeven fee APR before depositing
- Eight practical ways to reduce IL, plus when to stay out entirely
- How to manage a Uniswap v3 price range using only the interface
- A 5-minute weekly routine for monitoring and exiting safely
⏱️ Estimated Time: About 30 minutes to read, about 45 minutes with hands-on practice
📊 Difficulty: Beginner–Intermediate (2/5)
Every scenario below uses the same three-column ledger: HODL value | LP value before fees | LP value after fees. The central question is simple: do the fees I earn beat the IL I'll likely suffer? To answer it, this guide uses one profit equation throughout:
Net LP Return = Fees + Incentives − IL − Gas
💡 In plain English: IL is a predictable cost of being a market maker. A shop carries inventory risk in the same way. It is not a mysterious bug, and it can be priced.
Time and Difficulty
| Item | Detail |
|---|---|
| Reading time | About 30 minutes |
| Hands-on practice | About 45 minutes |
| Difficulty | 2/5 |
| Math required | Basic arithmetic and one square root. A phone calculator is enough. |
The 5-Phase Process at a Glance
- Understand: what IL is and why the pool causes it.
- Calculate: turn a price change into a dollar figure.
- Compare with fees: run the $1,000 test and find your breakeven APR.
- Minimize: choose lower-IL setups, including v3 ranges.
- Monitor and exit: follow a weekly check routine and know your exit signals.
Step-by-Step: Calculate and Minimize Impermanent Loss in Liquidity Pools
The process runs in five phases. Phase 1 builds the intuition you need so the math in Phase 2 makes sense rather than feeling like magic.
Phase 1: The One-Sentence Definition
Impermanent loss is the gap between what your LP position is worth and what you'd have if you had simply held the same tokens. It happens because the pool automatically sells the token that's rising and buys the one that's falling.
The pool behaves like a self-rebalancing robot. It always keeps the value of your position split 50/50, whatever the market does. In a sideways market that rebalancing is harmless. In a trending market it is costly.
Why the Pool Rebalances Against You (Arbitrageurs and x·y=k)
The pool doesn't watch outside prices. It only knows its own balances. When ETH rises on other exchanges, ETH inside the pool is temporarily cheap. Arbitrageurs buy that cheap ETH from the pool until its price matches the market. Each purchase removes ETH and adds USDC. You end up holding less of the winner and more of the loser, which means you sold "too early."
Hypothetical example: All figures are illustrative. Suppose you deposit 0.25 ETH at $2,000 plus 500 USDC, so k = 0.25 × 500 = 125. ETH then rises to $4,000.
| Balance | At deposit (ETH $2,000) | After rebalancing (ETH $4,000) |
|---|---|---|
| ETH | 0.25 | √(125 ÷ 4,000) = 0.17678 |
| USDC | 500 | √(125 × 4,000) = 707.11 |
| Total value | $1,000 | 0.17678 × 4,000 + 707.11 = $1,414.21 |
The pool sold 0.25 − 0.17678 = 0.07322 ETH for 707.11 − 500 = 207.11 USDC. That is an average of 207.11 ÷ 0.07322 ≈ $2,828 per ETH, well below the $4,000 market price.
When "Impermanent" Becomes Permanent
IL works like a rubber band. It stretches as the price ratio moves away from your entry ratio. It snaps back to zero if the ratio returns to where you started.
The loss becomes realized when you withdraw, or when you rebalance a v3 range, at a ratio different from your entry ratio. Until then it is a paper figure. It reverses only if prices come back to the original ratio.
What IL Is NOT
- Not a fee. Nobody charges it. It is an opportunity cost relative to holding.
- Not a hack or rug pull. Smart-contract failures are a separate risk.
- Not caused by both tokens rising equally. Only the ratio between the two prices matters. For example, if ETH and WBTC both rise 50%, then r = 1.5 ÷ 1.5 = 1 and IL = 0.
💡 In plain English: In the example above you didn't lose $85.79 from your wallet. You earned $85.79 less than holding would have earned.
Phase 2: How to Calculate Impermanent Loss, Step by Step
With the intuition in place, the calculation itself takes five steps. Here is the summary:
- Record your entry price ratio.
- Compute r = current price ratio ÷ entry price ratio.
- Apply IL = 2√r ÷ (1 + r) − 1.
- Multiply IL% by your HODL value to get dollars.
- Sanity-check using the rebalanced token balances.
Step 1: Record Your Entry Price Ratio
Divide token A's price by token B's price at deposit. In the example, ETH/USDC = 2,000 ÷ 1 = 2,000.
Step 2: Find the Current Ratio and Compute r
Take the same ratio today, then divide it by the entry ratio. If ETH is now $4,000, then r = 4,000 ÷ 2,000 = 2.
Step 3: Apply the Formula (Worked Example, r = 2)
- √2 = 1.41421
- 2 × 1.41421 = 2.82843
- 2.82843 ÷ (1 + 2) = 0.94281
- 0.94281 − 1 = −0.05719, which is −5.72%
Step 4: Convert the Percentage to Dollars
HODL value = 0.25 × 4,000 + 500 = $1,500. Then $1,500 × 5.719% = $85.79. This is the dollar amount you trail holding by.
Step 5: Sanity-Check with the Token-Amount Method
Recompute the balances using ETH = √(k ÷ p) and USDC = √(k × p), as shown in Phase 1. The LP value is $1,414.21, and $1,500 − $1,414.21 = $85.79 ✔. Both methods agree.
💵 Shortcut for 50/50 pools: LP value = deposit × √r, and HODL value = deposit × (1 + r) ÷ 2. Here that gives $1,000 × 1.41421 = $1,414.21 and $1,000 × 3 ÷ 2 = $1,500. Note that the formula measures IL only. Fees come in Phase 3.
There are three ways to run this calculation on your own position. Choose the one that fits how you work:
📊 Path 3: Dashboard
Best for: Live positions you already hold
Cost: Free tiers available
Path 1: Calculate by Hand or in a Spreadsheet
- Step 1: Set up headers. In row 1, type: Entry price, Current price, r, IL %, HODL $, IL $, LP $.
- Step 2: Enter prices. Put the entry price in A2 and the current price in B2. Put your total deposit in cell H1.
- Step 3: Paste the formulas.
- C2 (r):
=B2/A2 - D2 (IL %):
=2*SQRT(C2)/(1+C2)-1 - E2 (HODL $):
=$H$1*(1+C2)/2 - F2 (IL $):
=-D2*E2 - G2 (LP $):
=$H$1*SQRT(C2)
- C2 (r):
- Step 4: Check against the anchor. Entering 2000, 4000 and 1000 should return 2, −5.72%, $1,500, $85.79 and $1,414.21. Format column D as a percentage.
- Step 5 (optional): Add weighted pools. Put the weight of the volatile token in cell W, then use
=C2^W/(W*C2+(1-W))-1.
Path 2: Use an Online IL Calculator
- Step 1: Pick a simple calculator. Basic 50/50 calculators ask for prices only. Uniswap v3-aware simulators, such as the tools on Revert Finance, also ask for a range and fee tier.
- Step 2: Enter inputs. Type each token's entry price, its current or expected price, the pool weights (50/50 unless the pool is weighted) and your deposit amount. For v3 tools, also add the min price, max price and fee tier.
- Step 3: Read the output. Find the IL figure and keep it separate from any projected fees. Some tools show only a combined "net" number.
- Step 4: Cross-check. Compare the result with your Path 1 figure. A mismatch usually means the tool includes fees or uses a different deposit value.
Safety warning: A calculator only needs numbers. Bookmark the URL you use, and never connect your wallet or sign anything to "calculate."
Path 3: Read It from Your Dashboard
- Step 1: Open a read-only tracker. Paste your wallet address into Revert Finance, APY.Vision, DeBank or Zapper. No wallet connection is needed to view.
- Step 2: Find the position. Select the pool from your list of positions.
- Step 3: Locate the comparison. Look for a figure labeled something like "vs HODL," "PnL" or "divergence loss." These are different names for related measures.
- Step 4: Separate fees. Note the fees earned separately, so you can rebuild the three-column ledger yourself.
Dashboards often disagree with each other. The usual reasons are whether fees are included, which price source is used, and whether gas is counted. Your spreadsheet remains the reference point.
Special Cases
(a) Weighted pools. Balancer-style pools let the token weights differ from 50/50. The formula becomes IL = rw ÷ (w·r + (1 − w)) − 1, where w is the weight of the token that moved. The math is set out in the Balancer documentation.
Hypothetical example: All figures are illustrative. Suppose you put $1,000 into an 80/20 ETH/USDC pool ($800 ETH, $200 USDC), and ETH doubles (r = 2).
- 20.8 = 1.7411
- Denominator: 0.8 × 2 + 0.2 = 1.8
- 1.7411 ÷ 1.8 = 0.9673, so IL = −3.27%
- HODL = 800 × 2 + 200 = $1,800. LP = $1,000 × 1.7411 = $1,741.10. Gap = $58.90
The same 2× move costs −5.72% in a 50/50 pool.
(b) Stable and correlated pools. Curve's StableSwap design, described in the Curve docs, is built for assets that should trade near each other. While the peg holds, r stays close to 1 and IL stays near zero. If one asset loses its peg, IL can jump sharply. Even major stablecoins have briefly traded below their peg.
(c) Both tokens move. Compute r as (price change of token A) ÷ (price change of token B). For example, if ETH rises 50% and WBTC rises 20%, then r = 1.5 ÷ 1.2 = 1.25. IL = 2 × 1.11803 ÷ 2.25 − 1 = −0.62%.
Quick Reference Table
The table below covers a $1,000 deposit in a 50/50 pool, with illustrative figures. LP = $1,000 × √r and HODL = $1,000 × (1 + r) ÷ 2.
| Price change (r) | IL % | HODL value | LP value | $ behind HODL |
|---|---|---|---|---|
| 0.25× | −20.00% | $625 | $500.00 | $125.00 |
| 0.5× | −5.72% | $750 | $707.11 | $42.89 |
| 0.8× | −0.62% | $900 | $894.43 | $5.57 |
| 1.25× | −0.62% | $1,125 | $1,118.03 | $6.97 |
| 1.5× | −2.02% | $1,250 | $1,224.74 | $25.26 |
| 2× | −5.72% | $1,500 | $1,414.21 | $85.79 |
| 3× | −13.40% | $2,000 | $1,732.05 | $267.95 |
| 4× | −20.00% | $2,500 | $2,000.00 | $500.00 |
| 5× | −25.46% | $3,000 | $2,236.07 | $763.93 |
Plotted on a chart, these points form a "smile curve." Percentages are symmetric for r and 1/r: 2× and 0.5× both cost 5.72%. Dollar amounts are not symmetric, because the HODL value they are measured against is different.
Phase 3: The $1,000 Test (HODL vs LP vs LP + Fees)
IL on its own tells only half the story. Phase 3 adds the fees you earn and asks the real question: should you be in this pool at all?
For these scenarios, fees are estimated as Deposit × APR × Days ÷ 365. At 20% APR over 90 days: $1,000 × 0.20 × 90 ÷ 365 = $49.32. At 40% APR: $98.63. Real fees vary with volume and with your position's changing value, so treat these figures as approximations.
Scenario A: Price Doubles
| Ledger (ETH → $4,000) | HODL | LP before fees | LP + 20% APR fees |
|---|---|---|---|
| Value | $1,500.00 | $1,414.21 | $1,463.53 |
| vs HODL | — | −$85.79 | −$36.47 |
You still gained $463.53 on your original $1,000, but you trailed holding by $36.47.
Scenario B: Price Halves
| Ledger (ETH → $1,000) | HODL | LP before fees | LP + 20% APR fees |
|---|---|---|---|
| Value | $750.00 | $707.11 | $756.43 |
| vs HODL | — | −$42.89 | +$6.43 |
Here the fees beat holding, yet you are still down $243.57 from your original $1,000. IL and price risk are different things. Being a good LP doesn't protect you from a falling asset.
Scenario C: Price Goes Up, Then Returns
Suppose ETH climbs to $3,000 and then returns to $2,000 by day 90.
| Ledger (ETH back at $2,000) | HODL | LP before fees | LP + 20% APR fees |
|---|---|---|---|
| Value | $1,000.00 | $1,000.00 | $1,049.32 |
| vs HODL | — | ≈ $0 | +$49.32 |
This is the best case for an LP. The rubber band snapped back, so IL is close to zero, while you kept the fees earned from all that back-and-forth trading.
Scenario D: Fees Win vs Fees Lose (20% vs 40% APR over 90 days)
| 2× move | LP + fees | vs HODL ($1,500) | Verdict |
|---|---|---|---|
| 20% APR | $1,414.21 + $49.32 = $1,463.53 | −$36.47 | Fees lose |
| 40% APR | $1,414.21 + $98.63 = $1,512.84 | +$12.84 | Fees win |
A useful way to see this is a bucket with a leak. Fees fill the bucket, and IL drains it through a hole sized by volatility. You break even when the inflow matches the leak.
How to Calculate Your Breakeven Fee APR
- Pick an expected price move for your holding period. The pair's 30- and 90-day history on CoinGecko is a reasonable guide.
- Look up the IL for that move in the reference table.
- Add gas to get the fees you need: Required fees = IL $ + Gas.
- Annualize: Required APR = Required fees ÷ Deposit × 365 ÷ Days.
Hypothetical example: All figures are illustrative. Suppose you expect a 2× move over 90 days on a $1,000 deposit.
- No gas: $85.79 ÷ $1,000 × 365 ÷ 90 = 34.8% APR
- With $15 total gas: $100.79 ÷ $1,000 × 365 ÷ 90 = 40.9% APR
- Same 2× move spread over 365 days: $85.79 ÷ $1,000 × 365 ÷ 365 = 8.6% APR
The time horizon changes the answer dramatically.
Spreadsheet version: =(IL_dollars+Gas)/Deposit*365/Days
Why APR Banners Mislead
- They look backward. They show trailing fees from recent volume, and volume can drop.
- They ignore IL entirely. A banner number is the fee inflow alone, with no leak deducted.
- They are often inflated by incentive tokens whose price can decay. See Real Yield vs Token Emissions in DeFi.
- They vary by range on v3, so your own APR may differ from the pool average.
If APR and APY labels confuse you, APR vs. APY in Crypto explains the difference.
🔬 Going deeper (optional): Researchers measure LP costs continuously, not just at withdrawal. "Automated Market Making and Loss-Versus-Rebalancing" by Milionis, Moallemi, Roughgarden and Zhang defines LVR, the value LPs leak to arbitrageurs. An empirical study by Loesch et al., "Impermanent Loss in Uniswap v3," found that for many LPs IL outweighed the fees they earned. Pintail's essay "Uniswap: A Good Deal for Liquidity Providers?" offers an accessible earlier analysis.
Phase 4: 8 Proven Ways to Minimize Impermanent Loss
Once you can price IL, you can start shrinking it. Each strategy below either reduces IL or improves the fees-vs-IL math. None of them eliminates it. Not providing liquidity is also a valid strategy.
Choose Your Strategy by Risk Appetite
1. Choose Correlated or Stable Pairs
Pairs such as USDC/USDT, ETH/stETH or WBTC/cbBTC behave like twins walking together. While they don't drift apart, r stays near 1 and IL stays near zero. The tradeoffs are lower fee income and tail risk if one asset depegs. The Curve Finance guide explains how stable pools work.
2. Use Weighted Pools (80/20)
An 80/20 pool works like a seesaw with the pivot moved toward the heavy side, so the same price swing tilts it less. In the example above, a 2× move costs $58.90 instead of $85.79. The tradeoff is that you stay mostly exposed to the volatile asset's price.
3. Pair a Volatile Asset with One You'd Hold Anyway
If you plan to hold ETH long-term regardless, an ETH/stETH pool keeps you in assets you already want. Another option is pairing ETH with your planned stablecoin allocation. In that case IL becomes an automatic rebalancing cost you have chosen to accept, rather than a surprise.
4. Prioritize High Fee-to-Volatility Pools
Use 24-hour volume ÷ TVL as a signal of how many fees a pool generates. For example, suppose a pool charges a 0.30% fee and its daily volume equals half its TVL. LPs collectively earn about 0.30% × 0.5 = 0.15% of TVL per day before IL, roughly 55% annualized if that volume holds. Compare this with the pair's recent volatility. DefiLlama and Dune dashboards provide the data.
5. Match Fee Tier to Volatility
Uniswap v3 offers several fee tiers. Check the exact options in the interface, because they can change.
| Tier | Typical pair | Why |
|---|---|---|
| Lowest | Stablecoin pairs | Tiny price moves, high volume |
| Low | Correlated or major pairs | Modest volatility, competitive pricing |
| Standard | Typical volatile pairs | Compensates for more frequent IL |
| Highest | Exotic or long-tail tokens | Large swings need larger fee cushions |
6. Shorten or Lengthen Holding Time Deliberately
Short holds in choppy markets catch fees with little price drift. Longer holds spread IL across more fee-earning days, which lowers the breakeven: 8.6% versus 34.8% in the example. Strongly trending markets punish both approaches.
7. Hedge with Options or Perps (Advanced)
A short perpetual futures position can roughly offset the directional part of your ETH exposure. The costs include funding rates, liquidation risk and the work of resizing the hedge as the pool rebalances. This approach is not for beginners.
8. Be Wary of "IL Protection" Promises (Bancor 2022 Case Study)
During the 2022 market downturn, Bancor paused its impermanent loss protection, which left LPs exposed to the very losses they believed were covered. Before trusting any protection scheme, ask three questions. Who pays for it? In which token? Can it be paused?
Decision flowchart:
- Is the pair correlated? If yes, consider a stable or correlated pool.
- If not, is the realistic fee APR above your breakeven? If not, don't provide liquidity.
- If it is, do you have time to manage a range? If yes, consider v3. If no, choose v2-style, weighted or full-range pools.
For more on these strategies, see How to Avoid Impermanent Loss in DeFi.
Phase 4B: Managing Uniswap v3 Ranges Without Being a Developer
If you chose the Active Manager route, or your position already shows "out of range," this section is for you. Everything here uses the Uniswap interface and free tools, with no code.
How Concentrated Liquidity Amplifies Both Fees and IL
According to the Uniswap documentation, in earlier versions "liquidity was distributed uniformly along the price curve between 0 and infinity." Version 3, described in the v3 whitepaper, lets you concentrate your capital in a chosen price range.
Concentrating liquidity works like a magnifying glass. You get more fee "heat" per dollar, and you burn faster when the price moves. For a range centered on the current price, capital efficiency ≈ 1 ÷ (1 − (min ÷ max)¼). For example, a $1,600–$2,500 range around $2,000 gives (1,600 ÷ 2,500)¼ = 0.64¼ = 0.8944, and 1 ÷ (1 − 0.8944) ≈ 9.5× compared with full range. Fees and IL per dollar scale up by a similar factor while the price stays inside the range.
What Happens When You Go Out of Range
Your range acts like a fishing net. A wide net catches fewer fish per square meter but rarely misses. A narrow net catches a lot, but only if the fish swim there.
- Price above your max: you are 100% USDC, because you sold all your ETH on the way up.
- Price below your min: you are 100% ETH, because you bought ETH all the way down.
- Either way: you earn zero fees until the price returns to your range.
Out of range is not a loss of funds. It is a state that calls for a decision: wait, rebalance or withdraw.
Step-by-Step: Setting Your First Range
- Pick the pair. On app.uniswap.org, open Pool and click New position. Select both tokens. Labels may change as the interface updates.
- Pick the fee tier. Use the strategy 5 table. The interface shows the available tiers, often with how much liquidity each one holds.
- Check 30-day price history. Use the pool chart or CoinGecko, and note the high and low.
- Choose a width. Set the min and max fields yourself: narrow (±5%), medium (±15%), wide (±50%), or click Full range. For passive management, the range should comfortably contain the 30-day high and low.
- Preview the deposit ratio. Enter an amount for one token and the interface fills in the other. The split won't be 50/50 unless the price sits mid-range in the way the math defines it.
- Check gas and confirm. Approve each token, click Preview, review the range and the amounts, then confirm in your wallet. Your position should then appear with an "In range" badge.
Choose Your Range Style
| Style | Time | Fee potential | IL amplification | Costs |
|---|---|---|---|---|
| A: Passive (wide or full range) | Monthly check | Lowest | Lowest | Minimal gas |
| B: Active (narrow range) | Daily check | Highest | Highest | Frequent gas and realized IL |
| C: Automated (vaults such as Gamma or Arrakis) | Occasional review | Varies | Varies by strategy | Management fees plus trust in the vault's strategy and contracts |
Past performance of automated vaults has varied, so read each manager's documentation before depositing.
When and How to Rebalance
- Triggers: the price has stayed out of range for several days, the price is near the edge of your range, or volatility has clearly changed.
- Gas-cost check: rebalance only when the expected extra fees exceed gas plus swap slippage. Gas is paid in ETH. Fees vary with network demand because users set a tip on top of a base fee.
- Key fact: rebalancing realizes your IL. You lock in the loss and restart the clock.
The mechanics are simple. Click your position, choose Remove liquidity, collect the tokens, then open a new position with a recentered range.
Monitoring Tools and Alerts
- Revert Finance: PnL compared with holding, fee APR and range status.
- Uniswap position page: the "In range / Out of range" badge and uncollected fees.
- DeBank and alert bots: notifications when positions change.
v2 vs v3 vs Curve vs Balancer: A Comparison Table
| Pool type | IL exposure | Fee efficiency | Maintenance | Best for |
|---|---|---|---|---|
| Uniswap v2-style 50/50 | Standard | Low | Set and forget | Beginners, volatile pairs |
| Uniswap v3 | Amplified in range | High | Medium to high | Engaged or active LPs |
| Curve stable | Very low while pegged | Medium | Low | Stablecoins, liquid staking tokens |
| Balancer 80/20 | Reduced | Medium | Low | Long-term holders |
Phase 5: Tracking Your Position and Deciding When to Exit
Choosing a pool is only the start. A short weekly routine keeps small problems from becoming expensive ones.
Weekly Check Routine (5-Minute Checklist)
- Current price ratio and r
- IL % and $ from your spreadsheet
- Fees earned to date
- Net = Fees + Incentives − IL − estimated exit gas
- Range status (v3 only)
- Volume/TVL trend
- Incentive token price
- Any protocol news or security incidents
Exit Signals
- Fees have been below your breakeven APR for two weeks or more
- The pair is decorrelating, for example a liquid staking token losing its peg
- A v3 range has been breached with no reason to expect a return
- Incentives are ending
- Better risk-adjusted options are available elsewhere
Avoid panic exits. Withdrawing at peak divergence locks in the maximum IL. Remember the rubber band, and decide based on your original reasoning, not a red number. When you do exit, compare "withdraw and hold" with "withdraw and swap back," and include swap fees and slippage.
Tax Note: Realized IL and LP Events
In many jurisdictions, depositing, withdrawing, claiming fees and rebalancing can each be taxable events. The treatment of LP tokens is often unsettled. Record every transaction. US readers can start with the IRS digital assets page. This is not tax advice, so consult a qualified professional.
Security Best Practices
Managing IL well means little if a security mistake costs you the whole position. These habits cover the main risks.
- Verify pool contracts. Reach pools through the official app or docs, such as the Uniswap pool docs, and cross-check addresses on Etherscan and DefiLlama.
- Manage approvals. Avoid unlimited token approvals where possible. Revoke stale approvals with Revoke.cash or Etherscan's token approval checker.
- Check audits and TVL history on DefiLlama. Sudden TVL drops and young, unaudited pools are red flags.
- Use hardware wallet signing and read every transaction prompt before you confirm it.
- Spot fakes. Be suspicious of any calculator that asks you to connect your wallet or "sign to calculate." Be equally wary of "IL insurance" that promises guaranteed protection.
Pre-Deposit Checklist
- Correct pool address verified
- Fee tier chosen to match volatility
- Breakeven APR computed, including gas
- Range set and checked against 30-day history (v3 only)
- Approvals limited
- Entry prices and amounts recorded
For a broader view of risks beyond IL, read DeFi Liquidity Provision Risks and How to Mitigate Them.
⚠️ Common Mistakes to Avoid
- Judging pools by APR alone. A banner APR leaves out IL. Run the breakeven check first.
- Forgetting gas in breakeven math. In the example, $15 of gas lifts the 90-day breakeven from 34.8% to 40.9%. Smaller deposits suffer more. On a $300 deposit, a 2× move costs 5.72% × $450 = $25.74 of IL. Add $15 of gas and you get $40.74 ÷ $300 × 365 ÷ 90 ≈ 55.1% APR needed.
- Ultra-narrow v3 ranges on volatile pairs. They lead to frequent out-of-range periods, realized IL on each rebalance, and constant gas drag.
- Panic-withdrawing at the worst ratio. This turns peak paper IL into a permanent loss.
- Ignoring incentive token price decay. If an entire 40% APR is paid in a reward token that halves in price, the real return is closer to 20%.
- Confusing IL with rug pulls or smart-contract losses. These are different risks, and each needs a different defense.
- Not recording entry prices. Without them you can't compute r. Recover them from Etherscan and CoinGecko history.
- Assuming stable pools carry zero risk. A depeg can create sudden, large IL.
Frequently Asked Questions
How do you calculate impermanent loss?
Divide the current price ratio by the entry ratio to get r. Then apply IL = 2√r ÷ (1 + r) − 1 and multiply the result by your HODL value. For example, if ETH doubles (r = 2), IL is −5.72%. On a $1,000 50/50 deposit that equals $1,500 × 5.72% = $85.79. Verify it by recomputing token balances with √(k ÷ p).
Is there an impermanent loss calculator I can trust?
A trustworthy calculator shows its formula, separates IL from projected fees, and matches your own spreadsheet result. It should never ask you to connect a wallet or sign anything. Test any tool first with r = 2: it should return −5.72%. If it doesn't, the tool is either including fees or using different assumptions.
How do I avoid impermanent loss in yield farming?
You can't avoid it completely, but you can reduce it. Choose correlated or stable pairs, use weighted pools such as 80/20, and match the fee tier to the pair's volatility. Only deposit when realistic fees exceed your breakeven APR. Sometimes the best option is simply holding. See How to Earn Passive Income in DeFi With Liquidity Pools for wider context.
Can impermanent loss be recovered?
Yes, if the price ratio returns to your entry ratio before you withdraw. In Scenario C, ETH rose and then came back, so IL dropped to roughly zero while the $49.32 in fees remained. Fees can offset IL, but they don't erase it. Once you withdraw at a different ratio, the loss is permanent.
Does impermanent loss happen if both tokens go up?
Not if both rise by the same percentage, because only the ratio matters. If ETH and WBTC both rise 50%, r = 1 and IL = 0. If they rise by different amounts, IL appears. For example, ETH up 50% and WBTC up 20% gives r = 1.25 and IL of −0.62%.
Is impermanent loss worse on Uniswap v3?
Per dollar, yes, within narrow ranges. Concentrating liquidity amplifies both fees and IL. A ±25% range can be roughly 9.5× more capital-efficient than full range, which magnifies both sides. When the price leaves your range, you hold 100% of one token and earn no fees. Wide or full-range positions behave more like v2.
Do stablecoin pools have impermanent loss?
Very little while the peg holds, because the price ratio stays near 1. The risk sits in the tails. If one stablecoin depegs, the pool fills up with the weaker asset and IL can spike quickly. Treat stable pools as low-IL, not no-risk.
How much fee APR do I need to beat impermanent loss?
Use Required APR = (IL $ + Gas) ÷ Deposit × 365 ÷ Days. For a 2× move on $1,000 over 90 days, you need about 34.8% APR, or 40.9% with $15 of gas. Over a full year, the same move needs only about 8.6%. Use realistic fees and exclude incentives you expect to decay.
Is single-sided staking free of impermanent loss?
True single-asset staking generally avoids IL, but it carries other risks: token emissions, lockups and smart-contract exposure. Be careful, though. Some products marketed as "single-sided" pair your deposit inside a pool behind the scenes and pass the IL through to you. Read the documentation to find out where your tokens actually go.
What's Next?
You now know how to calculate impermanent loss, price it against fees, and reduce it. IL is a number you can measure rather than a mystery. Put that into practice with three steps:
- Copy the spreadsheet formulas and enter your current or planned position.
- Compute your breakeven fee APR and compare it with the pool's realistic fee APR, excluding incentives.
- Pick one minimization strategy, or decide not to provide liquidity, then set up your weekly 5-minute check.
Now that you've completed this guide, you might want to:
- Walk through a deposit with the Step-by-Step Guide to Providing Liquidity on Decentralized Exchanges
- Review the fundamentals in Understanding Impermanent Loss in DeFi for Beginners
- Learn how pools operate in Understanding Liquidity Pools in DeFi
- Explore stable-pair options in What Is Curve Finance?
- Separate sustainable yield from emissions with Real Yield vs Token Emissions in DeFi
Sources
- Uniswap v3 Whitepaper, Abstract
- Bittensor — coingecko identity payload
- Aave Documentation: Aave Protocol FAQ
- Ethereum — primary documentation
- Ethereum — official documentation site
- ACryptoS — official documentation site
- Venus Core Pool — official documentation site
- Aave Documentation: Flash Loans Guide
- Decentralized finance (DeFi)
- DefiLlama — PancakeSwap Infinity
- WingRiders — primary documentation
- Ethereum — primary documentation
- Liquidity Pool — primary documentation
- Ethereum — primary documentation
- Flamingo Finance — defillama identity payload
- PancakeSwap AMM — official documentation site
- PancakeSwap AMM — defillama identity payload
- Uniswap Whitepaper, Section 1
- Impermanent Loss — primary documentation pointer
- Impermanent Loss Explained