Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)
Impermanent Loss Calculator

Impermanent Loss Calculator

Calculate impermanent loss for DeFi liquidity pools. Compare HODL vs LP value, support weighted pools, and add fee earnings to see if they offset the loss.

Impermanent Loss Calculator for DeFi Liquidity Pools

This impermanent loss calculator shows how much value a liquidity position loses compared to simply holding the same tokens when their prices move apart. Enter your investment, each token's initial and current price, and the pool weight to see your impermanent loss as both a percentage and a dollar figure.

It is built for DeFi liquidity providers on AMMs like Uniswap, SushiSwap, PancakeSwap, and Balancer who want to know whether a pool position is still ahead of holding. You can compare HODL Value against LP Value, add trading-fee earnings to see if they offset the loss, and read your position off an interactive IL curve.

Private by design: every calculation runs locally in your browser. Your prices, amounts, and pool settings are never uploaded to any server.

How to Use the Impermanent Loss Calculator

1

Set up your pool

Pick the Pool Weight that matches your liquidity pool — 50/50 for Uniswap and SushiSwap, or 80/20, 70/30, and 60/40 for Balancer-style pools. Then enter your total Investment Amount in USD.

2

Enter token prices

For each token, type the Initial Price from when you deposited and the Current Price today. Rename the tokens to match your pair (the default is ETH/USDC); the Price Change for each token updates as you type.

3

Add fee earnings (optional)

Enter the Pool Fee APR and the number of Days in Pool to estimate the trading fees you have earned, so you can see whether that income covers the impermanent loss.

4

Read your results

Review the Impermanent Loss, HODL Value, LP Value, and Fee Earned. The Net vs HODL figure is the bottom line — LP value plus fees minus what holding would have been worth.

Features

Weighted Pool Support

Calculate impermanent loss for 50/50, 80/20, 70/30, and 60/40 pools. Weighted pools see less IL because the dominant token holds a larger share.

Any Trading Pair

Rename both tokens and enter your own initial and current prices to model any AMM pair, not just the default ETH/USDC.

Live Price Change

Each token's price change shows as a percentage, colored green when it is up and red when it is down, for instant feedback as you type.

HODL vs LP Comparison

See what your tokens would be worth if you simply held them, side by side with the current value of your liquidity position.

Fee Earnings Offset

Add your Pool Fee APR and Days in Pool to estimate trading-fee income and check whether it makes up for the impermanent loss.

Net vs HODL Verdict

A single Net vs HODL figure turns green when the LP position plus fees beats holding, and red when holding would have won.

Position Breakdown

Compare the exact token amounts you would hold versus what the AMM rebalanced you into — more of the cheaper token, less of the expensive one.

Interactive IL Curve

A chart maps impermanent loss across price ratios, with a marker on your current position so you can see how further moves would affect it.

IL Quick Reference

A collapsible table lists impermanent loss for common price changes from 1.25x up to 10x in a 50/50 pool for fast estimates.

Dark Mode

A built-in dark theme keeps the calculator and chart comfortable to read in any lighting.

Frequently Asked Questions

What is impermanent loss?

Impermanent loss is the gap in value between providing liquidity to an AMM pool and simply holding the same tokens. As one token's price diverges from the other, the pool rebalances your position and it ends up worth less than holding. It is called "impermanent" because the gap shrinks — and can disappear — if prices return to their original ratio before you withdraw.

How is impermanent loss calculated?

For a standard 50/50 pool the formula is IL = 2√r / (1 + r) − 1, where r is the price ratio change between the two tokens. If one token doubles while the other stays flat, r = 2 and IL is about −5.72%. This calculator generalizes the math to weighted pools by comparing the rebalanced LP value with the HODL value, so it works for 80/20, 70/30, and 60/40 pools too.

Is impermanent loss a real loss?

It is an opportunity cost until you withdraw. Impermanent loss is always zero or negative: it is zero only when both tokens move by the same percentage, and any divergence in relative prices creates it. The loss becomes permanent the moment you pull your liquidity while prices are still diverged.

Can trading fees offset impermanent loss?

Yes. Liquidity providers earn a share of the fees from every swap in the pool. When that fee income beats the impermanent loss, the LP position is more profitable than holding. Enter your Pool Fee APR and Days in Pool and watch the Net vs HODL figure to see whether fees cover your IL.

How do I minimize impermanent loss?

Pools with correlated or stable tokens diverge less, so they tend to incur less IL. Weighted pools also help: an 80/20 pool experiences far less impermanent loss than a 50/50 pool for the same price move because the dominant token carries a larger allocation. Switch the Pool Weight in the calculator to compare scenarios before you commit.

Does this calculator handle Uniswap V3 concentrated liquidity?

It models standard, full-range AMM pools like Uniswap V2 and Balancer. Concentrated liquidity positions (Uniswap V3/V4) amplify impermanent loss within their chosen price range and need a different range-aware model, so the figures here are a baseline rather than an exact V3 result.

Pool Setup

$

Token Prices

A
$
$
+50.00%
B
$
$
0.00%

Fee Earnings

%
days
Impermanent Loss
-2.02%
-$202.03
HODL Value $12,500.00
LP Value $12,247.45
Fee Earned $0.00
Net vs HODL -$252.55

Position Breakdown

If HODL If LP
ETH 1.6667 1.3608
USDC 5,000 6,124
Total Value $12,500.00 $12,247.45

IL Curve

Enter initial and current token prices to see your impermanent loss instantly
Use the Pool Weight buttons to switch pool types — 50/50 for Uniswap, 80/20 for Balancer
Set Pool Fee APR and Days in Pool to check if trading fees offset your IL
Watch Net vs HODL — green means LP wins after fees, red means holding would have been better
The IL Curve marks your current position so you can see how further price moves would affect IL
All calculations run locally in your browser — no data is sent to any server
Want to learn more? Read documentation →
1/7
Start typing to search...
Searching...
No results found
Try searching with different keywords