Moment of Inertia Calculator Widget for Your Website

For statics, mechanics of materials and structural design pages: pick a shape or build a section from parts, and get the centroid, Ix, Iy and section moduli with the table an exam answer needs.

Live preview

What your readers can do with it

Second moment of area problems are marked on the method: the table of areas, centroid distances, A·y and A·d² terms that leads to the answer. The moment of inertia calculator produces that table, so a student can check their own row by row instead of only comparing the final number.

Where it fits

A statics course page can embed it under the parallel axis theorem, with a T-section or a channel for students to work by hand first. Structural engineering blogs can use it beside a comparison of beam shapes, where readers change the flange width and see the section modulus move. It also helps FE and GATE candidates, who are expected to find a centroid and I by hand in a few minutes.

Suggested size

The default frame is 1,200 px high and up to 1,100 px wide, which fits the shape picker, the inputs, the drawing and the area and centroid results. The full working table and the remaining results take the tool to about 2,720 px at that width, so they scroll inside the frame. If your page is about the method, set 2,000 px or more so readers see the table without scrolling twice. On a phone everything stacks to about 4,300 px; there the frame scroll is unavoidable.

Open it on an I-beam

A link sets the shape and its dimensions. This one opens a symmetric I-beam 200 mm wide and 300 mm deep, with 15 mm flanges and a 10 mm web:

https://widemath.com/embed/moment-of-inertia-calculator/?shape=ibeam&b=200&h=300&tf=15&tw=10

Open it in a new tab

The widget gives an area of 8,700 mm², the centroid at mid-depth (150 mm), Ix = 138.35 × 10⁶ mm⁴ and Iy = 20.023 × 10⁶ mm⁴. Built-up sections work too, with parts=, for example ?parts=ibeam:200,15,300,10@0,0;rect:250,12@-25,300&u=mm for the same beam with a cover plate.

Add it in three steps

  1. Load the beam or keep the default T-section, set the height for your page, and press Copy embed code.
  2. Paste it into your course page or post as HTML.
  3. Give the dimensions of one more section in your text for readers to try on their own.

Frequently asked questions

Does it show the parallel axis working?

Yes. The working table lists each part's area, centroid distance, A·y, its own I and the A·d² term, then sums them, the same layout as an exam answer.

Why does a rolled steel section in my table show a slightly larger I?

The shapes here have sharp corners. Rolled sections have root fillets that add a little area and stiffness, so published values run slightly higher. For design, use the values in your code or supplier table, as the note at the bottom of the widget says.

Does changing the unit convert my numbers?

No. The unit relabels everything, so a section typed in mm gives I in mm⁴. Choose the unit first, then type the dimensions in that unit.

The WideMath team

Anuj Paudel, Ashish Pandey and Jhalak Prasad Pandey, Nepal

We build WideMath's free calculators and the widgets that put them on other sites. Every ready-made problem on this page was opened in the widget and checked before it was published. Something not working in your widget? Tell us at [email protected].