Moment of Inertia and Radius of Gyration Calculator

Area moment of inertia, radius of gyration, section modulus, area and centroid for rectangles, circles, tubes, I-beams, T-sections, angles and more, with the formulas and a drawing.

How it works

The area moment of inertia (second moment of area, I) measures how well the shape of a cross-section resists bending: the further the material is from the neutral axis, the larger I. It has units of length to the fourth power (mm⁴, in⁴). It is not the same as the mass moment of inertia of a rotating body, which has units of kg·m².

σ = M c ÷ I δ ∝ 1 ÷ I r = √(I ÷ A)

σ is the bending stress for a moment M at a distance c from the neutral axis, δ the deflection of a beam (inversely proportional to E I), and r the radius of gyration, the distance from the axis at which all the area could be concentrated to give the same I. Columns use r in the slenderness ratio L ÷ r.

Pick a shape, enter its dimensions and the page works out the area, the centroid, Ixx and Iyy about the centroidal axes, the elastic section moduli S = I ÷ c, the radii of gyration and the polar moment of area J = Ixx + Iyy. Ixx is the moment of inertia about the horizontal axis through the centroid (it resists bending in the vertical plane, such as a beam loaded from above) and Iyy about the vertical axis.

For shapes built from several parts, the parallel axis theorem moves the moment of inertia of each part to the common centroid: I = Σ (Iown + A d²), where d is the distance from the part’s centroid to the overall centroid. This is how the T-section and the angle are calculated.

Moment of inertia formulas for common sections

ShapeArea AIxx about the horizontal centroidal axisIyy about the vertical centroidal axis
Rectangle, width b and height hb hb h³ ÷ 12h b³ ÷ 12
Hollow rectangle, outer B × H, inner b × hB H − b h(B H³ − b h³) ÷ 12(H B³ − h b³) ÷ 12
Solid circle, diameter dπ d² ÷ 4π d⁴ ÷ 64π d⁴ ÷ 64
Hollow circle (tube), outer D and inner dπ (D² − d²) ÷ 4π (D⁴ − d⁴) ÷ 64π (D⁴ − d⁴) ÷ 64
Ellipse, width b and height hπ b h ÷ 4π b h³ ÷ 64π h b³ ÷ 64
Isosceles triangle, base b and height hb h ÷ 2b h³ ÷ 36h b³ ÷ 48
I-beam, flange bf × tf, web tw, height H2 bf tf + (H − 2 tf) tw[bf H³ − (bf − tw)(H − 2 tf)³] ÷ 12[2 tf bf³ + (H − 2 tf) tw³] ÷ 12

Section properties of rolled steel shapes are tabulated: see the European I-beam and H-beam table, the round tube table and the square hollow section table.

Worked example

A rectangle 50 mm wide and 100 mm high: A = 50 × 100 = 5,000 mm². Ixx = b h³ ÷ 12 = 50 × 100³ ÷ 12 = 4,166,667 mm⁴ (416.67 cm⁴); Iyy = h b³ ÷ 12 = 1,041,667 mm⁴. The radius of gyration about x is √(Ixx ÷ A) = 28.87 mm, which is h ÷ √12. The section modulus is Sx = Ixx ÷ 50 = 83,333 mm³.

Turned on its side (the 100 mm side horizontal) the same bar has Ixx = 1,041,667 mm⁴, four times less, so it is four times as flexible and has half the bending strength of the upright bar. This is why joists are installed on edge.

An I-beam 100 mm × 200 mm (flanges 8.5 mm thick, web 5.6 mm): A = 2,725 mm² and Ixx = 1,846 cm⁴, against 6,667 cm⁴ for a solid rectangle of the same outline, which uses 14 percent of the area. A 60.3 mm × 3.9 mm tube has I = 27.61 cm⁴ from only 691 mm² of steel.

Things to know

The calculator gives the moment of inertia about the centroidal axes. To find I about another parallel axis a distance d away, add A d² (the parallel axis theorem).

Bending about the weaker axis uses the smaller of Ixx and Iyy. A column buckles about the axis with the smaller radius of gyration; the Euler Buckling Calculator uses it.

Corners are sharp. Rolled and extruded sections have root radii, which add a little area and I; for an exact value for a standard shape use the manufacturer’s table.

The angle’s Ixx and Iyy are about the axes parallel to its legs. The principal moments, about the rotated principal axes, differ and also need the product of inertia.

Do not mix units: with all the lengths in millimeters, I is in mm⁴ and S in mm³. The page converts for you, and the output units can be changed.

Common questions

What is the moment of inertia of a rectangle?

About the horizontal axis through its centroid, I = b h³ ÷ 12, with b the width and h the height (the dimension perpendicular to the axis). About the vertical axis it is h b³ ÷ 12.

What is the moment of inertia of a circle?

I = π d⁴ ÷ 64 about any axis through the center, for a solid circle of diameter d. For a hollow tube it is π (D⁴ − d⁴) ÷ 64.

What is the radius of gyration?

The radius of gyration is r = √(I ÷ A). It measures how far the area is spread from the axis, and it controls the buckling of columns through the slenderness ratio L ÷ r.

What is the difference between area moment of inertia and mass moment of inertia?

The area (second) moment of inertia, in mm⁴, describes the stiffness of a cross-section in bending. The mass moment of inertia, in kg·m², describes the resistance of a body to angular acceleration. They are different quantities, although both come from the sum of a quantity times the distance squared.

How do you calculate the moment of inertia of an I-beam?

Subtract the two empty side rectangles from the outer rectangle: Ixx = [bf H³ − (bf − tw)(H − 2 tf)³] ÷ 12, with flange width bf, web thickness tw, overall height H and flange thickness tf. Or use the parallel axis theorem on the flanges and web.

What is the polar moment of area?

J = Ixx + Iyy, the moment of inertia about the axis perpendicular to the section through the centroid. For a solid round shaft it is π d⁴ ÷ 32 and it controls the twist under torque.

Sources

  • Beer, F. P., Johnston, E. R., Mechanics of Materials, McGraw-Hill: second moment of area, parallel axis theorem.
  • Gere, J. M., Goodno, B. J., Mechanics of Materials: properties of plane areas.
  • Machinery’s Handbook, Industrial Press: properties of sections.

Last reviewed: November 2, 2026

Published by Nick Peterson, mechanical engineer.