Skip to content
Skip to main content
DigiCalcs

Finansije

Impermanent Loss Kalkulator

🌐

Detailed Guide Coming Soon

We're working on a comprehensive educational guide for the Impermanent Loss Calculator in your language. The content below is shown in English.

What is Impermanent Loss Calculator?

▾

Imagine you and a friend decide to set up a digital currency exchange booth. To get started, you both put in an equal value of two different assets—say, $50 of Ethereum and $50 of a stablecoin like USDC. In the decentralized finance (DeFi) world, this is called providing liquidity. Now, if the market price of Ethereum suddenly climbs out in the wild, clever traders will rush to your booth to buy your now-underpriced Ethereum. This automatic rebalancing means you end up with more of the asset that dropped in value and less of the one that rocketed. Impermanent loss is simply the difference in value between keeping your coins safe in your wallet versus putting them into one of these active trading pools. Why does this matter to you? If you are exploring the world of DeFi to earn some passive income, this is your biggest hidden risk. It is like setting up a lemonade stand where the prices of lemons and sugar fluctuate constantly, and passersby always buy whatever you have priced too low. The word "impermanent" is actually a bit of a trick. The loss is only temporary on paper. The very moment you decide to pack up and pull your funds out of the pool, that loss becomes very real, locked-in, and permanent. In daily life, understanding this concept stops you from blindly chasing flashy high-yield promises. Many platforms promise massive interest rates (APY) for locking up your crypto. But if the prices of those tokens swing wildly, your impermanent loss could easily wipe out all those hard-earned fees. Our calculator helps you run the numbers before you dive in, letting you see exactly how much a price swing will impact your bottom line so you can decide if the trading fees you will earn are actually worth the ride.

DigiCalcs delivers precision-engineered tools for engineers and STEM professionals.

Формула

▾
f(x)IL = 2 * sqrt(price_ratio) / (1 + price_ratio) - 1 Where price_ratio = new_price / initial_price (ratio of the relative price change) Value if held: V_hold = initial_value * (0.5 * price_ratio_a + 0.5 * price_ratio_b) Value in pool: V_pool = initial_value * sqrt(price_ratio_a * price_ratio_b) IL = V_pool / V_hold - 1

Variable Legend

▾
SymbolImeЈединицаОпис
PRPrice RatioratioHow much the price of one token has moved compared to the other. If one token doubles while the other stays flat, your price ratio is 2.
ILImpermanent Loss%The percentage of value you missed out on by pooling your tokens instead of just keeping them safe in your personal wallet.
kConstant ProductdimensionlessThe magic constant number the liquidity pool's math engine uses to make sure the balance between both tokens stays perfectly in line.
V_holdValue if HoldingcurrencyThe total cash value of your tokens if you had just kept them in your drawer and did absolutely nothing with them.
V_poolValue in PoolcurrencyThe actual cash value of your tokens inside the liquidity pool after the market prices have shifted and traders have rebalanced your pile.

How to Impermanent Loss Calculator

▾
  1. 1You start by depositing an equal dollar value of two different tokens into a cooperative pool (like putting $50 of ETH and $50 of a stablecoin into a shared jar).
  2. 2Outside in the real market, the prices of these tokens start to dance around. One might shoot up, while the other stays flat or drops.
  3. 3Clever traders (called arbitrageurs) notice the price difference between your pool and the outside world. They trade with your jar to snatch up the cheap token until the pool's prices match the outside market.
  4. 4This trading action automatically shifts your balance. You end up holding more of the token that fell in value and less of the token that went up.
  5. 5We compare what your pool share is worth now against what it would have been worth if you had simply kept those original tokens in your personal wallet.
  6. 6The difference between those two numbers is your impermanent loss. You can then check if the trading fees you earned are big enough to cover this gap and make you a profit.

Worked Examples

▾
Example 1ETH Price Doubles (2x Change)
Given:$10,000 split as $5,000 ETH and $5,000 USDC, $1,000, $2,000, 2.0
Резултат:Impermanent Loss = -5.72%

Let's see what happens if you just held your tokens. You'd have 5 ETH (now worth $10,000) and $5,000 USDC, totaling $15,000. But because you pooled them, the smart trading bots rebalanced your pile. You end up with roughly 3.54 ETH (worth $7,071) and $7,071 USDC, totaling $14,142. The difference is $858, which is exactly a 5.72% loss compared to holding. To make this venture profitable, you need to have earned more than $858 in trading fees!

Example 2ETH Skyrockets (4x Change)
Given:$1,000, $4,000, 4.0, $10,000
Резултат:Impermanent Loss = -20.0%

If you had just tucked your 5 ETH and $5,000 USDC away in a wallet, your stash would now be worth a massive $25,000 (5 ETH * $4,000 + $5,000). Because the pool rebalanced your assets, your pool share is only worth $20,000. That's a whopping $5,000 (or 20%) less than holding! To make up for this, the pool would have to be incredibly busy, earning you a mountain of trading fees to cover that $5,000 gap.

Example 3A Complete Round Trip (Price Returns to Start)
Given:$1,000, $2,000 then returns to $1,000, $300
Резултат:Net profit of $300, 0% Impermanent Loss

This is the ultimate dream scenario for a liquidity provider! Because the price returned exactly to where you started, the pool's math rebalanced your tokens back to their original quantities (5 ETH and $5,000 USDC). Your impermanent loss completely vanishes to 0%. Since the loss disappeared, you get to pocket the entire $300 in trading fees as pure profit. This is why stable, sideways-moving markets are perfect for this strategy.

Example 4Stablecoin Pair (USDC and USDT)
Given:USDC and USDT, 1:1, 1:1.002 (minor depeg), 1.002
Резултат:Impermanent Loss = virtually 0%

When you pair two tokens that are pegged to the same asset (like two stablecoins pegged to the US dollar), their prices barely move against each other. Even with a minor wobble where one shifts to $1.002, the price ratio is almost perfect. The math shows your impermanent loss is a microscopic fraction of a percent. This makes stablecoin pools incredibly safe from price swings, though the trade-off is that they usually pay much lower fee rates because there is less drama and trading volume.

Example 5Concentrated Liquidity (Price Goes Out of Bounds)
Given:ETH/USDC concentrated liquidity, $1,500, $1,000 to $2,000, $2,500
Резултат:Position converts 100% to USDC; zero fees earned above $2,000

In modern pools, you can choose to only provide liquidity within a specific 'sweet spot' range to boost your fee earnings. But there's a catch! When the price of ETH surged past your upper limit of $2,000, the pool sold off all your ETH for USDC. You are now left holding 100% USDC while ETH continues to fly high to $2,500. You missed out on all that extra upside and stopped earning fees the second the price left your range. It's a high-reward but high-effort strategy that needs daily attention.

Real-World Applications

▾
🏗️

Evaluating DeFi opportunities: Deciding if joining a new Uniswap or PancakeSwap pool is actually worth the risk compared to just keeping your tokens safe in your wallet.

🔬

Planning long-term portfolio strategies: Choosing when to hold assets individually versus when to put them to work earning passive fee income.

📊

Smart yield farming: Calculating if the extra bonus tokens offered by a platform are large enough to cover the expected price swings of a volatile pair.

🏥

Setting exit strategies: Knowing exactly at what price point you should withdraw your funds from a pool before the impermanent loss cuts too deep.

⚙️

Comparing stable vs. volatile pools: Deciding whether to opt for low-risk, low-reward stablecoin pools or high-risk, high-reward volatile pools.

Special Cases

▾

Yield Farming and Bonus Rewards

Many platforms offer extra 'bonus tokens' to encourage you to add liquidity. These rewards can act like a cushion, completely offsetting your impermanent loss, but watch out—the reward tokens themselves can be highly volatile!

Unevenly Weighted Pools

On platforms like Balancer, you can join 80/20 pools instead of 50/50. Because the pool doesn't rebalance as aggressively, your impermanent loss is drastically reduced, giving you a smoother ride.

Stablecoin Depeg Disasters

We think of stablecoins as safe, but if one of them loses its peg (like what happened with UST), the pool will automatically swap your good stablecoins for the crashing one, leaving you with a heavy loss.

Single-Sided Liquidity

Some modern protocols let you deposit just one token. Under the hood, they manage the balance or use insurance funds to protect you from standard impermanent loss, though they often come with different types of protocol risks.

Impermanent Loss by Price Change (50/50 Constant-Product AMM)

▾
Price Ratio ChangeImpermanent LossNotes
1.10x (10% move)-0.11%Super tiny; a few days of trading fees will easily cover this.
1.25x (25% move)-0.60%Very manageable; typical for healthy, stable pairs.
1.50x (50% move)-2.02%Moderate; you'll need decent trading volume to break even.
2.00x (2x move)-5.72%Noticeable; requires a solid fee APY to stay profitable.
3.00x (3x move)-13.40%Large gap; you need a highly active pool to offset this.
4.00x (4x move)-20.00%Heavy loss; very difficult to recover through trading fees alone.
5.00x (5x move)-25.36%Severe; usually results in an overall loss compared to holding.
9.00x (9x move)-33.33%Extreme; try to avoid highly volatile or mismatched pairs.
One token to zero-50.00%The absolute maximum loss compared to holding both assets.

Frequently Asked Questions

▾
Q

Is impermanent loss an actual, real-money loss?

A

Not in the way you might think! It is a loss compared to what you could have made if you had just held your tokens in a wallet. If both of your tokens go up in price, you will still make a profit in cash terms when you withdraw. However, you will have less money than if you had simply done nothing and held. It is more of an opportunity cost unless one of your tokens completely crashes.

Q

Why on earth is it called 'impermanent' if it feels so permanent?

A

It is called impermanent because the loss only exists on paper while your funds are still inside the pool. If the prices of the tokens swing back to the exact ratio they were when you deposited, the loss completely disappears. But the very second you hit withdraw and pull your funds out, that loss is locked in and becomes permanent. In the real world, prices rarely return to their exact starting points, so treating it as temporary can be a risky mistake.

Q

Which pairs are the safest if I want to avoid this loss?

A

Your safest bets are pairs that behave like twins, meaning their prices move hand-in-hand. Think of stablecoin pairs like USDC and USDT, or wrapped pairs like BTC and WBTC. Because these tokens are pegged to the same value, their price ratio stays almost completely flat. This keeps your impermanent loss near zero, letting you collect trading fees with peace of mind.

Q

How do I know if the trading fees I earn are actually beating my loss?

A

You have to compare your total earned fees against the percentage of impermanent loss. For example, if a price swing causes a 3% impermanent loss, but you've earned 5% in trading fees over that same period, you are still 2% ahead of where you would be by just holding. Our calculator helps you visualize this balance so you can see if the pool's activity is high enough to make the risk worthwhile.

Q

What happens to my loss if one of the tokens in the pool crashes to zero?

A

This is the worst-case scenario for any liquidity provider. As the price of the crashing token plummets, the pool's automated system will continuously buy more of it using your stable token. By the time it hits zero, you will be left holding a mountain of worthless tokens and absolutely none of your valuable ones. In this case, your actual impermanent loss maxes out at 50% compared to holding, but your real-world dollar loss will feel much worse.

Q

Does the direction of the price change matter?

A

Surprisingly, no! The pool's math only cares about how far the prices drift apart from each other, not whether they went up or down. Whether Token A doubles in value or halves in value while Token B stays still, you get the exact same 5.7% impermanent loss. Any divergence from your starting ratio triggers the rebalancing mechanism, which always works against you compared to just holding.

Q

How does 'concentrated liquidity' change the game?

A

Concentrated liquidity is like putting your money on a specific segment of a racetrack instead of the whole track. It lets you earn way more fees when the price stays inside your chosen boundaries. However, because your capital is squeezed into a tight space, the impermanent loss happens much faster and harder if the price breaks out of your range. It is a powerful tool, but it requires you to actively manage your positions like a pro.

Q

Can I use different pool weights to reduce my risk?

A

Yes, absolutely! Some advanced platforms let you create pools that aren't a standard 50/50 split, like an 80/20 pool. If you put 80% of your funds into a token you love and only 20% into another, the pool doesn't have to rebalance nearly as aggressively when prices move. This significantly lowers your impermanent loss risk, making it a fantastic middle-ground option for long-term investors.

Common Mistakes to Avoid

▾
  • !Thinking a dollar profit means no loss: Just because your total portfolio value went up doesn't mean you didn't experience impermanent loss. You always have to compare your final pool value to what you would have had by simply holding.
  • !Falling for flashy APY percentages: Don't get blinded by a 500% yield promise. If the underlying token is crashing or highly volatile, the impermanent loss will easily eat up all those juicy rewards.
  • !Set-it-and-forget-it in volatile pools: Leaving your funds in a highly volatile pool without checking on them is a recipe for trouble. Prices can drift so far apart that your fees will never be able to catch up.
  • !Believing the 'impermanent' label: Assuming prices will always return to their starting point is a dangerous gamble. In crypto, many tokens never see their old prices again, making your paper losses very permanent.
💡

Pro Tip

Always do a quick 'fee vs. volatility' check before you deposit. Look at the pool's historical daily volume and fee generation. If the tokens are prone to swinging 50% or more, make sure the annual fee yield (APY) is at least double the estimated impermanent loss to give yourself a comfortable safety net!

⭐

Did you know?

Did you know that the term 'impermanent loss' was almost called 'divergence loss'? Many mathematicians and crypto experts actually prefer 'divergence loss' because it sounds less comforting. They worry 'impermanent' makes people think the loss is just a temporary phase, when in reality, it's a very real math equation that locks in the moment you walk away!

📖Difficulty:Advanced
For informational purposes only. This tool does not constitute financial advice. Consult a qualified financial adviser before making investment or financial decisions.
Deep Dive

Read the full guide on how to use this calculator effectively

Pročitajte više →
Accuracy-checked
Reviewed October 2026
Our methodology

Добијте недељне савете за математику

Придружите се КСЦОУНТ+ претплатницима који сваке недеље добијају савете за калкулатор.

🔒
100% Бесплатно
Никада без регистрације
✓
Тачно
Проверене формуле
⚡
Тренутно
Резултати током куцања
📱
Мобилно
Сви уређаји

Подешавања