Structural & Mechanics

Moment of Inertia Calculator

Area, second moment of area, elastic and plastic section modulus, radius of gyration and polar moment for rectangles, hollow rectangles, circles, pipes and I-beams.

Tool no.
ECT-S03
Rev
1.0
Updated
Oct 2026
Method
Closed-form section properties

How to use this calculator

Pick a shape, enter its dimensions, and read the properties about the two centroidal axes. The x-axis is horizontal and the y-axis vertical, as drawn in the sketch. For an I-beam with a vertical web, x is the strong axis. The sketch redraws to scale as you type, which is a quick way to catch a mistyped dimension.

Once you have Ix, send it straight to the beam calculators with the link under the results.

Formulas

ShapeArea AIxPlastic modulus Zx
Rectangle b × hb hb h³ / 12b h² / 4
Hollow rectangle B × H, wall tB H − bi hi(B H³ − bi hi³) / 12(B H² − bi hi²) / 4
Solid circle, diameter dπ d² / 4π d⁴ / 64d³ / 6
Pipe, outside D, inside diπ (D² − di²) / 4π (D⁴ − di⁴) / 64(D³ − di³) / 6
I-beam d, bf, tf, tw2 bf tf + hw tw[bf d³ − (bf − tw) hw³] / 12bf tf (d − tf) + tw hw² / 4

Here bi = B − 2t and hi = H − 2t are the inside dimensions of the hollow rectangle, di = D − 2t for the pipe, and hw = d − 2tf is the clear web height of the I-beam. The y-axis formulas swap the roles of width and height.

Derived propertiesS = Ic  r = √I / A  Jcircle = Ix + Iy = π d432

c is the distance from the centroid to the extreme fiber (half the depth for these symmetric shapes). The polar moment J equals the torsion constant only for circular sections, so the calculator reports J for circles and pipes only.

Worked example

Rectangle 100 mm wide × 200 mm deep (the default)

  1. A = 100 × 200 = 20,000 mm².
  2. Ix = 100 × 200³ / 12 = 6.667 × 10⁷ mm⁴. Turning the same board flat gives Iy = 200 × 100³ / 12 = 1.667 × 10⁷ mm⁴, one quarter as much.
  3. Sx = Ix / (h/2) = 6.667 × 10⁷ / 100 = 666,700 mm³; Zx = 100 × 200² / 4 = 1,000,000 mm³, so the shape factor Z/S is 1.5, as it always is for a rectangle.
  4. rx = √(Ix/A) = 57.7 mm.

Second moment of area, polar moment, or mass moment of inertia?

Three different quantities share the name “moment of inertia”:

  • Second moment of area I (m⁴, in⁴) measures how a cross-section resists bending. This is what beam deflection and stress formulas need, and what this calculator returns.
  • Polar moment of area J (m⁴, in⁴) measures resistance to twisting of circular shafts.
  • Mass moment of inertia (kg·m², lb·ft²) measures resistance to angular acceleration in dynamics. It is a different quantity with different units.

Elastic versus plastic section modulus

The elastic modulus S gives the moment at first yield, My = σy S. The plastic modulus Z gives the moment when the whole section has yielded, Mp = σy Z. Steel design codes such as AISC 360 base the bending capacity of compact sections on Z.

Assumptions and limits

  • All shapes are doubly symmetric, so the centroid and the plastic neutral axis are at the geometric center.
  • Corners are sharp. Rolled I-beams have fillets between web and flange and cold-formed tubes have rounded corners, so published tables differ by a few percent. With the default US I-beam (close to a W8×31), this calculator gives Ix ≈ 108 in⁴ against 110 in⁴ in the AISC Manual.
  • Use manufacturer or code tables for final design of standard sections.

Frequently asked questions

Which axis should I use for a beam?

The axis the beam bends about. A joist loaded from above with its tall side vertical bends about the horizontal x-axis, so use Ix. For column buckling, use the smaller of Ix and Iy unless the column is braced in the weak direction.

How do I handle a shape that is not listed, like a T or channel?

Split it into rectangles, find the overall centroid, and add each rectangle’s own I plus its area times the squared distance to the centroid (the parallel axis theorem): I = Σ (Ii + Ai di²).

Why do my units look huge in mm⁴?

Fourth powers grow quickly. 1 cm⁴ = 10,000 mm⁴ and 1 m⁴ = 10¹² mm⁴. Use the unit menu next to each result to switch to cm⁴, m⁴ or in⁴.

For education and preliminary checks only. Have a qualified engineer verify any design before it is built.