Google Sites

How to embed a calculator in Google Sites for your class

Google Sites has no calculator of its own, but its Embed tool accepts a free calculator widget in about two minutes. These are the exact steps, how to size the box, and which calculator fits which class.

WideMath teamPublished 14 October 20265 min read

Many teachers run their class website on Google Sites, and many of those pages end up linking to a calculator somewhere else. You can put the calculator on the page instead. The WideMath widgets are free, need no student accounts and show no ads inside the frame, and Google Sites takes them through its standard Embed tool.

On this page

  1. Step by step
  2. Sizing the embed box
  3. Embed code, a web address, or a full page
  4. Which calculator for which class
  5. If the box stays blank
  6. Questions people ask

Step by step

These steps follow Google's own help page on embedding in Google Sites. They work on the current version of Google Sites.

  1. Copy the code. In the calculator widget gallery, press Copy code on the calculator you want, or open its own page for a live preview and other sizes. For a general maths class, the scientific calculator widget is a good start.
  2. Open your site in Google Sites and go to the page where the calculator should appear.
  3. On the right, click Insert, then Embed.
  4. Click the Embed code tab and paste the code. Click Next. Google shows a preview of the calculator.
  5. Click Insert. The calculator appears on your page inside a box.
  6. Resize the box by dragging its edges until the whole calculator shows. The next section gives the sizes.
  7. At the top right, click Publish.

This is the code for the scientific calculator, exactly as the widget gallery gives it:

<iframe src="https://widemath.com/embed/scientific-calculator/" title="Scientific Calculator by WideMath" width="100%" height="760" style="border:0;max-width:460px" loading="lazy" allow="clipboard-write; fullscreen"></iframe>
<p style="margin:6px 0 0;font:14px/1.4 sans-serif"><a href="https://widemath.com/scientific-calculator/">Scientific Calculator</a> by WideMath</p>

The first line loads the calculator in a frame from widemath.com/embed/. The second line is a small credit with a link to the full tool. Please keep it: it is the only thing we ask in return for the free widget.

Sizing the embed box

Google Sites shows your code inside a box of its own. The calculator's frame has a fixed height, set by height="..." in the code, and the credit line sits under it. If the Google Sites box is shorter than both together, the bottom of the calculator is cut off or students have to scroll inside the box. So make the box a little taller than the frame:

CalculatorFrame height in the codeMake the box at leastBox width
Scientific Calculator760 px800 pxHalf the page is enough
Graphing Calculator600 px640 pxFull width
Matrix Calculator720 px760 pxFull width
Statistics Calculator820 px860 pxFull width
Unit Converter1040 px1080 pxFull width

The scientific calculator is 460 px wide at most, so it fits in a half-width box next to a worksheet or instructions. Graphers and solvers work better across the full width; in a narrow box the graphing calculator moves its equation list under the graph and needs about 750 px of height. After you publish, open the page on a phone as well. If part of the calculator is cut off there, raise the height in the code by 50 to 100 px and make the box taller to match.

Embed code, a web address, or a full page

The Embed dialog also accepts a plain web address. Pasting https://widemath.com/embed/scientific-calculator/ there works too, but it drops the credit line, so please use the Embed code tab.

Google Sites also offers a Full page embed: click Pages on the right, hover over Add and choose Full page embed. That gives the calculator a page of its own in your site menu, which suits a class site where students should always find "Calculator" in the same place.

To make the calculator open with a ready-made problem, such as a graph for today's lesson, see how to embed a graphing calculator with your own graph. The same edited code pastes into Google Sites unchanged.

Which calculator for which class

The full list, sorted by subject with a note on how each one helps in a lesson, is in free calculator widgets for teachers.

If the box stays blank

Copy a calculator for your Google Site

24 free widgets with a live preview and a size picker.

Open the calculator widgets →

Questions people ask

Can you embed a calculator in Google Sites?

Yes. Copy the embed code for a calculator widget, then in Google Sites click Insert, Embed, open the Embed code tab, paste the code, click Next and then Insert. Resize the box so the whole calculator shows, and publish.

Why is part of the calculator cut off in Google Sites?

The embed box is shorter than the calculator. Drag the bottom edge of the box down until it is about 40 px taller than the height in the code. On narrow boxes and phones, some calculators stack their panels and need more height.

Is the calculator widget free for schools?

Yes. Every WideMath widget is free for schools and teachers, with no account, no usage limit and no ads inside the frame. We only ask that you keep the short credit line and its link under the calculator.

Can I paste the web address instead of the embed code?

You can, and the calculator will show, but the credit line is dropped. Please use the Embed code tab so the small link to the full tool stays under the calculator.

Do students need a Google account to use the calculator?

Not for the calculator itself. The widget needs no sign-in. Whether students must sign in to see your page depends on how your Google Site is shared.

WideMath team

The people who build WideMath

WideMath is made by three people in Nepal: Anuj Paudel, Ashish Pandey and Jhalak Prasad Pandey. We build the calculators, the widgets and these guides, and we test every embed on a real page before we write about it. Questions about the widgets go to [email protected].