For website owners
Free calculator widgets for your website
Copy one snippet into your page and your visitors get a working material calculator: no sign-up, no approval form, no cookies, and it resizes itself to fit on phones.
Pick a calculator
Copy the code
Paste this where the calculator should appear. It is three parts: the calculator frame, a one-line credit link (you may delete it; we’d appreciate it), and a line that lets the calculator resize itself.
What you get
- No sign-up, no approval, no key. Copy the code and it works.
- Fits on phones. The calculator tells your page its height whenever it changes, so nothing is cut off.
- The credit link is optional. It sits on your page, outside the frame, and you may remove it.
- No cookies, no ads, nothing personal. What visitors type stays in their browser. We count anonymous page opens and uses, as on our own pages (privacy).
- Shows its working. Each result says what it used, such as the density of the stone or the size of the bag, so your visitors can check it.
- US and metric units. The five landscaping calculators below each have a US customary / metric switch.
The landscaping calculators
How to install it
- WordPress. Add a Custom HTML block and paste the code. On a self-hosted WordPress site that is all. On WordPress.com the frame only stays on a plugin-enabled plan with hosting features turned on; other plans strip it.
- Wix. In the editor choose Add Elements → Embed Code → Embed HTML, click Enter Code, paste and apply. Wix shows the code in a fixed-size box of its own, so drag the box to the height shown under the preview, plus a little room.
- Squarespace. Add a Code block and paste. Squarespace allows a frame in a Code block on its Core, Plus and Advanced plans only.
- GoDaddy Website Builder. Add a section, search for HTML, add it and paste into Custom Code. If the calculator is cut off, set Forced Height to the height shown under the preview, plus a little room.
- Any other site. Paste the code into the page’s HTML where the calculator should appear. Nothing else is needed: no plugin, no account, no key.
How the resizing works
Whenever the calculator’s height changes (a result appears, the units switch, the screen turns), the calculator page sends your page one number: its height in pixels. Nothing about your visitor is in it. The resize line in the code accepts that number only from toolboxcalc.com and only for our calculator’s own frame, then sets the frame to that height. If your site removes scripts, the frame simply keeps its fixed height.
What you can change
- Width: the code uses the full width up to 720 px; change
max-width:720pxto suit your layout. - Height: the
heightnumber is only used without the resize line. - Credit line: reword it or delete it.
- Your colours, your prices, your phone or quote button: that is the supplier version, set up for you. See ToolboxCalc for suppliers.
Limits
- The calculators are in English and give planning estimates; the disclaimer below each result travels with them.
- When we fix or improve a calculator, every site using it gets the change at once. We don’t remove calculators without notice on the calculator’s page.
- The calculator loads from toolboxcalc.com, so it works only while this site is up.
Questions or a calculator you’d like to embed that isn’t here: contact.