Inflation calculator widget

Free embed

One HTML snippet

What money from an earlier year is worth today, by country

  • Free to use, no account needed, no ads and no cookies in the widget.
  • Data: Eurostat, OECD, BLS and IMF consumer price indices. Updates: with each official release, checked daily.
  • Available in 4 languages, light or dark.
  • A short credit line with a link to the source page stays under the widget.

Set it up and copy the code

Preview

Paste it where the widget should appear. The script sizes the frame to its content and checks that the credit line below the widget is visible.

Code for editors that remove scripts

A plain frame with a fixed height. Use it where your site builder strips script tags; keep the credit line under it.

Specification

Specification
ItemValue
ShowsWhat money from an earlier year is worth today, by country
SourceEurostat, OECD, BLS and IMF consumer price indices
Updateswith each official release, checked daily
LanguagesDeutsch, English, Español, Français
ThemesLight, dark, or the visitor's system setting
SizeFull width of its container; the height follows the content (about 720 px with the frame code)
Cookies and adsNone. The widget stores nothing in the visitor's browser.
PriceFree. The credit line under the widget stays visible.

How to add it to your site

To add the Inflation calculator widget, copy the code above and paste it into an HTML block on your page. Site builders name that block differently: Custom HTML in WordPress, Embed code in Wix, Code block in Squarespace, Embed in Webflow, HTML card in Ghost. The script builds a frame from our server and resizes it whenever its content changes, so the widget never shows an inner scroll bar.

If your editor strips scripts, the frame code below the main code does the same job at a fixed height of about 720 pixels.

The data comes from Eurostat, OECD, BLS and IMF consumer price indices; it updates with each official release, checked daily. The frame carries its own source line and the date of the latest figure. Nothing is stored in the visitor's browser, and the credit line under the widget links to the page with the full data.

Questions and answers

Is the Inflation calculator widget free?

Yes. The Inflation calculator widget is free for any site, commercial or not, and needs no account or key. The one condition is the credit line under it, which links to the page with the full data. That link carries rel="nofollow", so search engines do not treat it as a paid link.

Does the widget set cookies or show ads?

No. The Inflation calculator frame sets no cookie, stores nothing in the visitor's browser and shows no ads, so it needs no entry in your cookie banner. Its figures arrive with the frame from our server, and nothing a visitor types into a calculator is sent anywhere.

Where do the figures come from, and how often do they change?

From Eurostat, OECD, BLS and IMF consumer price indices. The widget updates with each official release, checked daily. Every frame shows its source line with the date of the latest figure, so your readers can check where a number comes from and how recent it is. If a source falls behind, the frame keeps the last figure with its date instead of showing a gap.

Can I change the size, theme or language?

The widget fills the width of the box you place it in, and the script code sets the height from the content. In the builder you pick a light or dark theme, or let it follow the visitor's system setting, and one of the site's languages (Deutsch, English, Español, Français). Single colours cannot be changed.

Can I remove the credit line?

No. When the script finds no visible credit line next to the Inflation calculator widget, the frame shows its own credit strip inside the widget instead. The line is one short sentence with a link to the source page; you may style it as you like as long as it stays readable.