Moment of inertia (second moment of area)
How stiff a beam is in bending depends on how far its material sits from the bending axis, squared. That is why beams are deep rather than wide, and why I-beams and tubes put their material at the edges: the middle of a section carries almost nothing.
The formulas
- Definition: I = ∫ y² dA, every bit of area times the square of its distance from the bending axis.
- Rectangle b wide, h deep: I = b h³ ÷ 12. Box with wall t: the outer rectangle minus the hole, (b h³ − (b − 2t)(h − 2t)³) ÷ 12.
- Round bar of diameter d: I = π d⁴ ÷ 64. Tube: π (d⁴ − (d − 2t)⁴) ÷ 64.
- I-beam with flanges and web all t thick: the b × h block minus the two side gaps, (b h³ − (b − t)(h − 2t)³) ÷ 12.
- Section modulus Z = I ÷ c, with c the distance to the outer edge: bending stress is M ÷ Z. Radius of gyration r = √(I ÷ A).
Bending about the horizontal axis through the centre. Round shapes use the depth as the diameter and ignore the width. The I-beam here has sharp corners and one thickness throughout; rolled steel sections have fillets and thicker flanges, so take their values from the maker's tables. Tested: every shape's formula against integrating y² over the shape slice by slice, to one part in a million (packages/mechanics/test/science.test.ts).
Example
With shape: I-beam, width 100 mm, depth or diameter 200 mm, wall or flange thickness 10 mm: section: I-beam; second moment of area I: 22,926,667 mm⁴ (2,293 cm⁴); section modulus Z = I ÷ c: 229,267 mm³; area: 3,800 mm²; radius of gyration: 77.7 mm. Open this setup, then change one thing at a time.
Related: Beam deflection · Coil spring rate calculator · Block and tackle