Moment of inertia calculator
This moment of inertia calculator gives the area moment of inertia (second moment of area) I and the section modulus S of seven common cross-sections: rectangle, hollow rectangle, solid circle, round tube, I-beam, T-section and channel. It also finds the area, the centroid and the radius of gyration, and a second panel adds up any stack of rectangles with the parallel axis theorem.
Moment of inertia calculator: standard cross-sections
Moment of inertia calculator for built-up sections: parallel axis theorem
How to use the moment of inertia calculator
Choose the unit of length and the cross-section, then type the dimensions shown on the figure. The moment of inertia calculator returns I about both centroidal axes (Ix for bending about the horizontal axis, the usual case for a beam standing upright, and Iy about the vertical axis), the section modulus S = I / c, the area, the position of the centroid and the radius of gyration r = √(I/A). For circles and tubes it also gives the polar moment J used for torsion. Results are shown in your unit and converted to mm⁴, cm⁴ and in⁴, so you can paste I straight into the Beam Deflection Calculator. For a shape the first panel does not cover, build it from rectangles in the second panel of the moment of inertia calculator.
Area moment of inertia formulas in the moment of inertia calculator
The area moment of inertia I = ∫ y² dA measures how far the material of a cross-section lies from the bending axis. Because distance enters squared, material far from the axis counts much more, which is why I-beams put most of their steel in the flanges. The Engineering Statics: Open and Interactive section on moments of inertia of common shapes derives the rectangle and circle results by integration; the others follow by subtracting or adding rectangles.
| Section | Ix (horizontal centroidal axis) | Iy (vertical centroidal axis) | Sx |
|---|---|---|---|
| Rectangle b × h | b h³ / 12 | h b³ / 12 | b h² / 6 |
| Hollow rectangle, wall t | (b h³ − bi hi³) / 12, bi = b − 2t, hi = h − 2t | (h b³ − hi bi³) / 12 | Ix / (h/2) |
| Solid circle d | π d⁴ / 64 | π d⁴ / 64 | π d³ / 32 |
| Round tube D, d = D − 2t | π (D⁴ − d⁴) / 64 | π (D⁴ − d⁴) / 64 | π (D⁴ − d⁴) / (32 D) |
| I-beam b, h, tf, tw | (b h³ − (b − tw)(h − 2tf)³) / 12 | (2 tf b³ + (h − 2tf) tw³) / 12 | Ix / (h/2) |
| T-section | parallel axis about ȳ | (tf b³ + (h − tf) tw³) / 12 | Ix / (h − ȳ) top, Ix / ȳ bottom |
| Channel b, h, tf, tw | same as the I-beam | parallel axis about x̄ | Ix / (h/2) |
Worked example with the moment of inertia calculator
The default of the moment of inertia calculator is a solid rectangle 100 mm wide and 200 mm deep. Its area is 100 × 200 = 20,000 mm². About the horizontal axis, Ix = 100 × 200³ / 12 = 66,666,667 mm⁴ (6.667 × 10⁷ mm⁴ = 6,667 cm⁴ = 160.2 in⁴), and the section modulus is Sx = b h² / 6 = 666,667 mm³ (666.7 cm³). About the vertical axis, Iy = 200 × 100³ / 12 = 16,666,667 mm⁴, a quarter of Ix: the same board is four times stiffer standing on edge than lying flat, because the ratio Ix / Iy = (h / b)² = 4. The radii of gyration are 57.74 mm and 28.87 mm.
The second panel of the moment of inertia calculator starts with a T-section built from a 100 × 10 flange on top of an 8 × 190 web. The flange area is 1,000 mm² at y = 195 mm and the web area 1,520 mm² at y = 95 mm, so the centroid sits at ȳ = (1,000 × 195 + 1,520 × 95) / 2,520 = 134.68 mm. Adding each part’s own b h³ / 12 and A d² gives Ix = 8,333 + 3,638,196 + 4,572,667 + 2,393,550 = 10,612,746 mm⁴ (1,061.3 cm⁴). Choose T-section in the first panel with b = 100, h = 200, tf = 10 and tw = 8 and the moment of inertia calculator gives the same value, a good way to check your hand calculation.
Section modulus, radius of gyration and polar moment
The section modulus S = I / c links the bending moment to the largest bending stress: σ = M / S, where c is the distance from the centroidal axis to the farthest fiber. A symmetric section has one S; a T-section has a larger S at the flange side and a smaller one at the tip of the web, where the stress is highest. The radius of gyration r = √(I / A) is used in column buckling: the smaller r, the sooner a slender column buckles. The polar moment J = Ix + Iy governs the twisting of round shafts (τ = T r / J); for non-circular sections the torsion constant is different and much smaller, so this moment of inertia calculator shows J only for circles and tubes.
Practical uses of a moment of inertia calculator
Engineering students use a moment of inertia calculator to check statics and strength of materials homework, and to compare sections of equal area: a tube, a box or an I-beam with the same weight per meter as a solid bar has several times its stiffness. Makers and technicians use the moment of inertia calculator to choose aluminum extrusions, steel tubing or wooden beams for frames, shelves and gantries. Combine the result with the Stress and Strain Calculator for axial stress, or with the bending moment from the beam deflection calculator to get σ = M / S. For the area of a plain shape only, the Area Calculator is quicker.
Common mistakes with a moment of inertia calculator
Swapping b and h. The dimension parallel to the load (the depth h) is the one that is cubed. Using the wrong axis. Take I about the centroidal axis of the whole section, not about the bottom edge, unless your formula asks for that. Forgetting the A d² term. When combining parts, each part contributes its own I plus A d² about the common centroid. Mixing units. The moment of inertia calculator converts the result for you, but by hand remember that I scales with length to the fourth power: 1 cm⁴ = 10,000 mm⁴ and 1 in⁴ = 416,231 mm⁴. Confusing area and mass moment of inertia. Beams need the area moment in mm⁴ or in⁴; rotating machinery needs the mass moment in kg·m², which also depends on density. Using sharp-cornered formulas for rolled steel. Standard I-beams and channels have fillets and sloped flanges; take their I from the manufacturer or the steel section tables.
Related calculators
Use I in the Beam Deflection Calculator to find deflection and bending moment, and see the Stress and Strain Calculator for axial stress and elongation. More tools are in the mechanical engineering calculators.
- Beam Deflection Calculator
- Stress and Strain Calculator
- Torque Calculator
- Area Calculator
- Spring Constant Calculator
- All mechanical engineering calculators
Frequently asked questions
What is the moment of inertia of a rectangle?
About its horizontal centroidal axis, I = b h³ / 12, where h is the depth in the direction of the load. A 100 × 200 mm rectangle has I = 6.667 × 10⁷ mm⁴ standing on edge and 1.667 × 10⁷ mm⁴ lying flat.
What is the difference between moment of inertia and section modulus?
The moment of inertia I (unit⁴) sets the stiffness and the deflection of a beam. The section modulus S = I / c (unit³) sets the bending stress σ = M / S, and so the strength in bending.
How do you calculate the moment of inertia of an I-beam?
Treat it as the full rectangle b × h minus the two empty rectangles beside the web: Ix = (b h³ − (b − tw)(h − 2tf)³) / 12. Rolled sections also have fillets, so published tables give slightly higher values than the sharp-cornered formula.
What is the parallel axis theorem?
The moment of inertia about any axis equals the moment about a parallel axis through the centroid plus the area times the square of the distance between the axes: I = I_c + A d². The second panel of this moment of inertia calculator uses it to add up rectangles.
Is area moment of inertia the same as mass moment of inertia?
No. The area moment (second moment of area, mm⁴ or in⁴) is a property of a cross-section used for bending. The mass moment of inertia (kg·m²) describes how hard it is to spin a body and depends on its mass distribution.
Is this moment of inertia calculator free?
Yes. It runs in your browser, needs no sign-up and does not store or send the values you enter.