Google Sites guide
Insert · Embed · by URL or code
A quantity calculator on a Google Sites page
Google Sites embeds a page in two ways, by its address or by a piece of code, and both work for this calculator. Classes, school projects, trade courses and small firms' intranets built on Sites can give their readers a working tool next to the instructions.
- Insert → EmbedElement
- Not usedScript
- Drag the boxHeight
- Any accountPlan
Before you start
- Edit access to the site in Google Sites.
- The calculator's address or code from the blocks below.
- If the site belongs to a school or a company, an administrator may limit what can be embedded; the steps below are the same once it is allowed.
Step by step
Open Embed
Open the page in the Sites editor. In the Insert panel on the right, click Embed.
By address (simplest)
On the By URL tab paste the frame's address from the first block below and click Insert.
Or by code
On the Embed code tab paste the code from the second block, click Next, then Insert. The code adds the credit line under the frame.
Size the box
Drag the box's corner handles: the column's full width, and tall enough that the calculator's last line and the credit are visible, around 520 px for the compact format.
Publish
Click Publish and open the published page, including on a phone, to check the height.
Your code
https://craftquantities.com/embed/?calc=concrete-calculator&ev=1&fmt=compactThe frame's address alone. Add a text box under it that links "Calculator by Craft Quantities" to the calculator's page; that line is the credit.
<iframe src="https://craftquantities.com/embed/?calc=concrete-calculator&ev=1&fmt=compact" width="100%" height="460" loading="lazy" style="border:1px solid #e4e4e7;border-radius:12px;max-width:100%" title="Concrete Calculator — Craft Quantities"></iframe>
<p style="margin:4px 0 0;font:12px/1.4 system-ui,sans-serif">Calculator by <a target="_blank" rel="noopener" href="https://craftquantities.com/calculators/materials-quantities/concrete-calculator/">Craft Quantities</a></p>The frame and the credit line together. The link opens in a new tab, so the calculator's page never loads inside the box.
Every other option is in the full builder.
What visitors see
Calculator by Craft Quantities
Troubleshooting
- Only the top of the calculator shows
- The box keeps the size you dragged it to. Make it taller in the editor, then publish again.
- The credit link opens inside the box
- Use the code from the Embed code block: its link opens a new tab. A plain link added by hand opens in the box.
- "Embedding is not allowed" or a blank box
- Your organisation's administrator restricts embedded content. Ask them to allow this site, or link to the calculator's page instead.
- Fine on a computer, cramped on a phone
- Phones stack the inputs. Check the published page on a phone and make the box taller if the bottom is hidden.
Why it helps
- A lesson on concrete or flooring becomes an exercise: learners measure, enter the numbers and see the method on the calculator's page.
- A Sites page has no calculator of its own; the frame adds one without any script in your site.
- Free and without an account: nothing to sign up for and nothing that tracks the people reading your site.
Sources
Checked against these help pages on 26 November 2026.