{
  "slug": "impermanent-loss",
  "title": "Impermanent Loss Calculator",
  "heading": "Impermanent Loss Calculator",
  "category": "financial",
  "url": "https://www.revenuelab.fyi/toolbox/impermanent-loss",
  "summary": "LP loss versus simply holding both tokens.",
  "description": "Providing liquidity in a 50/50 pool costs you when prices diverge. This shows the impermanent loss percentage and whether fees cover it.",
  "formula": "IL = 2√r / (1 + r) − 1, where r is the relative price ratio change.",
  "dateModified": "2026-09-30",
  "run_url": "https://www.revenuelab.fyi/api/public/calc?tool=impermanent-loss",
  "inputs": [
    {
      "id": "priceChangeA",
      "label": "Token A price change",
      "kind": "number",
      "hint": null,
      "default": 80,
      "unit": "%",
      "min": null,
      "max": null
    },
    {
      "id": "priceChangeB",
      "label": "Token B price change",
      "kind": "number",
      "hint": null,
      "default": 0,
      "unit": "%",
      "min": null,
      "max": null
    },
    {
      "id": "deposit",
      "label": "Deposit value",
      "kind": "number",
      "hint": null,
      "default": 10000,
      "unit": "$",
      "min": null,
      "max": null
    },
    {
      "id": "feeApr",
      "label": "Pool fee APR",
      "kind": "number",
      "hint": null,
      "default": 20,
      "unit": "%",
      "min": null,
      "max": null
    },
    {
      "id": "days",
      "label": "Days in pool",
      "kind": "number",
      "hint": null,
      "default": 90,
      "unit": null,
      "min": 1,
      "max": null
    }
  ],
  "outputs": [
    {
      "id": "ilPct",
      "label": "Impermanent loss",
      "format": "percent",
      "hint": null,
      "primary": true
    },
    {
      "id": "loss",
      "label": "Dollar loss vs holding",
      "format": "currency",
      "hint": null,
      "primary": false
    },
    {
      "id": "fees",
      "label": "Fees earned",
      "format": "currency",
      "hint": null,
      "primary": false
    },
    {
      "id": "verdict",
      "label": "Verdict",
      "format": "raw",
      "hint": null,
      "primary": false
    }
  ],
  "worked_example": {
    "inputs": [
      "Token A price change: 80 %",
      "Token B price change: 0 %",
      "Deposit value: 10000 $",
      "Pool fee APR: 20 %",
      "Days in pool: 90"
    ],
    "outputs": [
      "Impermanent loss: -4.17%",
      "Dollar loss vs holding: $584",
      "Fees earned: $493",
      "Verdict: Holding would have been better"
    ]
  },
  "how_to": {
    "title": "How to use this",
    "steps": [
      "Enter token a price change (%).",
      "Enter token b price change (%).",
      "Enter deposit value ($).",
      "Enter pool fee apr (%).",
      "Enter days in pool.",
      "Read your impermanent loss on the right — it updates as you type.",
      "Hit Share to keep the scenario or send it to someone."
    ]
  },
  "scenarios": [
    {
      "name": "Conservative",
      "description": "Lower-end numbers — what if things land soft?",
      "values": {
        "priceChangeA": 48,
        "priceChangeB": 0,
        "deposit": 6000,
        "feeApr": 12,
        "days": 54
      }
    },
    {
      "name": "Typical",
      "description": "Defaults — the most common real-world setup.",
      "values": {
        "priceChangeA": 80,
        "priceChangeB": 0,
        "deposit": 10000,
        "feeApr": 20,
        "days": 90
      }
    },
    {
      "name": "Ambitious",
      "description": "Higher-end numbers — what if things really pop?",
      "values": {
        "priceChangeA": 128,
        "priceChangeB": 0,
        "deposit": 16000,
        "feeApr": 32,
        "days": 144
      }
    }
  ],
  "limitations": [
    "Results are estimates before tax, fees, and inflation unless an input explicitly covers them.",
    "Rates are treated as fixed for the whole period — variable-rate products will drift from this projection.",
    "This is educational maths, not financial advice. Check anything contractual with the lender or your accountant."
  ],
  "faq": [
    {
      "q": "How does the impermanent loss calculator work?",
      "a": "Providing liquidity in a 50/50 pool costs you when prices diverge. This shows the impermanent loss percentage and whether fees cover it. The underlying maths is: IL = 2√r / (1 + r) − 1, where r is the relative price ratio change."
    },
    {
      "q": "What do I need to enter?",
      "a": "5 values: token a price change, token b price change, deposit value, pool fee apr, and days in pool. Each field starts with a sensible default, so you can change one number at a time and watch the result move."
    },
    {
      "q": "What does the impermanent loss result mean?",
      "a": "It is returned as a percentage and updates live as you edit the inputs, so you can compare two or three versions of a scenario in a few seconds."
    },
    {
      "q": "Is this calculator free, and do I need an account?",
      "a": "Yes, it's free, and no account is required. Nothing you type is stored on our servers — the maths runs entirely in your browser."
    },
    {
      "q": "How accurate is the result?",
      "a": "It applies the standard formula exactly, so the arithmetic is precise. Results are estimates before tax, fees, and inflation unless an input explicitly covers them."
    },
    {
      "q": "Who is this tool for?",
      "a": "It's built for anyone comparing money scenarios before committing — budgeting a payment, sanity-checking a quote, or seeing what a change in rate or term actually costs."
    }
  ],
  "related": [
    "https://www.revenuelab.fyi/toolbox/crypto-staking-yield"
  ],
  "license": "CC-BY-4.0",
  "citation": "RevenueLab — Impermanent Loss Calculator (https://www.revenuelab.fyi/toolbox/impermanent-loss)"
}