Embed the Impermanent Loss Calculator

Add a free, interactive impermanent loss calculator to your DeFi blog, tutorial, or protocol documentation. No signup required.

Copy this embed code

Paste into any HTML page. Works in WordPress, Ghost, Substack (custom HTML block), and static sites.

<iframe
  src="https://defi-explained.dev/tools/impermanent-loss/?embed=1"
  width="100%"
  height="500"
  frameborder="0"
  title="Impermanent Loss Calculator"
  loading="lazy"
></iframe>
<p>
  <a href="https://defi-explained.dev/tools/impermanent-loss/" target="_blank">
    Impermanent Loss Calculator
  </a> by defi-explained.dev
</p>

Live preview

This is exactly what your visitors will see:

What the calculator shows

The impermanent loss calculator shows the exact value loss from price divergence in any AMM liquidity pool.

  • Enter your two tokens and their initial prices
  • Set the current price of each token
  • See IL as a percentage and dollar amount
  • Compare LP value vs holding both tokens separately

Where to use this embed

  • DeFi protocol docs — Let your LPs calculate IL before depositing
  • Yield farming guides — Show readers the real risk of each pool
  • Crypto newsletters — Interactive content increases engagement
  • University DeFi courses — Teaching tool for AMM mechanics

Built a page using this embed? Let us know — we'd love to feature it.

See the full calculator

The standalone version includes pool comparisons, fee offset calculations, and yield projections.

Open Full Calculator →