Embeddable Calculators
Put a working Voltfield calculator on your own page: a course site, a blog post, a contractor’s resources page, an internal wiki. Two lines of HTML, 45 calculators to choose from.
Pick a calculator, copy the snippet, paste it where you want the calculator to appear. It is the same calculator as the one on Voltfield, running in your reader’s browser. There is no account, no key and no charge, and it keeps a link back to the page that explains the method.
Choose and preview
Preview
What you are adding to your page
- The real calculator. The snippet loads the same code the Voltfield page runs, so the result, the warnings and the rounding are identical, and a correction made here reaches your copy without you doing anything.
- Nothing that follows your readers. The embedded calculator loads its code and stylesheet from voltfield.org and nothing else. It sets no cookies, runs no analytics, and what a reader types never leaves their browser.
- Something that cannot disturb your page. It runs in its own frame. Your styles do not reach in and its styles do not reach out, and it sizes itself to its contents.
- A link back. Under the calculator is a link to the page on Voltfield that gives the formula, a worked example and what the calculation leaves out. Please keep it: it is what the embed asks in return, and it is what lets your reader check the working.
Options
Set these as attributes on the div.
data-calc: which calculator. The names are in the list below.data-theme="dark": for a dark page. Leave it out for light.data-units="metric": open in metric on the calculators that have both systems. The reader can still switch.
You can put several calculators on one page. Include the script line once, after the last one.
If it does not appear
Some site builders remove script tags from pasted HTML. Use the builder’s “custom HTML” or “embed code” block, which keeps them. A strict content security policy needs to allow scripts, styles and frames from https://voltfield.org. Where neither is possible, the link in the snippet still shows, and takes the reader to the calculator.
All 45 embeddable calculators
Questions
If you want a calculator that is not here, or something about the embed does not work on your platform, the contact page says how to reach us. The Lead-Time Index has an embeddable widget of its own, and the reference charts are free to print and reproduce.