---
title: "Embed"
description: "Embed a live inflation calculation or a working calculator in any page with one script tag. Light and dark, seven languages, auto-resizing."
url: "https://valuethen.com/embed/"
language: "en"
site: "ValueThen"
publisher: "Rising Throne"
updated: "2026-09-02"
license: "Data: World Bank CC BY 4.0, ECB, FRED"
---

# Embed

Embed a live inflation calculation or a working calculator in any page with one script tag. Light and dark, seven languages, auto-resizing.
# Put it in your page

One script tag. A live figure or a working calculator, in your reader's language, matching their theme, with the source line underneath. Free for any site.

AmountModeResult cardInteractive calculatorFrom currencyAED · UAE DirhamAUD · Australian DollarBGN · Bulgarian LevBRL · Brazilian RealCAD · Canadian DollarCHF · Swiss FrancCLP · Chilean PesoCNY · Chinese YuanCOP · Colombian PesoCZK · Czech KorunaDKK · Danish KroneEGP · Egyptian PoundEUR · EuroGBP · British PoundHKD · Hong Kong DollarHUF · Hungarian ForintIDR · Indonesian RupiahILS · Israeli ShekelINR · Indian RupeeISK · Icelandic KronaJPY · Japanese YenKRW · South Korean WonMXN · Mexican PesoMYR · Malaysian RinggitNGN · Nigerian NairaNOK · Norwegian KroneNZD · New Zealand DollarPHP · Philippine PesoPKR · Pakistani RupeePLN · Polish ZlotyRON · Romanian LeuRUB · Russian RubleSAR · Saudi RiyalSEK · Swedish KronaSGD · Singapore DollarTHB · Thai BahtTRY · Turkish LiraUSD · US DollarZAR · South African RandInto currencyAED · UAE DirhamAUD · Australian DollarBGN · Bulgarian LevBRL · Brazilian RealCAD · Canadian DollarCHF · Swiss FrancCLP · Chilean PesoCNY · Chinese YuanCOP · Colombian PesoCZK · Czech KorunaDKK · Danish KroneEGP · Egyptian PoundEUR · EuroGBP · British PoundHKD · Hong Kong DollarHUF · Hungarian ForintIDR · Indonesian RupiahILS · Israeli ShekelINR · Indian RupeeISK · Icelandic KronaJPY · Japanese YenKRW · South Korean WonMXN · Mexican PesoMYR · Malaysian RinggitNGN · Nigerian NairaNOK · Norwegian KroneNZD · New Zealand DollarPHP · Philippine PesoPKR · Pakistani RupeePLN · Polish ZlotyRON · Romanian LeuRUB · Russian RubleSAR · Saudi RiyalSEK · Swedish KronaSGD · Singapore DollarTHB · Thai BahtTRY · Turkish LiraUSD · US DollarZAR · South African RandFrom year2026202520242023202220212020201920182017201620152014201320122011201020092008200720062005200420032002200120001999199819971996199519941993199219911990198919881987198619851984198319821981198019791978197719761975197419731972197119701969196819671966196519641963196219611960To yearLatest available2026202520242023202220212020201920182017201620152014201320122011201020092008200720062005200420032002200120001999199819971996199519941993199219911990198919881987198619851984198319821981198019791978197719761975197419731972197119701969196819671966196519641963196219611960ThemeMatch reader's deviceDarkLightLanguageENTRDEFRESPTRU

Width (CSS)

Live preview

Script tag (recommended: resizes itself) Copy

```
<script async src="https://valuethen.com/embed.js" data-amount="100" data-from="USD" data-from-year="1970"></script>
```

Plain iframe (no JavaScript on your side) Copy

```
<iframe src="https://valuethen.com/embed/widget/?a=100&f=USD&t=USD&fy=1970" title="ValueThen inflation calculator" style="border:0;width:100%;max-width:100%;height:220px" loading="lazy"></iframe>
```

Works in any CMS that allows a script or iframe: WordPress, Substack (iframe), Ghost, Webflow, Notion (iframe). Several widgets on one page are fine.

## Terms

The widget is free for any site, commercial or not. The "Powered by ValueThen" link stays visible; that link is the price. Figures come from the same API as the site and refresh nightly. If you need the numbers without the widget, use the [API](https://valuethen.com/developers/).

## Use this page programmatically

The same figure from the free API, no key required:

```bash
curl "https://api.valuethen.com/v1/convert?amount=100&from=USD&to=EUR&fromYear=1970&toYear=2026"
```

```json
{ "result": 777.71, "method": "cpi-then-fx", "sources": ["World Bank FP.CPI.TOTL, 2010=100"] }
```

---

Data sources: World Bank FP.CPI.TOTL, ECB HICP and reference rates, FRED CPI-U.
Free JSON API: https://api.valuethen.com/openapi.json · Agent guide: https://valuethen.com/llms.txt · MCP: https://api.valuethen.com/mcp
