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

Draw a part 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 the bottom left corner of the section. Y+ upward. Sx = Ix / cy, Sy = Iy / cx.

in

Parts table

Include in PNG and PDF
Dimension conflict

Moment of Inertia and Centroid Calculator

Section properties for composite cross-sections built from rectangles, circles, half and quarter circles and polygons, each one solid or a void. Draw the parts on the canvas, set exact sizes and positions with the Dimension tool, and read the centroid, area moments of inertia, product of inertia, polar moment and section moduli from the right panel.

How to use the section properties tool

  1. Sketch your section. Pick Rectangle, Circle, Arc or Polygon. A rectangle is a drag from corner to corner and a circle a drag from the center out. An arc is a drag from the center out: let go for a half circle, or keep turning for a quarter or three quarters. A polygon is one click per corner, closed by clicking the first corner, and an edge drawn close to level or plumb snaps to it and stays that way.
  2. Set exact dimensions. Switch to the Dimension tool. Click an edge for its length, a circle for its diameter or an arc for its radius, or click two edges or points for the distance between them, then type the value. All dimensions are solved together, so dimensioned parts move into place and a dimensioned part follows when you drag the one it is measured from.
  3. Mark voids. A part drawn wholly inside a solid becomes a void on its own. To change one, select it and pick Solid or Void above it. A void subtracts its area and its parallel axis term.
  4. Read results. The right panel updates as you edit. Parts table lists each part's area, centroid and parallel axis terms, laid out the way the composite method is tabulated by hand. Copy a PNG to paste into a Word or Google Docs report, or download PNG or PDF, with or without the parts table.
  5. Save or share. The address bar tracks every part and dimension, so a reload brings the same section back and the link reproduces it for someone else.

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 about the centroid. Equal to the torsion constant only for circular sections
Section modulusSx, SyI divided by the distance to the farther extreme fiber; relates bending stress to moment

Parallel axis theorem

The calculator applies the parallel axis theorem to each sub-region automatically. For a part 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, pipes, plates with holes, and any other built-up section you can compose from rectangles, circles, arcs and polygons.

Common cross-section types

  • I-beam (W-shape or S-shape): Three rectangles: top flange, web, bottom flange. Root fillets are left out, so I comes out slightly below the steel table value.
  • 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.
  • Pipe or round tube: A circle with a smaller circle inside it as a void.
  • Plate with holes: A rectangle with circular voids, placed by dimensioning each hole's center.
  • Slot or rounded end: A rectangle with a half circle on one or both ends.
  • Triangle, gusset or trapezoid: A polygon, with a right angle held by drawing its legs level and plumb.
  • Quarter circle cutout or fillet corner: A quarter circle void centred on a rectangle's corner.

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. The polar moment J = Ix + Iy is reported too, but τ = T·r / J only holds for circular shafts. A rectangular or built-up section warps as it twists, and its torsion constant is smaller than Ix + Iy.

Checking method

Results are compared against separate calculations in Python. For rectangles, the drawn region is cut into a grid of non-overlapping cells along every rectangle edge, the solid cells are kept, and their exact properties are summed. That method does not use the parallel axis bookkeeping the tool uses, and it was itself checked against closed forms for the hollow rectangle and the I-section. The test set is 15 sections: an I-beam, T, channel, unequal angle, Z, hollow rectangle, a plate with two offset voids, and 8 random stacks. All 150 values (area, centroid, Ix, Iy, Ixy, J, Sx, Sy) agree to within 1 part in 109.

For circles, arcs and polygons, every part is integrated exactly with sympy in every orientation (each quarter, half and three quarter arc, and triangles, a trapezoid and concave polygons) and compared with the formulas the tool uses. Composite sections are then summed from exact moments about a fixed origin, again with no parallel axis step per part: Beer and Johnston's Sample Problem 5.1 (a rectangle, triangle, half circle and circular hole, x̅ = 54.8 mm, y̅ = 36.6 mm), a pipe against π(D⁴ − d⁴)/64, a slot with half circle ends, a plate with quarter circle cutouts, a T with triangular gussets and three more. That is 245 checks, and the tool's own results for the 8 composites match all 80 values to within 1 part in 109.

Limits: straight edges and circular arcs only, with arcs in whole quarter turns, so no ellipses or fillets between edges. Overlapping solids, overlapping voids, and voids that extend past the solid get a warning, because the results then no longer match the drawing.

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 measured from the bottom left corner of the section's outline, with x to the right and y up, the same frame Hibbeler and Beer and Johnston use. Ix, Iy, Ixy, J and the section moduli are all about the centroidal axes, so where you place the section makes no difference to them. Ixy follows the y up convention, so its sign matches the textbook.

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

Draw the outer shape first, then draw the hole inside it. A part drawn wholly inside a solid starts as a void, and the Solid and Void buttons above a selected part switch it. 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, a pipe is a circle with a smaller circle inside, and a C-channel works either way.

Can it do circles, semicircles, quarter circles and triangles?

Yes. The Circle tool draws a full circle, the Arc tool a quarter, half or three quarter circle in any of four orientations, and the Polygon tool any straight-edged shape, a triangle included. Each part's own centroid and centroidal moments come from the closed forms, for example a half circle's centroid at 4r/3π from its flat edge, and the Parts table shows them next to the parallel axis terms.

Which fiber does the section modulus use?

The farther one. Section modulus is I divided by the distance from the centroid to a fiber. 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 faces have different moduli. The tool reports the smaller, because that fiber sees the higher stress. For the other face, divide I by its own distance from the centroid.

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, free browser tools for engineering coursework. Every tool with a calculation is checked against an independent reference; the verification page lists each one.

Cite as: Resultant, “Moment of Inertia and Centroid Calculator,” resultant.tools/inertia-centroid, updated Sep 28, 2026.

Resultant  ·  Verification  ·  Privacy  ·  Updated Sep 28, 2026