Embed the basic income cost calculator on your site
Writing about basic income? Let your readers try the numbers themselves. The widget below is the same calculator as on this site, in a compact form that fits in an article: pick a country, who gets paid and how much a month, and it shows the yearly cost and its share of GDP.
Preview
Embed this calculator
The code below shows the calculator set to United States. Paste it into your site’s HTML; readers can switch to any of the 211 countries and territories. It is free to use, as long as the Free Lunch Lab link stays visible.
How to use it
Copy the code and paste it into your page’s HTML (in WordPress, use a Custom HTML block). Every country page of the calculator has its own code under “Embed this calculator”, already set to that country.
Settings in the address
c: the country code, for example jp, us or inw: who gets it: all, adults or kidsm: the monthly amount, in the country’s currency
https://neteru-nyukin.eltociear.workers.dev/embed/calc/?c=in&w=adults&m=1500
For another language, put it in the path: /ja/embed/calc/, /zh/embed/calc/, /hi/embed/calc/, /es/embed/calc/, /de/embed/calc/ or /ar/embed/calc/ (English is /embed/calc/).
It fits widths from 300 to 700 pixels. A height of about 640 pixels leaves room on phones; on wide columns you can make it shorter.
License and attribution
The country figures are open data under CC BY 4.0 (World Bank, UN and official national sources; the full table is countries.json). You may embed the calculator on any site, including commercial ones, for free. Attribution is required: keep the Free Lunch Lab link in the widget visible, and do not cover or crop it.
The widget sets no cookies and loads no ads or third-party scripts. Like every page on this site, it is counted as a page view (the path and the referring site’s host name, with no IP address).