# A quantity calculator on a Google Sites page

> Add a free quantity calculator to a Google Sites page with Insert, then Embed: by address or by code, sized in the editor. Exact clicks and fixes.

Page: https://craftquantities.com/embeds/google-sites/ (embed guide). This is the page's Markdown copy; the HTML page is the canonical version.

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 → Embed Element
- Not used Script
- Drag the box Height
- Any account Plan

**On this page Before you start**

## 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

1. Open Embed

   Open the page in the Sites editor. In the **Insert** panel on the right, click **Embed**.
2. By address (simplest)

   On the **By URL** tab paste the frame's address from the first block below and click **Insert**.
3. 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.
4. 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.
5. Publish

   Click **Publish** and open the published page, including on a phone, to check the height.

## Your code

_By URL_

```
https://craftquantities.com/embed/?calc=concrete-calculator&ev=1&fmt=compact
```

The 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.

_Embed code_

```
<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](https://craftquantities.com/embeds/#calculator=concrete-calculator).

## What visitors see

Your Google Site · Lessons · Concrete

Calculator by [Craft Quantities](https://craftquantities.com/calculators/materials-quantities/concrete-calculator/)

## 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.

1. [Google Sites Help: Add and edit embedded content](https://support.google.com/sites/answer/90569)
2. [Google Workspace Updates: Embed HTML and JavaScript in new Google Sites](https://workspaceupdates.googleblog.com/2017/12/embed-html-and-javascript-in-new-google-sites.html)
3. [AppSheet Help: Embed an app in Google Sites (By URL, resizing)](https://support.google.com/appsheet/answer/10104491)

On this page

At a glance

**Element**

Insert → Embed

**Script**

Not used

**Height**

Drag the box

**Plan**

Any account

Official links

- [The plugin on WordPress.org](https://wordpress.org/plugins/craft-quantities-calculators/)
- [Developer hub](https://craftquantities.com/developers/)
- [Static JSON API](https://craftquantities.com/api/)
- [Remote MCP server](https://craftquantities.com/developers/mcp/)
- [npm package](https://craftquantities.com/developers/npm/)

The one rule

Keep the visible credit line under the frame: it is the one condition of the free embed.

**Open:** the engine’s answers (its JSON API, MCP server and npm package), the data files under /api/v1/ and the formula library (/formulas/) are published under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/): reuse them, commercially too, crediting “Craft Quantities” with a link. **Reserved:** the page text, the design and the software, the engine’s code included. [The terms of use](https://craftquantities.com/terms/)

[The terms, in full](https://craftquantities.com/embeds/#terms)

[Home](https://craftquantities.com/)

Embed & integrations

Pages

- [Overview and builder](https://craftquantities.com/embeds/)
- [WordPress plugin](https://craftquantities.com/embeds/wordpress/)
- [Shopify](https://craftquantities.com/embeds/shopify/)
- [Wix](https://craftquantities.com/embeds/wix/)
- [Squarespace](https://craftquantities.com/embeds/squarespace/)
- [Webflow](https://craftquantities.com/embeds/webflow/)
- [Google Sites](https://craftquantities.com/embeds/google-sites/)
- [Blogger](https://craftquantities.com/embeds/blogger/)
- [Any HTML page](https://craftquantities.com/embeds/html/)

Developers & integrations

- [Overview and live call](https://craftquantities.com/developers/)
- [API reference](https://craftquantities.com/developers/api-reference/)
- [Static JSON API](https://craftquantities.com/api/)
- [Remote MCP server](https://craftquantities.com/developers/mcp/)
- [npm package](https://craftquantities.com/developers/npm/)
- [Command line](https://craftquantities.com/developers/cli/)
- [WebMCP in the browser](https://craftquantities.com/developers/webmcp/)
- [Claude and ChatGPT](https://craftquantities.com/ai/)
- [Embeds and WordPress](https://craftquantities.com/embeds/)
- [Browser extension](https://craftquantities.com/tools/browser-extension/)
- [Changelog](https://craftquantities.com/developers/changelog/)
- [Service status](https://craftquantities.com/status/)

On this page

- Before you start
- Step by step
- Your code
- What visitors see
- Troubleshooting
- Why it helps
- Sources

---
Source: https://craftquantities.com/embeds/google-sites/
Craft Quantities: free to read, cite and link to; the pages are not licensed for republication. Quantities only: no prices, no design and no certification.
