Skip to tool
Resultant | Section Properties
Tools
Units
1 unit = px
Zoom
100%
Shapes

Draw a rectangle to start.

Shapes
Geometry
A---
x̅---
y̅---
Inertia
Ix---
Iy---
Ixy---
J---
Section Modulus
Sx---
Sy---

Ix, Iy about centroidal axes via parallel axis theorem. x̅, y̅ from origin. Y+ downward. Sx = Ix / cy, Sy = Iy / cx.

in
Dimension conflict

Moment of Inertia and Centroid Calculator

This tool calculates section properties for composite cross-sections made of rectangles and rectangular voids. Draw shapes on the canvas, use the Dimension tool to set exact widths and heights, then read off centroid coordinates, area moments of inertia, section moduli, product of inertia, and polar moment directly from the right panel. No formulas to look up. No spreadsheet to maintain. Nothing leaves your browser.

How to use the section properties tool

  1. Sketch your section. Click and drag on the canvas with the Draw tool to place rectangles. Position them roughly, overlap is fine at this stage.
  2. Set exact dimensions. Switch to the Dimension tool and click any shape to edit its width, height, and position numerically. The tool solves linked dimensions simultaneously so constrained shapes snap into place.
  3. Mark voids. Select any rectangle in the shape list on the left and toggle it to Void. The tool subtracts that area from the composite section using the parallel axis theorem.
  4. Read results. The right panel updates live. Export to PNG (paste directly into a Word or Google Docs report), download SVG, or save a PDF.

Section properties computed

PropertySymbolDescription
Total areaASum of all solid regions minus voids
Centroidx̅, y̅Area-weighted average of sub-shape centroids
Area moment of inertiaIx, IySecond moment of area about centroidal axes
Product of inertiaIxyCross-product of area about centroidal axes
Polar moment of inertiaJIx + Iy, used for torsion of non-circular sections
Section modulusSx, SyI divided by distance to extreme fiber; relates bending stress to moment

Parallel axis theorem

The calculator applies the parallel axis theorem to each sub-region automatically. For a rectangle of area A with its own centroidal moment I₀, the contribution to the composite Ix is:

I₀ + A·d², where d is the vertical distance from that sub-shape's centroid to the composite centroid.

Void regions subtract their area and their parallel axis term. This is the standard approach for I-beams, T-sections, C-channels, hollow rectangles, and any other built-up section you can compose from rectangles.

Common cross-section types

  • I-beam (W-shape or S-shape): Three rectangles -- top flange, web, bottom flange.
  • T-section: Flange rectangle stacked on a web rectangle.
  • C-channel: Three rectangles arranged in a C, or one large rectangle with a void cut from the open side.
  • Hollow rectangle: One outer rectangle with a centered void.
  • L-angle: Two rectangles sharing a corner.

For circular or curved sections, Roark's Formulas for Stress and Strain (8th Ed.) provides closed-form results that can be entered as equivalent rectangular regions for combined sections.

Using results in structural and machine design

The bending stress formula σ = M·c / I requires Ix and the distance from the centroid to the extreme fiber. The section modulus Sx = Ix / c collapses these into one value, which is why beam tables list Sx directly. For shaft torsion, the polar moment J appears in τ = T·r / J. This tool gives you both.

Results from this calculator match what you would find in AISC steel section tables for rectangular cross-sections, and serve as a check against textbook worked examples in Hibbeler's Mechanics of Materials and Beer and Johnston's Mechanics of Materials.

Frequently asked questions

What is the difference between area moment of inertia and mass moment of inertia?

This tool computes the area moment of inertia, the second moment of area of a cross-section about an axis, with units of length to the fourth power. It is the I in the bending stress formula and in beam deflection formulas. Mass moment of inertia is a different quantity, has units of mass times length squared, and describes resistance to angular acceleration in dynamics.

Where is the origin, and does it change the answer?

Draw your section anywhere on the canvas. The centroid is reported in the canvas coordinates you drew in, but Ix, Iy, Ixy, J and the section moduli are all reported about the centroidal axes, so where you place the section makes no difference to them.

How do I model a hollow or built-up section?

Draw the outer shape first, then draw the hole as a second rectangle and toggle it to Void in the shape list. The void subtracts both its area and its parallel axis term. An I-beam is three solid rectangles, a hollow box is one rectangle with one void, and a C-channel works either way.

Why is my section modulus different for the top and bottom fibers?

Section modulus is I divided by the distance from the centroid to the fiber in question. For a section that is not symmetric about the bending axis, such as a T-section, the centroid sits closer to one face, so the two distances differ and so do the two moduli. Design against the smaller one, because that fiber sees the higher stress.

Related tools

  • Beam formula calculator, feed I straight into a closed-form deflection or slope case.
  • Shear and moment diagram calculator, get the bending moment that pairs with I in sigma = Mc/I.
  • Mohr's circle calculator, transform the bending and shear stresses the section carries.

Part of Resultant, a free suite of browser-based tools for undergraduate engineering coursework. No backend, no account, no paywall.

Resultant  ·  Privacy