{
  "slug": "crypto-swap-slippage",
  "title": "Crypto Swap Slippage Calculator",
  "heading": "Crypto Swap Slippage Calculator",
  "category": "financial",
  "url": "https://www.revenuelab.fyi/toolbox/crypto-swap-slippage",
  "summary": "What a DEX swap really costs after slippage and fees.",
  "description": "Price impact scales with your trade size versus pool depth. Estimate tokens received, slippage cost, and total all-in cost of the swap.",
  "formula": null,
  "dateModified": "2026-09-30",
  "run_url": "https://www.revenuelab.fyi/api/public/calc?tool=crypto-swap-slippage",
  "inputs": [
    {
      "id": "amount",
      "label": "Swap amount",
      "kind": "number",
      "hint": null,
      "default": 25000,
      "unit": "$",
      "min": null,
      "max": null
    },
    {
      "id": "liquidity",
      "label": "Pool liquidity",
      "kind": "number",
      "hint": null,
      "default": 1200000,
      "unit": "$",
      "min": null,
      "max": null
    },
    {
      "id": "poolFee",
      "label": "Pool fee",
      "kind": "number",
      "hint": null,
      "default": 0.3,
      "unit": "%",
      "min": null,
      "max": null
    },
    {
      "id": "gas",
      "label": "Gas cost",
      "kind": "number",
      "hint": null,
      "default": 12,
      "unit": "$",
      "min": null,
      "max": null
    },
    {
      "id": "tolerance",
      "label": "Slippage tolerance",
      "kind": "number",
      "hint": null,
      "default": 1,
      "unit": "%",
      "min": null,
      "max": null
    }
  ],
  "outputs": [
    {
      "id": "total",
      "label": "All-in swap cost",
      "format": "currency",
      "hint": null,
      "primary": true
    },
    {
      "id": "impact",
      "label": "Price impact",
      "format": "percent",
      "hint": null,
      "primary": false
    },
    {
      "id": "received",
      "label": "Effective value received",
      "format": "currency",
      "hint": null,
      "primary": false
    },
    {
      "id": "status",
      "label": "Tolerance check",
      "format": "raw",
      "hint": null,
      "primary": false
    }
  ],
  "worked_example": {
    "inputs": [
      "Swap amount: 25000 $",
      "Pool liquidity: 1200000 $",
      "Pool fee: 0.3 %",
      "Gas cost: 12 $",
      "Slippage tolerance: 1 %"
    ],
    "outputs": [
      "All-in swap cost: $597.20",
      "Price impact: 2.041%",
      "Effective value received: $24,402.80",
      "Tolerance check: Exceeds your slippage tolerance — split the order"
    ]
  },
  "how_to": {
    "title": "How to use this",
    "steps": [
      "Enter swap amount ($).",
      "Enter pool liquidity ($).",
      "Enter pool fee (%).",
      "Enter gas cost ($).",
      "Enter slippage tolerance (%).",
      "Read your all-in swap cost 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": {
        "amount": 15000,
        "liquidity": 720000,
        "poolFee": 0.18,
        "gas": 7,
        "tolerance": 0.6
      }
    },
    {
      "name": "Typical",
      "description": "Defaults — the most common real-world setup.",
      "values": {
        "amount": 25000,
        "liquidity": 1200000,
        "poolFee": 0.3,
        "gas": 12,
        "tolerance": 1
      }
    },
    {
      "name": "Ambitious",
      "description": "Higher-end numbers — what if things really pop?",
      "values": {
        "amount": 40000,
        "liquidity": 1920000,
        "poolFee": 0.48,
        "gas": 19,
        "tolerance": 1.6
      }
    }
  ],
  "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 crypto swap slippage calculator work?",
      "a": "Price impact scales with your trade size versus pool depth. Estimate tokens received, slippage cost, and total all-in cost of the swap."
    },
    {
      "q": "What do I need to enter?",
      "a": "5 values: swap amount, pool liquidity, pool fee, gas cost, and slippage tolerance. 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 all-in swap cost result mean?",
      "a": "It is returned as a money amount in US dollars 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/gas-fee-cost",
    "https://www.revenuelab.fyi/toolbox/impermanent-loss"
  ],
  "license": "CC-BY-4.0",
  "citation": "RevenueLab — Crypto Swap Slippage Calculator (https://www.revenuelab.fyi/toolbox/crypto-swap-slippage)"
}