Moment of Inertia Calculator: Mass and Area Moments
By FindMySum · Last reviewed
"Moment of inertia" means two related things. In dynamics it is the mass moment of inertia, the resistance of a body to changes in its rotation, measured in kilogram square metres. In structures it is the second moment of area, a property of a beam's cross-section that sets how much it bends, measured in mm⁴ or in⁴. This calculator does both, because the maths is the same idea: every bit of mass or area counts in proportion to the square of its distance from the axis.
Mass moment of inertia
Newton's second law for rotation is τ = Iα: the torque needed for a given angular acceleration is proportional to I. For a set of particles, I = Σ m r². For continuous bodies the sum becomes an integral, and the results for uniform shapes are standard:
| Body (axis) | Moment of inertia |
|---|---|
| Point mass at distance r | m r² |
| Thin rod about its centre | m L² ÷ 12 |
| Thin rod about one end | m L² ÷ 3 |
| Thin ring or hoop | m R² |
| Solid cylinder or disc about its axis | ½ m R² |
| Thick-walled tube about its axis | ½ m (R₁² + R₂²) |
| Solid cylinder about a central diameter | m (3R² + L²) ÷ 12 |
| Solid sphere | ⅖ m R² |
| Thin spherical shell | ⅔ m R² |
| Rectangular plate, axis normal to the face | m (a² + b²) ÷ 12 |
The shape factor in front tells you how the mass is spread. A ring puts everything at the rim (factor 1); a disc has a lot of mass near the centre (factor ½); a sphere even more (⅖).
The parallel-axis theorem
Most parts don't spin about their own centre. If you know I about an axis through the centre of mass, the moment about any parallel axis a distance d away is I = I_cm + m d². That is how the rod-about-its-end formula follows from the rod-about-its-centre one: m L² ÷ 12 + m (L ÷ 2)² = m L² ÷ 3. The calculator applies it to each part with its offset and adds the parts, so you can model a disc with bolts at a pitch circle or a pendulum rod with a bob on the end.
Worked example: the default
The calculator opens with a single solid cylinder of 10 kg and radius 0.2 m, about the size of a heavy flywheel or a 10 kg weight plate.
- I = ½ × 10 × 0.2² = 0.2 kg·m²
- radius of gyration k = √(I ÷ m) = √(0.02) = 0.1414 m
The radius of gyration is the radius of a thin ring with the same mass and the same moment of inertia. For a disc it is R ÷ √2.
If you add a 2 kg point mass 0.3 m from the axis (choose two parts), it contributes 2 × 0.3² = 0.18 kg·m², almost as much as the whole 10 kg disc. Mass far from the axis dominates.
Second moment of area
When a beam bends, fibres far from the neutral axis stretch and compress the most. The second moment of area I = ∫ y² dA measures how much material sits far from that axis. Deflection under a load is inversely proportional to E × I (Young's modulus times the second moment), and the bending stress is σ = M c ÷ I = M ÷ S, where S = I ÷ c is the section modulus and c the distance to the farthest fibre.
For a rectangle of width b and depth h, I = b h³ ÷ 12. The cube on the depth is the whole story of why joists stand on edge.
Worked example: a 2×4
A dressed 2×4 is 38 × 89 mm (1½ × 3½ in). On edge:
- I = 38 × 89³ ÷ 12 = 2.23 million mm⁴ (5.36 in⁴)
- S = I ÷ 44.5 = 50,200 mm³ (3.06 in³)
The American Wood Council's NDS Supplement lists I = 5.359 in⁴ and S = 3.063 in³ for a 2×4, which is what the calculator gives in inches. Laid flat, the same board has I = 89 × 38³ ÷ 12 = 0.41 million mm⁴, about 5.5 times less, and it will sag 5.5 times more.
Built-up and steel sections
Tubes, I-beams, channels and angles are rectangles added together or subtracted from each other. The calculator finds the centroid of the pieces, then sums each rectangle's own b h³ ÷ 12 plus its area times its distance from the centroid squared. For an I-beam that gives the familiar Ix = [b h³ − (b − t_w)(h − 2t)³] ÷ 12. Channels and angles are unsymmetric, so their centroid is not at mid-width or mid-height, and the calculator reports where it is.
Rolled steel shapes have rounded fillets where the web meets the flanges. This calculator uses sharp corners, so it typically comes out 1–3% below the CISC or AISC table value for the same nominal size. Use the published table for design.
Units
| Quantity | SI | Imperial |
|---|---|---|
| Mass moment of inertia | kg·m² | lb·ft², lb·in², slug·ft² |
| Second moment of area | mm⁴, cm⁴, m⁴ | in⁴ |
| Section modulus | mm³, cm³ | in³ |
1 lb·ft² = 0.0421401 kg·m² and 1 in⁴ = 416,231 mm⁴, both exact from the definitions of the pound and the inch (NIST SP 811).
Limits
The formulas assume uniform density and thin rods, rings and shells where the name says so. The section properties are elastic and geometric: the calculator does not check a beam's capacity, lateral-torsional buckling, local buckling of thin walls, or shear. Those need the material, the span, the loads and your building code.
More questions
Does the moment of inertia depend on the axis?
Yes. The same body has a different moment of inertia about every axis. A thin rod is four times harder to spin about one end than about its centre, and a cylinder about its own axis has a different value from the same cylinder tumbling end over end. Always say which axis you mean.
Can the moment of inertia be negative?
No. Every term is a mass (or an area) times a squared distance, so the total is always zero or positive. A hole in a section is handled by subtracting its contribution, but the remaining section still has a positive value.
How do I find the moment of inertia of an odd-shaped part?
Split it into simple shapes, find each one about its own centre, move each to the common axis with the parallel-axis theorem, and add them. Holes count as negative parts. CAD programs do the same sum over the solid model and are the practical route for complex parts.
Why do engineers care about polar moment of inertia?
The polar second moment of area J resists twisting. For a circle J = Ix + Iy = πD⁴ ÷ 32, and the shear stress in a shaft under torque T is T r ÷ J. For non-circular sections the torsion constant is smaller than Ix + Iy and needs its own formula.
Is a hollow shaft better than a solid one?
For the same mass, usually yes. Moving material away from the centre raises the second moment of area much faster than it adds weight, so tubes carry bending and torsion more efficiently than solid bars. Very thin walls can buckle locally, which limits how far this goes.
Sources
- OpenStax University Physics Volume 1, §10.5 Calculating Moments of Inertia
- OpenStax University Physics Volume 1, §10.6 Torque
- American Wood Council, NDS Supplement: Design Values for Wood Construction (section properties, Table 1B)
- NIST Special Publication 811: Guide for the Use of the International System of Units
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.