Moment of Inertia of Plane Figures – Formulas, Table, Example

Area moment of inertia and product of inertia of plane figures: definitions, a formula table for rectangle, triangle and circle, the parallel axis theorem and an example.

· 6 min read

The moment of inertia of a cross-section decides how much a beam deflects under load and what stresses develop in its fibers. That is why an I-beam standing upright is many times stiffer than the same I-beam lying on its side. In this article you will find the definitions of the area moment of inertia (second moment of area) and the product of inertia, a formula table for simple shapes, how to handle composite figures with the parallel axis theorem, and a complete example – all the way to the principal moments of inertia.

Area moment of inertia (second moment of area)

The moment of inertia of a plane figure about an axis (area moment of inertia, second moment of area) is the sum of elementary areas dAdA times the squares of their distances from the axis:

Ix=∫Ay2 dA,Iy=∫Ax2 dAI_x = \int_A y^2 \, dA, \qquad I_y = \int_A x^2 \, dA

As with first moments, IxI_x (about the xx axis) is computed from the distance yy. The unit is length to the fourth power: m4\text{m}^4, cm4\text{cm}^4, mm4\text{mm}^4, in4\text{in}^4. Some textbooks write JJ instead of II – it is the same quantity.

Because the distance is squared, the area moment of inertia is always positive, and material far from the axis counts much more than material near it. That is why the flanges of an I-beam are placed far from the neutral axis – with the same amount of steel they give a much larger II.

The moment of inertia appears in the flexure formula for bending stress and in the equation of the elastic curve of a beam:

σ=MI y,EI w′′(x)=−M(x)\sigma = \frac{M}{I} \, y, \qquad EI \, w''(x) = -M(x)

The larger II, the smaller the stresses and the deflections – more on the second formula in Beam Deflection Calculation.

Polar moment of inertia

The sum of the moments about two perpendicular axes is the polar moment of inertia about their point of intersection. It is used in the torsion of circular shafts:

I0=∫Aρ2 dA=Ix+IyI_0 = \int_A \rho^2 \, dA = I_x + I_y

Product of inertia

The product of inertia multiplies the elementary area by both coordinates:

Ixy=∫Ax y dAI_{xy} = \int_A x \, y \, dA

Unlike the moments of inertia, it can be positive, negative or zero. The most important rule:

  • if at least one of the axes is an axis of symmetry of the figure, the product of inertia about that pair of axes is zero (elements on both sides of the axis of symmetry cancel in pairs).

The product of inertia tells you whether the axes x, yx,\ y are principal axes of the section. When Ixcyc=0I_{x_cy_c} = 0, the centroidal axes are principal, and a beam loaded in one plane bends in that same plane. When Ixcyc≠0I_{x_cy_c} \neq 0 (an angle, for example), the principal axes are rotated – we come back to this at the end.

Moment of inertia formulas for simple shapes

In problems we do not integrate – we use ready formulas for simple shapes and build the section from them. The table gives the area, the centroid (from the lower-left corner of the bounding box) and the moments about each shape’s own centroidal axes xc, ycx_c,\ y_c.

ShapeArea and centroidMoments of inertia about the centroidal axesProduct of inertia about the centroidal axes
xyycxcbhRectangle
A=bhA = b h
xc=b2x_c = \frac{b}{2}
yc=h2y_c = \frac{h}{2}
Ixc=bh312I_{x_c} = \frac{b h^{3}}{12}
Iyc=hb312I_{y_c} = \frac{h b^{3}}{12}
Ixcyc=0I_{x_cy_c} = 0
xyycxcbhRight triangle
A=bh2A = \frac{b h}{2}
xc=b3x_c = \frac{b}{3}
yc=h3y_c = \frac{h}{3}
Ixc=bh336I_{x_c} = \frac{b h^{3}}{36}
Iyc=hb336I_{y_c} = \frac{h b^{3}}{36}
Ixcyc=−b2h272I_{x_cy_c} = -\frac{b^{2} h^{2}}{72}
xyycxcbhIsosceles triangle
A=bh2A = \frac{b h}{2}
xc=b2x_c = \frac{b}{2}
yc=h3y_c = \frac{h}{3}
Ixc=bh336I_{x_c} = \frac{b h^{3}}{36}
Iyc=hb348I_{y_c} = \frac{h b^{3}}{48}
Ixcyc=0I_{x_cy_c} = 0
xyycxcrCircle
A=πr2A = \pi r^{2}
xc=rx_c = r
yc=ry_c = r
Ixc=Iyc=πr44=πd464\begin{aligned} I_{x_c} = I_{y_c} &= \frac{\pi r^{4}}{4} \\ &= \frac{\pi d^{4}}{64} \end{aligned}
Ixcyc=0I_{x_cy_c} = 0
xyycxcRRing (tube)
A=π(R2−r2)A = \pi \left(R^{2} - r^{2}\right)
xc=Rx_c = R
yc=Ry_c = R
Ixc=Iyc=π(R4−r4)4\begin{aligned} I_{x_c} &= I_{y_c} \\ &= \frac{\pi \left(R^{4} - r^{4}\right)}{4} \end{aligned}
Ixcyc=0I_{x_cy_c} = 0
xyycxcrSemicircle
A=πr22A = \frac{\pi r^{2}}{2}
xc=rx_c = r
yc=4r3π≈0.424 ry_c = \frac{4 r}{3 \pi} \approx 0.424\,r
Ixc=(π8−89π)r4≈0.1098 r4\begin{aligned} I_{x_c} &= \left(\frac{\pi}{8} - \frac{8}{9 \pi}\right) r^{4} \\ &\approx 0.1098\,r^{4} \end{aligned}
Iyc=πr48I_{y_c} = \frac{\pi r^{4}}{8}
Ixcyc=0I_{x_cy_c} = 0
xyycxcrQuarter circle
A=πr24A = \frac{\pi r^{2}}{4}
xc=4r3πx_c = \frac{4 r}{3 \pi}
yc=4r3πy_c = \frac{4 r}{3 \pi}
Ixc=Iyc=(π16−49π)r4≈0.0549 r4\begin{aligned} I_{x_c} = I_{y_c} &= \left(\frac{\pi}{16} - \frac{4}{9 \pi}\right) r^{4} \\ &\approx 0.0549\,r^{4} \end{aligned}
Ixcyc=(18−49π)r4≈−0.0165 r4\begin{aligned} I_{x_cy_c} &= \left(\frac{1}{8} - \frac{4}{9 \pi}\right) r^{4} \\ &\approx -0.0165\,r^{4} \end{aligned}
Formulas for simple shapes: x_c, y_c from the lower-left corner of the bounding box, moments about the centroidal axes x_c, y_c. The sign of the product of inertia of a triangle and a quarter circle depends on how the shape is oriented.

A few notes on the table:

  • The formulas for IxcI_{x_c} and IycI_{y_c} differ only by swapping bb and hh – the dimension perpendicular to the axis is always cubed.
  • The product of inertia of a right triangle and a quarter circle changes sign when you mirror the shape horizontally or vertically. In the table the right angle is at the lower left – then Ixcyc<0I_{x_cy_c} < 0.
  • About the base of a rectangle I=bh3/3I = b h^3 / 3, and of a triangle I=bh3/12I = b h^3 / 12 – a result of the parallel axis theorem.

The parallel axis theorem in short

The table gives moments about each shape’s own centroidal axes, but we need moments about the common axes of the whole section. The bridge between them is the parallel axis theorem (Steiner’s theorem):

Ix=Ixc+A a2,Iy=Iyc+A b2,Ixy=Ixcyc+A a bI_x = I_{x_c} + A \, a^2, \qquad I_y = I_{y_c} + A \, b^2, \qquad I_{xy} = I_{x_cy_c} + A \, a \, b

where b, ab,\ a are the signed distances of the shape’s centroid from the yy and xx axes. Details, the proof and the mistakes to avoid are in a separate article on Steiner’s theorem.

How to calculate the moment of inertia of a composite section

  1. Split the section into simple shapes; treat cut-outs as shapes with negative area.
  2. Find the centroid of the whole section – see Centroid of Plane Figures.
  3. For each shape read Ixc(i), Iyc(i), Ixcyc(i)I_{x_c}^{(i)},\ I_{y_c}^{(i)},\ I_{x_cy_c}^{(i)} from the table.
  4. Transfer them with the parallel axis theorem to the centroidal axes of the whole section and add them up (subtract cut-outs).
  5. If Ixcyc≠0I_{x_cy_c} \neq 0, find the principal moments of inertia and the rotation of the principal axes.

Example: a square, a triangle and a hole

The section consists of a 6×66 \times 6 cm square, a right triangle with a 3 cm base and a 6 cm height next to it, and a circular hole 2 cm in diameter in the middle of the square. The section has no axis of symmetry, so the product of inertia will not be zero.

Cross-section – shapes and dimensions

Step 1. Areas, centroids and own moments of the parts

For each shape we write down its area, the position of its centroid and its moments about its own centroidal axes – straight from the table. The hole has a negative area and negative moments.

  1. Component shapes

    For each shape: area AiA_i, centroid (xi,yi)(x_i, y_i) in the XYXY system and moments of inertia about its own centroidal axes, parallel to the XX and YY axes. The centroid is measured from the lower left corner of the shape; cut-outs have their area and moments with a minus sign.

    #Shape [cm][\text{cm}]Ai [cm2]A_{i}\ [\text{cm}^{2}]xi [cm]x_{i}\ [\text{cm}]yi [cm]y_{i}\ [\text{cm}]Ix(i) [cm4]I_{x}^{(i)}\ [\text{cm}^{4}]Iy(i) [cm4]I_{y}^{(i)}\ [\text{cm}^{4}]Ixy(i) [cm4]I_{xy}^{(i)}\ [\text{cm}^{4}]
    1Rectangleb=6, h=6b = 6,\ h = 6bhb h3636b2\frac{b}{2}33h2\frac{h}{2}33bh312\frac{b h^{3}}{12}108108hb312\frac{h b^{3}}{12}10810800
    2Triangleb=3, h=6, c=0b = 3,\ h = 6,\ c = 0bh2\frac{b h}{2}996+b+c36 + \frac{b + c}{3}77h3\frac{h}{3}22bh336\frac{b h^{3}}{36}1818bh(b2−bc+c2)36\frac{b h \left(b^{2} - b c + c^{2}\right)}{36}4.54.5−bh2(b−2c)72-\frac{b h^{2} \left(b - 2 c\right)}{72}−4.5-4.5
    3Circle – cut-outd=2d = 2−πd24-\frac{\pi d^{2}}{4}≈−3.142\approx -3.1422+d22 + \frac{d}{2}332+d22 + \frac{d}{2}33−πd464-\frac{\pi d^{4}}{64}≈−0.785\approx -0.785−πd464-\frac{\pi d^{4}}{64}≈−0.785\approx -0.78500
    1Rectangleb=6, h=6b = 6,\ h = 6
    Ai [cm2]A_{i}\ [\text{cm}^{2}]
    bh=b h =3636
    xi [cm]x_{i}\ [\text{cm}]
    b2=\frac{b}{2} =33
    yi [cm]y_{i}\ [\text{cm}]
    h2=\frac{h}{2} =33
    Ix(i) [cm4]I_{x}^{(i)}\ [\text{cm}^{4}]
    bh312=\frac{b h^{3}}{12} =108108
    Iy(i) [cm4]I_{y}^{(i)}\ [\text{cm}^{4}]
    hb312=\frac{h b^{3}}{12} =108108
    Ixy(i) [cm4]I_{xy}^{(i)}\ [\text{cm}^{4}]
    00
    2Triangleb=3, h=6, c=0b = 3,\ h = 6,\ c = 0
    Ai [cm2]A_{i}\ [\text{cm}^{2}]
    bh2=\frac{b h}{2} =99
    xi [cm]x_{i}\ [\text{cm}]
    6+b+c3=6 + \frac{b + c}{3} =77
    yi [cm]y_{i}\ [\text{cm}]
    h3=\frac{h}{3} =22
    Ix(i) [cm4]I_{x}^{(i)}\ [\text{cm}^{4}]
    bh336=\frac{b h^{3}}{36} =1818
    Iy(i) [cm4]I_{y}^{(i)}\ [\text{cm}^{4}]
    bh(b2−bc+c2)36=\frac{b h \left(b^{2} - b c + c^{2}\right)}{36} =4.54.5
    Ixy(i) [cm4]I_{xy}^{(i)}\ [\text{cm}^{4}]
    −bh2(b−2c)72=-\frac{b h^{2} \left(b - 2 c\right)}{72} =−4.5-4.5
    3Circle – cut-outd=2d = 2
    Ai [cm2]A_{i}\ [\text{cm}^{2}]
    −πd24≈-\frac{\pi d^{2}}{4} \approx−3.142-3.142
    xi [cm]x_{i}\ [\text{cm}]
    2+d2=2 + \frac{d}{2} =33
    yi [cm]y_{i}\ [\text{cm}]
    2+d2=2 + \frac{d}{2} =33
    Ix(i) [cm4]I_{x}^{(i)}\ [\text{cm}^{4}]
    −πd464≈-\frac{\pi d^{4}}{64} \approx−0.785-0.785
    Iy(i) [cm4]I_{y}^{(i)}\ [\text{cm}^{4}]
    −πd464≈-\frac{\pi d^{4}}{64} \approx−0.785-0.785
    Ixy(i) [cm4]I_{xy}^{(i)}\ [\text{cm}^{4}]
    00

Step 2. Centroid of the section

  1. Centroid of the section

    We add up the component areas (cut-outs with a minus sign) and their first moments about the XX and YY axes: Sx=∑AiyiS_x = \sum A_i y_i, Sy=∑AixiS_y = \sum A_i x_i. Coordinates of the centroid CC: xc=Sy/Ax_c = S_y / A, yc=Sx/Ay_c = S_x / A.

    A=∑Ai=36+9−3.142≈41.858 cm2A = \sum A_{i} = 36 + 9 - 3.142 \approx 41.858\ \text{cm}^{2}
    Sx=∑Aiyi=36⋅3+9⋅2−3.142⋅3≈116.575 cm3\begin{aligned} S_{x} &= \sum A_{i} y_{i} \\ &= 36 \cdot 3 + 9 \cdot 2 - 3.142 \cdot 3 \approx 116.575\ \text{cm}^{3} \end{aligned}
    Sy=∑Aixi=36⋅3+9⋅7−3.142⋅3≈161.575 cm3\begin{aligned} S_{y} &= \sum A_{i} x_{i} \\ &= 36 \cdot 3 + 9 \cdot 7 - 3.142 \cdot 3 \approx 161.575\ \text{cm}^{3} \end{aligned}
    xc=SyA=161.57541.858≈3.86 cmx_{c} = \frac{S_{y}}{A} = \frac{161.575}{41.858} \approx 3.86\ \text{cm}
    yc=SxA=116.57541.858≈2.785 cmy_{c} = \frac{S_{x}}{A} = \frac{116.575}{41.858} \approx 2.785\ \text{cm}

The centroid is at C≈(3.86, 2.785)C \approx (3.86,\ 2.785) cm – pushed to the right by the triangle and slightly down, because the triangle’s centroid is at 1/31/3 of its height.

Step 3. Moments about the x, yx,\ y axes and the centroidal axes

The calculator first transfers the moments of every part to the x, yx,\ y axes (parallel axis theorem) and then – with the theorem used backwards – to the centroidal axes of the whole section. It is the same result as moving every part straight to the centroidal axes, but with numbers that are harder to get wrong:

  1. Moments of inertia about the X and Y axes

    Parallel axis (Steiner) theorem for each component: its own moment plus the area times the squared distance (or the product of distances) from the XX and YY axes.

    Ix=∑(Ix(i)+Aiyi2)=(108+36⋅32)+(18+9⋅22)+(−0.785+(−3.142)⋅32)≈456.94 cm4\begin{aligned} I_{x} &= \sum \left(I_{x}^{(i)} + A_{i} y_{i}^{2}\right) \\ &= \left(108 + 36 \cdot 3^{2}\right) + \left(18 + 9 \cdot 2^{2}\right) \\ &\quad + \left(-0.785 + \left(-3.142\right) \cdot 3^{2}\right) \\ &\approx 456.94\ \text{cm}^{4} \end{aligned}
    Iy=∑(Iy(i)+Aixi2)=(108+36⋅32)+(4.5+9⋅72)+(−0.785+(−3.142)⋅32)≈848.44 cm4\begin{aligned} I_{y} &= \sum \left(I_{y}^{(i)} + A_{i} x_{i}^{2}\right) \\ &= \left(108 + 36 \cdot 3^{2}\right) + \left(4.5 + 9 \cdot 7^{2}\right) \\ &\quad + \left(-0.785 + \left(-3.142\right) \cdot 3^{2}\right) \\ &\approx 848.44\ \text{cm}^{4} \end{aligned}
    Ixy=∑(Ixy(i)+Aixiyi)=(36⋅3⋅3)+(−4.5+9⋅7⋅2)+((−3.142)⋅3⋅3)≈417.226 cm4\begin{aligned} I_{xy} &= \sum \left(I_{xy}^{(i)} + A_{i} x_{i} y_{i}\right) \\ &= \left(36 \cdot 3 \cdot 3\right) + \left(-4.5 + 9 \cdot 7 \cdot 2\right) \\ &\quad + \left(\left(-3.142\right) \cdot 3 \cdot 3\right) \\ &\approx 417.226\ \text{cm}^{4} \end{aligned}
  1. Moments of inertia about the centroidal axes

    The XcX_c and YcY_c axes pass through the centroid CC parallel to the XX and YY axes. The parallel axis theorem in reverse: we subtract A⋅yc2A \cdot y_c^2, A⋅xc2A \cdot x_c^2 and A⋅xc⋅ycA \cdot x_c \cdot y_c.

    Ixc=Ix−Ayc2=456.94−41.858⋅2.7852≈132.28 cm4\begin{aligned} I_{x_c} &= I_{x} - A y_{c}^{2} \\ &= 456.94 - 41.858 \cdot 2.785^{2} \approx 132.28\ \text{cm}^{4} \end{aligned}
    Iyc=Iy−Axc2=848.44−41.858⋅3.862≈224.753 cm4\begin{aligned} I_{y_c} &= I_{y} - A x_{c}^{2} \\ &= 848.44 - 41.858 \cdot 3.86^{2} \approx 224.753\ \text{cm}^{4} \end{aligned}
    Ixcyc=Ixy−Axcyc=417.226−41.858⋅3.86⋅2.785≈−32.76 cm4\begin{aligned} I_{x_cy_c} &= I_{xy} - A x_{c} y_{c} \\ &= 417.226 - 41.858 \cdot 3.86 \cdot 2.785 \approx -32.76\ \text{cm}^{4} \end{aligned}

Result: Ixc≈132.28 cm4I_{x_c} \approx 132.28\ \text{cm}^4, Iyc≈224.753 cm4I_{y_c} \approx 224.753\ \text{cm}^4 and Ixcyc≈−32.76 cm4I_{x_cy_c} \approx -32.76\ \text{cm}^4.

Principal moments of inertia

Among all centroidal axes there are two perpendicular ones about which the moment of inertia is the largest (I1I_1) and the smallest (I2I_2), and the product of inertia is zero. These are the principal centroidal axes:

I1,2=Ixc+Iyc2±(Ixc−Iyc2)2+Ixcyc2,tan⁡2φ=−2 IxcycIxc−IycI_{1,2} = \frac{I_{x_c} + I_{y_c}}{2} \pm \sqrt{\left(\frac{I_{x_c} - I_{y_c}}{2}\right)^2 + I_{x_cy_c}^2}, \qquad \tan 2\varphi = \frac{-2 \, I_{x_cy_c}}{I_{x_c} - I_{y_c}}

For our section:

  1. Principal centroidal moments of inertia

    The principal moments are the largest and the smallest moment about axes through CC. Axis 1 (I1I_1) is rotated from the XcX_c axis by the angle φ1\varphi_1 counterclockwise; axis 2 is perpendicular to it.

    I1,2=Ixc+Iyc2±(Ixc−Iyc2)2+Ixcyc2=132.28+224.7532±(132.28−224.7532)2+(−32.76)2\begin{aligned} I_{1,2} &= \frac{I_{x_c} + I_{y_c}}{2} \pm \sqrt{\left(\frac{I_{x_c} - I_{y_c}}{2}\right)^{2} + I_{x_cy_c}^{2}} \\ &= \frac{132.28 + 224.753}{2} \pm \sqrt{\left(\frac{132.28 - 224.753}{2}\right)^{2} + \left(-32.76\right)^{2}} \end{aligned}
    I1≈235.182 cm4,I2≈121.85 cm4I_{1} \approx 235.182\ \text{cm}^{4},\quad I_{2} \approx 121.85\ \text{cm}^{4}
    tan⁡2φ1=−2IxcycIxc−Iyc=−2⋅(−32.76)−92.474≈−0.709⇒  φ1≈72.341∘\begin{aligned} \tan 2\varphi_{1} &= \frac{-2 I_{x_cy_c}}{I_{x_c} - I_{y_c}} = \frac{-2 \cdot \left(-32.76\right)}{-92.474} \approx -0.709 \\ \Rightarrow\; \varphi_{1} &\approx 72.341^{\circ} \end{aligned}

Axis 1 (the largest moment, I1≈235.182 cm4I_1 \approx 235.182\ \text{cm}^4) is rotated by φ1≈72.341∘\varphi_1 \approx 72.341^\circ counterclockwise from the xcx_c axis, and axis 2 (I2≈121.85 cm4I_2 \approx 121.85\ \text{cm}^4) is perpendicular to it. The drawing also shows the ellipse of inertia – its semi-axes are the radii of gyration i1,2=I1,2/Ai_{1,2} = \sqrt{I_{1,2} / A}:

XcYc12xc = 3.86yc = 2.785C
C – centroid, 1 and 2 – principal axes (I₁ = max), ellipse of inertia with semi-axis i₂ along axis 1 and i₁ along axis 2.

Common mistakes

  • Swapping bb and hh in bh3/12b h^3 / 12 – the dimension perpendicular to the axis is the one cubed.
  • Ignoring the product of inertia of an unsymmetric shape (right triangle, angle) or getting its sign wrong.
  • Transferring from a non-centroidal axis – the theorem always starts from an axis through the centroid.
  • A hole added instead of subtracted – the area, first moment and moments of inertia of a cut-out are subtracted.

Frequently asked questions

What is the difference between the moment of inertia and the product of inertia?

The moment of inertia Ix=∫y2 dAI_x = \int y^2 \, dA measures the bending stiffness of the section about the xx axis and is always positive. The product of inertia Ixy=∫xy dAI_{xy} = \int x y \, dA tells whether the axes are principal – it can have any sign and is zero for principal axes.

What is the moment of inertia of a rectangle?

About the centroidal axis parallel to side bb: Ixc=bh3/12I_{x_c} = b h^3 / 12. About the base: I=bh3/3I = b h^3 / 3. For example, for a 10×2010 \times 20 cm section (20 cm high): Ixc=10⋅203/12≈6666.667 cm4I_{x_c} = 10 \cdot 20^3 / 12 \approx 6666.667\ \text{cm}^4.

What is the moment of inertia of a circle and a tube?

Circle: I=πd4/64=πr4/4I = \pi d^4 / 64 = \pi r^4 / 4. Tube (ring): I=π(D4−d4)/64I = \pi (D^4 - d^4) / 64. The product of inertia of both is zero, and every centroidal axis is a principal axis.

Where do I get the moments of inertia of steel shapes?

From the manufacturer’s or AISC tables. The Caltuto moment of inertia calculator has a built-in catalog of AISC W, C and L shapes and European IPE, HEA, HEB, UPN, UPE profiles with table values – you can combine them with plates and simple shapes into one section.