🧮 goseli · Crypto calculators
Crypto calculators › Investing, DCA & DeFi

💧 Impermanent loss calculator

Enter how much each token's price changed since you deposited. You'll see the LP position against simply holding, plus the fee APR needed to break even.

How it works

In a constant-product pool (x·y = k) with 50/50 weights, the pool keeps rebalancing as prices move: it sells the token that is going up and buys the one going down. If token A's price changes by ratio ra and B's by rb, then:

value held = V × (ra + rb) ÷ 2, value in pool = V × √(ra · rb), and IL = pool ÷ held − 1. With one side a stablecoin (rb = 1) this reduces to the familiar 2√r ÷ (1 + r) − 1: −0.6% at +25%, −2.0% at +50%, −5.7% at 2×, −13.4% at 3× and −25.5% at 5×.

The loss is "impermanent" because it disappears if prices return to the entry ratio. Fees are estimated linearly from the APR you enter. Concentrated-liquidity positions (Uniswap v3/v4) magnify both fees and IL within their range, so treat this as a lower bound for them.

FAQ

What is impermanent loss?

It's the shortfall of a liquidity-pool position compared with simply holding the two tokens, caused by the pool rebalancing as prices diverge.

Does IL happen if both tokens rise by the same amount?

No. IL depends only on the change in the price ratio. If both tokens rise 50%, IL is zero.

Is this valid for Uniswap v3?

Not exactly. Concentrated liquidity has higher IL within the range and stops earning fees outside it. Use this as a full-range baseline.

How are fees calculated?

Fees = pool value × APR × days ÷ 365, without compounding. Real fee income varies with volume.

Our Telegram bots

📑 Polymarket Tax & P&L
Per-trade P&L and a Form 8949-style tax statement from your Polymarket wallet.
@PolymarketTaxBot
🎁 Gift Ledger
Value your Telegram gifts portfolio in TON and track floor prices.
@GiftsLedgerBot
🛍 goseli: shop in Telegram
Create an online shop page and take orders in Telegram in 2 minutes (Ukraine).
@goseli_bot

All our bots and apps → · Polymarket Data · Gift Ledger

Related calculators

🗓 Crypto DCA calculator (backtest)What if you had bought a fixed dollar amount every week? This tool replays real daily closing prices from the…⚖️ Crypto average cost calculatorBought the same coin several times at different prices? Add each buy to see your true average entry, then…🌱 Staking APY and rewards calculatorHow many tokens will staking earn, and what is the real APY once rewards compound? Enter the stake, the…🏔 Crypto market cap calculatorPrice targets only make sense next to market cap. Pick a coin and a benchmark coin, or type a target cap, to…📈 Crypto profit calculatorHow much would you make (or lose) on a crypto trade after exchange fees? Pick a coin, enter what you put in…⚠️ Crypto liquidation price calculatorBefore you open a leveraged position, find out how far the price can move against you. This covers linear…