Centroid of Plane Figures – Formulas, Table and Examples

How to find the centroid of a plane figure: first moment of area, centroid formulas, a table of simple shapes and step-by-step examples for a T-section and an angle.

· 6 min read

The centroid of a cross-section is the first thing you calculate in every problem on moments of inertia, bending stresses or buckling. Every later quantity – moments of inertia, principal axes, section moduli – is taken about axes through this point. In this article you will see what the centroid (center of gravity) of a plane figure is, how to compute it from first moments of area, a table of formulas for simple shapes and two examples solved step by step.

What is the centroid of a plane figure

Imagine cutting the cross-section out of a thin sheet of uniform thickness. The center of gravity is the point where you could balance it on the tip of a pencil. For a plane figure (with area but no mass) we speak more precisely of the centroid or geometric center – in mechanics of materials both names mean the same point CC with coordinates (xc, yc)(x_c,\ y_c).

Axes through the centroid are called centroidal axes. Moments of inertia of the section are calculated about them, and in pure bending the beam bends about them – which is why the centroid is the starting point for everything else.

First moment of area (static moment)

To find the centroid we need the first moments of area (static moments). The first moment of a figure about an axis is the sum of elementary areas dAdA times their distance from that axis:

Sx=∫Ay dA,Sy=∫Ax dAS_x = \int_A y \, dA, \qquad S_y = \int_A x \, dA

Watch the subscripts: SxS_x (about the xx axis) multiplies the area by the coordinate yy, because yy is the distance from the xx axis. The unit is length cubed: m3\text{m}^3, cm3\text{cm}^3, mm3\text{mm}^3 or in3\text{in}^3.

Key properties of the first moment of area:

  • it can be positive, negative or zero – depending on which side of the axis the figure lies,
  • about any centroidal axis it is zero – this is really the definition of the centroid,
  • for a composite figure it is the sum of the first moments of its parts (holes count with a minus sign).

For a b×hb \times h rectangle sitting on the xx axis, the centroid is at height h/2h/2, so with no integration:

Sx=A⋅yc=bh⋅h2=bh22S_x = A \cdot y_c = b h \cdot \frac{h}{2} = \frac{b h^2}{2}

Centroid formulas

The centroid coordinates are the first moments divided by the area of the figure:

xc=SyA,yc=SxAx_c = \frac{S_y}{A}, \qquad y_c = \frac{S_x}{A}

In practice we almost never integrate. We split the section into simple shapes (rectangles, triangles, circles) whose areas AiA_i and centroids (xi, yi)(x_i,\ y_i) are known from a table, and sum:

xc=∑Aixi∑Ai,yc=∑Aiyi∑Aix_c = \frac{\sum A_i x_i}{\sum A_i}, \qquad y_c = \frac{\sum A_i y_i}{\sum A_i}

A hole (cut-out) is treated as a shape with negative area: subtract its area from ∑Ai\sum A_i and its first moment from ∑Aixi\sum A_i x_i and ∑Aiyi\sum A_i y_i.

Centroids of simple shapes – table

The table below lists the areas and centroids of the shapes most cross-sections are built from. The coordinates xcx_c and ycy_c are measured from the lower-left corner of the shape’s bounding box – the same way the Caltuto moment of inertia calculator places shapes.

ShapeArea and centroid
xyycxcbhRectangle
A=bhA = b h
xc=b2x_c = \frac{b}{2}
yc=h2y_c = \frac{h}{2}
xyycxcbhRight triangle
A=bh2A = \frac{b h}{2}
xc=b3x_c = \frac{b}{3}
yc=h3y_c = \frac{h}{3}
xyycxcbhIsosceles triangle
A=bh2A = \frac{b h}{2}
xc=b2x_c = \frac{b}{2}
yc=h3y_c = \frac{h}{3}
xyycxcrCircle
A=πr2A = \pi r^{2}
xc=rx_c = r
yc=ry_c = r
xyycxcRRing (tube)
A=π(R2−r2)A = \pi \left(R^{2} - r^{2}\right)
xc=Rx_c = R
yc=Ry_c = R
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
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}
Areas and centroids of simple shapes; x_c and y_c are measured from the lower-left corner of the shape's bounding box.

The full table with moments of inertia and products of inertia of these shapes is in the article Moment of Inertia of Plane Figures.

How to find the centroid of a composite figure – step by step

  1. Choose the axes x, yx,\ y. It is easiest to put the whole figure in the first quadrant – then every coordinate is positive.
  2. Split the figure into simple shapes. Mark holes as shapes with negative area.
  3. For each part write down its area AiA_i and the coordinates of its centroid xi, yix_i,\ y_i (from the table).
  4. Compute A=∑AiA = \sum A_i and the first moments Sx=∑AiyiS_x = \sum A_i y_i and Sy=∑AixiS_y = \sum A_i x_i.
  5. Divide: xc=Sy/Ax_c = S_y / A, yc=Sx/Ay_c = S_x / A.
  6. Check the result: the centroid must lie on every axis of symmetry and “closer” to the larger parts.

Example 1: centroid of a T-section

The T-section consists of a 2×82 \times 8 cm web and a 12×212 \times 2 cm flange on top. We put the origin at the lower-left corner of the bounding box:

Cross-section – shapes and dimensions

We split the section into two rectangles and write down the area and centroid of each:

  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}]
    1Rectangleb=2, h=8b = 2,\ h = 8bhb h16165+b25 + \frac{b}{2}66h2\frac{h}{2}44bh312\frac{b h^{3}}{12}≈85.333\approx 85.333hb312\frac{h b^{3}}{12}≈5.333\approx 5.333
    2Rectangleb=12, h=2b = 12,\ h = 2bhb h2424b2\frac{b}{2}668+h28 + \frac{h}{2}99bh312\frac{b h^{3}}{12}88hb312\frac{h b^{3}}{12}288288
    1Rectangleb=2, h=8b = 2,\ h = 8
    Ai [cm2]A_{i}\ [\text{cm}^{2}]
    bh=b h =1616
    xi [cm]x_{i}\ [\text{cm}]
    5+b2=5 + \frac{b}{2} =66
    yi [cm]y_{i}\ [\text{cm}]
    h2=\frac{h}{2} =44
    Ix(i) [cm4]I_{x}^{(i)}\ [\text{cm}^{4}]
    bh312≈\frac{b h^{3}}{12} \approx85.33385.333
    Iy(i) [cm4]I_{y}^{(i)}\ [\text{cm}^{4}]
    hb312≈\frac{h b^{3}}{12} \approx5.3335.333
    2Rectangleb=12, h=2b = 12,\ h = 2
    Ai [cm2]A_{i}\ [\text{cm}^{2}]
    bh=b h =2424
    xi [cm]x_{i}\ [\text{cm}]
    b2=\frac{b}{2} =66
    yi [cm]y_{i}\ [\text{cm}]
    8+h2=8 + \frac{h}{2} =99
    Ix(i) [cm4]I_{x}^{(i)}\ [\text{cm}^{4}]
    bh312=\frac{b h^{3}}{12} =88
    Iy(i) [cm4]I_{y}^{(i)}\ [\text{cm}^{4}]
    hb312=\frac{h b^{3}}{12} =288288

We sum the areas and the first moments, then divide:

  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=16+24=40 cm2A = \sum A_{i} = 16 + 24 = 40\ \text{cm}^{2}
    Sx=∑Aiyi=16⋅4+24⋅9=280 cm3S_{x} = \sum A_{i} y_{i} = 16 \cdot 4 + 24 \cdot 9 = 280\ \text{cm}^{3}
    Sy=∑Aixi=16⋅6+24⋅6=240 cm3S_{y} = \sum A_{i} x_{i} = 16 \cdot 6 + 24 \cdot 6 = 240\ \text{cm}^{3}
    xc=SyA=24040=6 cmx_{c} = \frac{S_{y}}{A} = \frac{240}{40} = 6\ \text{cm}
    yc=SxA=28040=7 cmy_{c} = \frac{S_{x}}{A} = \frac{280}{40} = 7\ \text{cm}

The centroid is at C=(6, 7)C = (6,\ 7) cm – 7 cm above the bottom of the web and 1 cm below the flange:

XcYcxc = 6yc = 7C
The centroid C and the centroidal axes x_c, y_c of the section

Example 2: an angle – centroid outside the figure

The centroid does not have to lie inside the figure. Typical examples are angles, channels and tubes. Take an angle made of a vertical 2×102 \times 10 cm leg and a horizontal 6×26 \times 2 cm leg:

  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=20+12=32 cm2A = \sum A_{i} = 20 + 12 = 32\ \text{cm}^{2}
    Sx=∑Aiyi=20⋅5+12⋅1=112 cm3S_{x} = \sum A_{i} y_{i} = 20 \cdot 5 + 12 \cdot 1 = 112\ \text{cm}^{3}
    Sy=∑Aixi=20⋅1+12⋅5=80 cm3S_{y} = \sum A_{i} x_{i} = 20 \cdot 1 + 12 \cdot 5 = 80\ \text{cm}^{3}
    xc=SyA=8032=2.5 cmx_{c} = \frac{S_{y}}{A} = \frac{80}{32} = 2.5\ \text{cm}
    yc=SxA=11232=3.5 cmy_{c} = \frac{S_{x}}{A} = \frac{112}{32} = 3.5\ \text{cm}

The centroid is at C=(2.5, 3.5)C = (2.5,\ 3.5) cm – in the “empty” corner, outside the material:

XcYcxc = 2.5yc = 3.5C
The centroid C and the centroidal axes x_c, y_c of the section

There is nothing strange about it: the centroid is the point about which the first moments vanish, not a point that must belong to the figure. We come back to this angle in the article on Steiner’s theorem, where we compute its product of inertia.

Common mistakes

  • A hole added instead of subtracted – the area and first moment of a cut-out always enter with a minus sign.
  • Triangle centroid at mid-height – the centroid of a triangle is at 1/31/3 of the height from the base, not at 1/21/2.
  • Part coordinates from different axes – all xi, yix_i,\ y_i must be measured from the same axes.
  • Rounding along the way – keep fractions to the end and round only the result.

Frequently asked questions

Is the centroid the same as the center of mass?

For a homogeneous sheet of uniform thickness – yes. In mechanics of materials a cross-section has no mass, so strictly we speak of the centroid (geometric center), but “center of gravity” is common in textbooks too.

Why do we need the centroid of a cross-section?

Because the centroidal axes pass through it. Moments of inertia and section moduli are taken about them, and in bending the neutral axis passes through the centroid – normal stresses are zero there.

Does the result depend on the chosen axes?

The coordinates xc, ycx_c,\ y_c do, because they are measured from different axes. The position of point CC on the figure does not. Choose the axes that make the calculation simplest.

How do I find the centroid of a steel shape (W, C, angle)?

For rolled shapes the centroid is given in the manufacturer’s or AISC tables. The Caltuto calculator has a catalog of AISC W, C and L shapes and European IPE, HEA, HEB, UPN, UPE profiles – add a shape to the section and its data goes into the calculation together with the other parts.