Moment of Inertia Calculator
For a rectangle, I = bh³/12. Pick a Quick Shape or draw a cross-section with holes. Choose what one grid unit means; get centroidal Ix, Iy, product of inertia, principal moments and radii of gyration.
Section Layout
Click a grid intersection to place the first vertex
Close the outer boundary to compute section properties.
How to Use the Calculator and Read the Results
- Open Quick Shapes (use the menu button on mobile) and choose a preset, such as Rectangle 8×4.
- For your own dimensions, clear the outline and click grid intersections to draw it. Click the first green vertex to close.
- For voids, use + Add Hole or + Circular Hole (r=1), keeping holes inside the outline.
- Read the Section Properties table. Choose a physical length per grid unit; zoom changes the view, not the dimensions.
Worked check: the Rectangle 8×4 preset
This preset is 8 units wide and 4 tall, centered at the origin. Ixx measures distances in the y direction: Ixx = 8 × 4³/12 = 42.6667. Iyy = 4 × 8³/12 = 170.6667. The table should show:
| Readout | Grid value |
|---|---|
| Area A | 32.0000 |
| Centroid x̄, ȳ | 0.0000, 0.0000 |
| Ixx, Iyy | 42.6667, 170.6667 |
| Product of inertia Ixy | 0.0000 |
| Principal moments I₁, I₂ | 170.6667, 42.6667 |
| Radii rx, ry | 1.1547, 2.3094 |
Here the principal axes coincide with the horizontal and vertical axes; I₁ is the larger moment. The radii follow rx = √(Ixx/A) and ry = √(Iyy/A).
Convert grid results to mm⁴ or in⁴
If one grid unit represents a length s, multiply centroid coordinates and radii by s, area by s², and all second moments by s⁴. Angles stay unchanged. At 10 mm per grid unit, this rectangle is 80 × 40 mm: A = 3,200 mm², Ixx = 426,666.7 mm⁴ and Iyy = 1,706,666.7 mm⁴. Check directly: 80 × 40³/12 = 426,666.7 mm⁴. The radii become 11.55 and 23.09 mm.
Use Ixx for bending about the horizontal centroidal axis when the section depth is drawn vertically. Match units when using the beam deflection calculator or bending stress formula: mm⁴ with N·mm and MPa, or in⁴ with kip·in and ksi.
Moving the outline changes its centroid coordinates, but not its centroidal Ixx or Iyy. For an axis at the base, calculate I = Ic + Ad² separately. See the NCEES FE Reference Handbook, Statics: Area Moments of Inertia and Parallel Axis Theorem. NCEES provides handbook access through MyNCEES.
What Is Moment of Inertia?
Area moment of inertia (second moment of area) weights each piece of area by its squared distance from an axis:
Units are length⁴. Holding M and c constant, a larger I reduces stress ; deflection varies with 1/(EI). Material far from the axis contributes most.
Moment of Inertia of a Rectangle
For width b and depth h, about centroidal axes or the base:
The depth is cubed, so orientation matters. A 2×10 joist is actually 1.5 in × 9.25 in:
Standing on edge it is 38 times stiffer than laid flat. In SI, a 300 × 600 mm concrete beam has I = 300(600)³/12 = 5,400 × 10⁶ mm⁴, and only 1,350 × 10⁶ mm⁴ if turned on its side.
Moment of Inertia of an I-Beam
For overall depth d, flange width b, flange thickness tf and web thickness tw, subtract the voids from the outer rectangle:
Example: a W12×26 has d = 12.2 in, b = 6.49 in, tf = 0.380 in and tw = 0.230 in.
AISC lists Ix = 204 in⁴; omitted fillets explain the 1.5% gap. Iy = 17.3 in⁴, about 12 times smaller, favors a vertical web for vertical loading. In SI, a 200 × 400 mm I-beam with 15 mm flanges and a 10 mm web gives Ix = [200(400)³ − 190(370)³]/12 = 264.7 × 10⁶ mm⁴. Pick the I-section in the calculator, or draw your own section, to check.
Moment of Inertia Formulas for Common Shapes
Centroidal x-axis values from the NCEES FE Reference Handbook, Statics area-properties table. b is width, h or d is depth; flange/web thicknesses are tf/tw.
| Shape | Moment of inertia Ix |
|---|---|
| Rectangle | bh³/12 |
| Hollow rectangle (outer B × H, inner b × h) | (BH³ − bh³)/12 |
| Solid circle, diameter d | πd⁴/64 |
| Hollow circle (tube), diameters D and d | π(D⁴ − d⁴)/64 |
| Symmetric I-beam (wide flange) | [bd³ − (b − tw)(d − 2tf)³]/12 |
| Triangle, base b and height h | bh³/36 |
| T-section, channel, angle | Σ(Ii + Aidi²) about the centroid |
| Any area, moved to a parallel axis | I = Ic + Ad² |
Parallel Axis Theorem
For an axis d from the centroidal axis, add Ad². For the 2×10's bottom edge: A = 13.88 in², d = 4.625 in, I = 98.9 + 13.88(4.625)² = 395.7 in⁴ = bh³/3. Start from the centroidal axis.
For a built-up T-section or channel, find the centroid, then add each rectangle's centroidal I and Ad²:
The calculator integrates the outline, including arcs and holes, returning and principal moments as well.
Worked Examples
T-section, step by step
A 100 × 20 mm flange on top of a 20 × 80 mm web (total depth 100 mm). Measured from the bottom, the flange centroid is at 90 mm and the web centroid at 40 mm:
| Part | A (mm²) | Own I (10⁶ mm⁴) | d (mm) | Ad² (10⁶ mm⁴) |
|---|---|---|---|---|
| Flange 100 × 20 | 2000 | 0.067 | 22.2 | 0.988 |
| Web 20 × 80 | 1600 | 0.853 | 27.8 | 1.235 |
The top fiber is 100 − 67.8 = 32.2 mm from the centroid, so the top section modulus is S = I/c = 3.14 × 10⁶ / 32.2 = 97,500 mm³. About the vertical axis, Iy = 20(100)³/12 + 80(20)³/12 = 1.72 × 10⁶ mm⁴. Draw the same T in the calculator above to check both values.
Hollow circle (tube)
A steel tube with D = 100 mm outside and d = 80 mm inside:
That is 59% of a solid 100 mm bar (4.91 × 10⁶ mm⁴) with only 36% of its area, which is why tubes are efficient in bending. For the full theory and FE exam practice, see the area moments of inertia lesson.
Use Section Properties in Beam Checks
Use I in the beam deflection calculator and the bending stress formula σ = Mc/I, or the least I in the column buckling calculator. For area, centroid and radius of gyration of arbitrary shapes, see the section properties calculator.
Moment of Inertia FAQ
What is the moment of inertia of a rectangle?
About its centroidal axis parallel to the base, I = bh³/12, where b is the width and h the depth. About the base it is bh³/3.
What is the moment of inertia of a circle?
I = πd⁴/64 = πr⁴/4 about any diameter. For a hollow circular tube, I = π(D⁴ − d⁴)/64.
How do you find the moment of inertia of an I-beam?
For a symmetric I-beam, take the outer rectangle and subtract the two empty rectangles beside the web: Ix = [bd³ − (b − tw)(d − 2tf)³]/12. For unsymmetric shapes, find the centroid first, then add each part’s own I plus its area times the distance squared (parallel axis theorem).
What units is moment of inertia in?
Length to the fourth power: mm⁴ or m⁴ in SI, and in⁴ in US customary units. Section tables often list I in 10⁶ mm⁴. In this calculator one grid square is one unit, so scale the result by your unit to the fourth power.
Is area moment of inertia the same as mass moment of inertia?
No. The area (second) moment of inertia, in length⁴, measures a cross-section’s resistance to bending and is used in σ = My/I and deflection formulas. The mass moment of inertia, in mass × length², measures resistance to rotation in dynamics.
What is the parallel axis theorem?
It moves a moment of inertia from a part’s own centroidal axis to any parallel axis: I = Ic + Ad², where A is the part’s area and d the distance between the two axes. It is how built-up shapes like T-sections are solved.
What is the polar moment of inertia?
The polar moment J is the sum of the two centroidal moments: J = Ix + Iy. For a solid circular shaft J = πd⁴/32, twice the bending I. It is used for torsion, τ = Tr/J.
Why is Ix larger than Iy for an I-beam?
Most of the material in an I-beam is in the flanges, far from the x axis, and I grows with distance squared. About the y axis the flanges sit close to the axis, so Iy is much smaller. That is why I-beams are oriented with the web vertical.