Impermanent Loss Calculator

Compare holding vs. providing liquidity. Enter each token's price at deposit and now to instantly see your impermanent loss in percent and dollars — and exactly how much a price move costs you versus simply HODLing.

Your liquidity position

A 50/50 constant-product pool of two tokens — fully editable.

$
The price of the volatile token (e.g. ETH) when you added liquidity.
$
$
$
Pairing with a stablecoin? Leave Token B at 1 → 1 so only Token A moves.
$
The dollar value you put in, split 50/50 across both tokens. Used to show the loss in dollars.
Impermanent loss
vs. simply holding the same two tokens
If you HODL'd
If you provided liquidity
Difference (IL in $)
HODL return
Pool return (excl. fees)

Excludes trading fees and farming rewards, which offset impermanent loss in real pools. Assumes a 50/50 constant-product (Uniswap-style) pool.

Earning yield in DeFi? Hedge or earn it without IL.

Impermanent loss only hits two-sided pools. Single-sided Earn, staking and funding-rate strategies on deep, liquid venues sidestep it entirely — and these platforms refund part of your fees through the links below.

Affiliate disclosure: we may earn a commission on sign-ups via these links, at no cost to you. It never affects the results above.

ADVERTISEMENT

What is impermanent loss & why every LP must understand it

Impermanent loss (IL) is the opportunity cost of depositing two tokens into a 50/50 liquidity pool instead of just holding them in your wallet. When you provide liquidity to an automated market maker (AMM) like Uniswap, Curve or PancakeSwap, you don't keep a fixed quantity of each token. The pool constantly rebalances your share so that the two sides stay equal in value — and that rebalancing quietly works against you whenever prices diverge.

Here's the mechanism. An AMM keeps the product of the two token balances constant (the famous x · y = k invariant). When Token A's price rises, arbitrage traders buy A out of the pool until its pool price matches the wider market. That means the pool sells your appreciating asset and accumulates more of the lagging one. You end up under-exposed to the winner and over-exposed to the loser compared with someone who simply held. The dollar gap between "what I'd have if I held" and "what my LP position is now worth" is the impermanent loss.

It's called impermanent because the loss is only realised when you withdraw while prices are diverged. If the price ratio drifts back to where you deposited, the gap closes to zero. But "impermanent" is a dangerously soft word: if you exit at a diverged ratio — or the move is permanent, as most large trends are — the loss is very real. Understanding IL is non-negotiable for any liquidity provider, because a pool can advertise a juicy APR while quietly handing back less than you'd have made doing nothing.

How to use this calculator

  1. Enter Token A's price at deposit and now. Token A is your volatile asset — ETH, SOL, a governance token, whatever you're providing. The defaults model ETH going from $2,000 to $3,000.
  2. Enter Token B's prices. For a token/stablecoin pool, leave Token B at 1 → 1 so only one side moves. For a volatile/volatile pool (e.g. ETH/BTC), enter both real prices.
  3. Set your total deposit value — the dollars you put in, split 50/50. This converts the percentage loss into a dollar figure.
  4. Read the headline IL%, then compare "If you HODL'd" against "If you provided liquidity." The Difference (IL in $) is what the pool cost you versus holding.
  5. Use the two return rows to see the whole picture: the pool can still be up in dollar terms while underperforming a simple HODL — that gap is the IL.

Everything updates as you type. Remember the figure is before fees and rewards; in a real pool those earnings are what you weigh against the loss shown here.

The formula

For a 50/50 constant-product (Uniswap-style) pool, define each token's price ratio as its price now divided by its price at deposit:

rA = priceNow(A) / priceAtDeposit(A) rB = priceNow(B) / priceAtDeposit(B) IL% = 2 · √(rA · rB) / (rA + rB) − 1

The numerator uses the geometric mean of the two price ratios (what your LP position tracks), while the denominator uses the arithmetic mean (what a simple HODL tracks). Because the geometric mean is always ≤ the arithmetic mean, IL% is always zero or negative — providing liquidity never beats holding on price alone; it can only break even (when prices don't diverge) or lose.

To turn that into dollars, the calculator builds both portfolios from your deposit. Half your deposit buys Token A and half buys Token B at the deposit prices, fixing the quantities you'd hold:

HODL value = qtyA · priceNow(A) + qtyB · priceNow(B) Pool value = HODL value · (1 + IL%) IL in $ = Pool value − HODL value

Worked example

You deposit $1,000 into an ETH/stablecoin pool with ETH at $2,000 and the stablecoin at $1. So $500 buys 0.25 ETH and $500 buys 500 units of the stable. ETH then rises to $3,000 while the stable stays at $1. The ratios are rA = 3000/2000 = 1.5 and rB = 1.

Plug in: IL% = 2 · √(1.5 · 1) / (1.5 + 1) − 1 = 2 · 1.2247 / 2.5 − 1 = 0.9798 − 1 ≈ −2.02%. If you'd simply held, your 0.25 ETH + 500 stable would be worth $1,250. In the pool you'd have about $1,224.74 — roughly $25 less. You're still up on the deposit, but you gave up about 2% to impermanent loss. That ~$25 is what your trading fees need to beat to make the pool the better choice.

The impermanent loss table

A quick reference for how much IL a given move in one token (the other held stable) produces. Use it to sanity-check before you even open the calculator:

Two things stand out. First, IL is symmetric — a token halving (0.5×) produces the same ~5.7% loss as a doubling (2×), because what matters is the divergence in the ratio, not the direction. Second, the loss accelerates: a 2× move costs under 6%, but a 5× move costs over a quarter of your value. The deeper a trend runs, the more painful providing liquidity becomes relative to holding.

When fees & yield outweigh IL

Impermanent loss is only one side of the ledger. The reason LPs provide liquidity at all is the income: a cut of every swap's trading fee, plus any farming or incentive rewards. The real question is never "will I have impermanent loss?" (you almost always will) but "will my fees and rewards exceed it?"

That tips in your favour when:

It tips against you when a token makes a large, one-directional move and keeps going: the IL keeps growing while fees can't catch up. A pool showing "120% APR" can still leave you behind a HODL if the underlying token 3×'d, because that ~13% IL plus the chance you'd have ridden the full move outweighs the yield. Always model the price scenario you actually expect, then compare it to the fee APR.

Stable-pair vs. volatile-pair pools

The single biggest lever on your IL risk is what you pair.

Stable-stable pools (USDC/USDT, DAI/USDC) carry almost no impermanent loss because both legs target $1 — the ratio barely moves, so IL stays near zero. Returns are lower and you're exposed to de-peg and smart-contract risk, but for parking stablecoins they're among the lowest-risk yield sources in DeFi. Specialised AMMs like Curve concentrate liquidity around the peg to squeeze out even more fees with minimal IL.

Correlated pairs (ETH/stETH, wBTC/BTC, ETH/BTC) sit in the middle: the two assets tend to move together, so their ratio drifts slowly and IL accrues gently. Volatile/stable pairs (ETH/USDC, SOL/USDC) put one leg fully at the mercy of the market — every dollar the volatile token moves shows up as divergence, and that's where the table above bites hardest. Volatile/volatile uncorrelated pairs (e.g. a meme token paired with ETH) are the riskiest of all, since both legs can move violently in opposite directions.

How to reduce impermanent loss

Frequently asked questions

How is impermanent loss calculated?
For a 50/50 constant-product pool: IL% = 2 × √(rA × rB) ÷ (rA + rB) − 1, where rA and rB are each token's price now ÷ price at deposit. The calculator above also converts that into dollars using your deposit value.
Is impermanent loss permanent?
Only if you withdraw while prices are diverged. If the price ratio returns to your entry, the loss disappears entirely. Trading fees and rewards earned along the way can also offset or outweigh it.
Do stablecoin pairs have impermanent loss?
Almost none, as long as both coins hold their peg — their relative price barely moves, so the ratio stays near 1:1 and IL stays close to zero. A de-peg is the main risk that would change that.
Can the pool still be profitable with impermanent loss?
Yes. IL measures underperformance versus holding, not an absolute loss. Your LP position can be up in dollars while still trailing a simple HODL — and once trading fees and rewards exceed the IL, providing liquidity beats holding outright.
Does this work for volatile/volatile pairs like ETH/BTC?
Yes. Enter real "at deposit" and "now" prices for both tokens. IL depends on the change in their ratio, so if both move together it stays small; if they diverge it grows just like the volatile/stable case.
Disclaimer: Educational tool only, not financial advice. DeFi carries smart-contract, de-peg and market risk, and liquidity provision can leave you worse off than holding. Figures exclude trading fees and rewards and are estimates only — always confirm on-chain before committing funds.