Moment of Inertia & Centroid: Complete Engineering Guide

A comprehensive reference covering centroid calculations, second moment of area, mass moment of inertia, parallel axis theorem, section modulus, radius of gyration - with full formula tables, worked examples, and real engineering applications.

Full Formula Tables Worked Examples Engineering Applications
By Engineers Views Team • Published July 21, 2025 • Updated February 26, 2026 • 18 min read

What Are Centroid and Moment of Inertia?

Two of the most fundamental geometric properties in structural engineering and mechanics are the centroid and the moment of inertia. Together they define how a cross-section or a body responds to bending, torsion, and rotation. Every beam design, column buckling check, and flywheel calculation depends on these two quantities.

$\bar{x},\bar{y}$
Centroid coords
$mm^4$
Area MOI unit
$kg{\cdot}m^2$
Mass MOI unit
$[ML^2]$
Dimensional formula

Key distinction: In engineering mechanics (beam design, structural analysis) the relevant quantity is the second moment of area $I = \int y^2\,dA$ with units $\text{mm}^4$ or $\text{in}^4$. In physics / dynamics the relevant quantity is the mass moment of inertia $I = \int r^2\,dm$ with units $\text{kg·m}^2$. Both are commonly called "moment of inertia" - context determines which is meant.

Centroid: Theory & Formulas

The centroid is the geometric centre of a cross-sectional area - the balance point at which the area is in equilibrium. For homogeneous materials it coincides with the centre of mass. In beam theory it locates the neutral axis, the line along which no longitudinal stress occurs during pure bending.

Centroid of a Simple Area

For a continuous area the centroidal coordinates are:

Centroid - Continuous Area
$$\bar{x} = \frac{\int x\,dA}{A}, \qquad \bar{y} = \frac{\int y\,dA}{A}$$

Centroid of a Composite Section

For a section built from $n$ simple shapes (rectangles, circles, triangles, etc.):

Composite Centroid
$$\bar{x} = \frac{\sum_{i=1}^{n} A_i\,x_i}{\sum_{i=1}^{n} A_i}, \qquad \bar{y} = \frac{\sum_{i=1}^{n} A_i\,y_i}{\sum_{i=1}^{n} A_i}$$
$A_i$ = area of part $i$; $(x_i, y_i)$ = centroid of part $i$

For a hollow section (outer shape minus inner void), treat the void as a part with negative area.

Centroids of Common Simple Shapes

Shape$\bar{x}$ from left edge$\bar{y}$ from bottom edge
Rectangle ($b \times h$)$b/2$$h/2$
Right triangle (base $b$, height $h$)$b/3$$h/3$
Circle (radius $r$)$r$ (from centre)$r$ (from centre)
Semicircle (radius $r$)$r$$4r/(3\pi) \approx 0.424r$
Quarter circle (radius $r$)$4r/(3\pi)$$4r/(3\pi)$
Trapezoid ($b_1$, $b_2$ parallel, height $h$)-$\dfrac{h(2b_2+b_1)}{3(b_1+b_2)}$ from $b_1$
Parabolic spandrel$3b/4$$3h/10$

Physical significance of the centroid: The neutral axis of a beam in bending passes through the centroid of its cross-section. Fibres above the neutral axis are in compression; fibres below are in tension (for a sagging moment). Locating the centroid accurately is therefore the first step in any bending stress calculation via $\sigma = My/I$.

Second Moment of Area (Engineering MOI)

The second moment of area (also called the area moment of inertia) measures a cross-section's resistance to bending about a given axis. A larger $I$ means the section is stiffer - it bends less and carries bending stress more efficiently.

Second Moment of Area - General Definition
$$I_x = \int_A y^2\,dA, \qquad I_y = \int_A x^2\,dA$$

Units: $\text{mm}^4$, $\text{cm}^4$, or $\text{in}^4$. It is a purely geometric property - it does not depend on material. The bending stress formula connecting it to real loads is:

Flexure Formula (Bending Stress)
$$\sigma = \frac{M\,y}{I}$$
$M$ = bending moment (N·mm); $y$ = distance from neutral axis (mm); $I$ = second moment of area (mm⁴); $\sigma$ = bending stress (N/mm² = MPa)

Polar Moment of Inertia ($J$)

For torsion problems the polar moment of inertia about the centroidal axis $z$ is needed:

Polar Moment of Inertia
$$J = I_x + I_y = \int_A r^2\,dA$$

The torsional shear stress formula is $\tau = T\,r / J$, where $T$ is the applied torque and $r$ is the radial distance from the centroid. For a solid circular shaft of radius $R$: $J = \dfrac{\pi R^4}{2}$. For a hollow shaft (outer radius $R_o$, inner radius $R_i$): $J = \dfrac{\pi(R_o^4 - R_i^4)}{2}$.

Product Moment of Area ($I_{xy}$)

For unsymmetric sections the product moment of area determines the orientation of the principal axes:

$$I_{xy} = \int_A xy\,dA$$

For sections with at least one axis of symmetry $I_{xy} = 0$, and the axes of symmetry are the principal axes. For unsymmetric sections (e.g., unequal angles) the principal axes must be found by Mohr's circle for moments of inertia.

Mass Moment of Inertia (Physics MOI)

In physics and dynamics, the mass moment of inertia measures a rigid body's resistance to angular acceleration about a specified axis. It is the rotational analogue of mass in Newton's second law.

Mass Moment of Inertia - Discrete & Continuous
$$I = \sum_i m_i r_i^2 \quad \text{(discrete)}, \qquad I = \int r^2\,dm \quad \text{(continuous)}$$
$r_i$ = perpendicular distance of mass $m_i$ from the rotation axis; Units: kg·m²

Newton's second law for rotation: $\tau = I\,\alpha$, where $\tau$ is net torque and $\alpha$ is angular acceleration. A flywheel with a high $I$ stores more rotational kinetic energy $\left(KE_{rot} = \frac{1}{2}I\omega^2\right)$ and resists changes in speed, which is why they are used in engines to smooth out pulses.

Common Mass Moment of Inertia Formulas

Solid BodyAxis of RotationFormulaUnits
Solid sphere (radius $r$)Through centre$\dfrac{2}{5}mr^2$kg·m²
Hollow sphere (radius $r$)Through centre$\dfrac{2}{3}mr^2$kg·m²
Solid cylinder / disc (radius $r$)Axis of symmetry$\dfrac{1}{2}mr^2$kg·m²
Hollow cylinder ($r_1$, $r_2$)Axis of symmetry$\dfrac{1}{2}m(r_1^2+r_2^2)$kg·m²
Thin ring (radius $r$)Perpendicular to plane$mr^2$kg·m²
Thin rod (length $l$)Through centre, perp.$\dfrac{1}{12}ml^2$kg·m²
Thin rod (length $l$)Through one end, perp.$\dfrac{1}{3}ml^2$kg·m²
Rectangular plate ($a \times b$)Through centre, perp.$\dfrac{1}{12}m(a^2+b^2)$kg·m²
Solid cone (radius $r$)Through apex, perp.$\dfrac{3}{10}mr^2$kg·m²
Annular disc ($r_1$, $r_2$)Through centre, perp.$\dfrac{1}{2}m(r_1^2+r_2^2)$kg·m²
Elliptical disc (semi-axis $a$)Through centre, major axis$\dfrac{1}{4}ma^2$kg·m²

Parallel Axis Theorem & Perpendicular Axis Theorem

Parallel Axis Theorem (Steiner's Theorem)

This is the single most important tool for computing moments of inertia of composite sections. It states that the moment of inertia about any axis parallel to the centroidal axis equals the centroidal moment of inertia plus the product of the area (or mass) and the square of the perpendicular distance $d$ between the two axes.

Parallel Axis Theorem
$$I = I_c + A\,d^2 \quad \text{(area)}$$ $$I = I_c + m\,d^2 \quad \text{(mass)}$$
$I_c$ = centroidal MOI; $A$ = area; $m$ = mass; $d$ = distance between parallel axes

Critical rule: You can only use the parallel axis theorem from the centroidal axis, not between two arbitrary parallel axes. If you know $I$ about some non-centroidal axis, you must first back-calculate $I_c = I - Ad^2$ before applying the theorem to find $I$ about another axis.

Perpendicular Axis Theorem

Applies only to plane (flat) laminas (2-D bodies lying in the $xy$-plane). It states that the polar moment about the $z$-axis equals the sum of the area moments about the $x$ and $y$ axes:

Perpendicular Axis Theorem (Plane Bodies Only)
$$J_z = I_x + I_y$$

This is especially useful when one of $I_x$ or $I_y$ is easier to compute than $J_z$ directly. Example: for a circular disc, $I_x = I_y = \dfrac{\pi r^4}{4}$, so $J_z = \dfrac{\pi r^4}{2}$ immediately without integration.

Second Moment of Area: Full Formula Table

All formulas below are about the centroidal axis unless stated otherwise. Use the Parallel Axis Theorem to shift to any other axis.

Shape$I_x$ (about centroidal X)$I_y$ (about centroidal Y)$J$ (polar)
Rectangle ($b \times h$)$\dfrac{bh^3}{12}$$\dfrac{hb^3}{12}$$\dfrac{bh(b^2+h^2)}{12}$
Rectangle - base axis$\dfrac{bh^3}{3}$--
Circle (radius $r$)$\dfrac{\pi r^4}{4}$$\dfrac{\pi r^4}{4}$$\dfrac{\pi r^4}{2}$
Hollow circle ($r_o$, $r_i$)$\dfrac{\pi(r_o^4-r_i^4)}{4}$$\dfrac{\pi(r_o^4-r_i^4)}{4}$$\dfrac{\pi(r_o^4-r_i^4)}{2}$
Triangle ($b$, $h$) - centroidal$\dfrac{bh^3}{36}$--
Triangle - base axis$\dfrac{bh^3}{12}$--
Semicircle (radius $r$)$0.1098\,r^4$$\dfrac{\pi r^4}{8}$-
Ellipse (semi-axes $a$, $b$)$\dfrac{\pi a b^3}{4}$$\dfrac{\pi a^3 b}{4}$$\dfrac{\pi ab(a^2+b^2)}{4}$
Hollow rectangle (outer $B\times H$, inner $b\times h$)$\dfrac{BH^3-bh^3}{12}$$\dfrac{HB^3-hb^3}{12}$-
I-Section / H-Section$\sum(I_{c,i} + A_i d_i^2)$$\sum(I_{c,i} + A_i d_i^2)$-
T-Section$\sum(I_{c,i} + A_i d_i^2)$Symmetric axis-
Trapezoid ($b_1$, $b_2$, $h$)$\dfrac{h^3(b_1^2+4b_1 b_2+b_2^2)}{36(b_1+b_2)}$--

Semicircle note: The value $0.1098\,r^4$ for the centroidal $I_x$ of a semicircle comes from $I_{x,base} = \dfrac{\pi r^4}{8}$ minus the parallel axis correction $A\bar{y}^2 = \dfrac{\pi r^2}{2}\cdot\left(\dfrac{4r}{3\pi}\right)^2$.

Section Modulus & Radius of Gyration

Elastic Section Modulus ($S$ or $Z_e$)

The elastic section modulus combines $I$ and the extreme fibre distance $c$ into a single quantity that directly gives bending stress capacity. It is used in allowable stress design (ASD).

Elastic Section Modulus
$$S = \frac{I}{c}$$
$c$ = distance from neutral axis to outermost fibre; Units: mm³ or in³. Maximum bending stress: $\sigma_{max} = M/S$

For a symmetric rectangle: $c = h/2$, so $S = \dfrac{bh^3/12}{h/2} = \dfrac{bh^2}{6}$. For an asymmetric section (e.g., T-beam), compute two values: $S_{top} = I/c_{top}$ and $S_{bot} = I/c_{bot}$; the smaller governs.

Plastic Section Modulus ($Z_p$)

Used in plastic (limit state) design, $Z_p$ represents the first moment of the two half-areas about the plastic neutral axis:

Plastic Section Modulus
$$Z_p = A_{top}\,\bar{y}_{top} + A_{bot}\,\bar{y}_{bot}$$
For a rectangle: $Z_p = bh^2/4$. Shape factor $f = Z_p/S = 1.5$ for a rectangle.

Radius of Gyration ($k$ or $r_g$)

The radius of gyration is the distance at which the entire cross-sectional area would need to be concentrated to produce the same second moment of area. It is the key parameter in column buckling (Euler formula).

Radius of Gyration
$$k = \sqrt{\frac{I}{A}}$$
A slender column with small $k$ buckles at a lower load. Euler critical load: $P_{cr} = \dfrac{\pi^2 EI}{(KL)^2} = \dfrac{\pi^2 EA}{(KL/k)^2}$

Rectangle ($b \times h$) - Summary

$I_x = bh^3/12$
$S_x = bh^2/6$
$Z_{p,x} = bh^2/4$
$k_x = h/\sqrt{12} = 0.289h$

Circle (radius $r$) - Summary

$I = \pi r^4/4$
$S = \pi r^3/4$
$J = \pi r^4/2$
$k = r/2$

Engineering Applications

Moment of inertia and centroid underpin virtually every structural and mechanical calculation. Here are the most important application areas:

Beam Bending & Stress Analysis

The flexure formula $\sigma = My/I$ requires both $I$ (to find stress magnitude) and $\bar{y}$ (to locate the neutral axis and measure $y$). I-sections and H-sections are specifically shaped to concentrate material far from the neutral axis, maximising $I$ for a given weight - which is why steel I-beams are ubiquitous in construction.

Deflection Calculations

Beam deflection depends on $EI$ (flexural rigidity). For a simply supported beam under mid-span point load $P$: $\delta_{max} = PL^3/(48EI)$. Doubling $I$ halves the deflection, making it the primary design lever for serviceability.

Column Buckling

Euler's critical buckling load $P_{cr} = \pi^2 EI / (KL)^2$ requires the minimum $I$ of the cross-section about any axis. For an angle section, this is about the principal (least) axis, not the geometric axes. The radius of gyration $k = \sqrt{I/A}$ is used in slenderness ratio $\lambda = KL/k$, which governs column design in all major design codes (IS 800, AISC, Eurocode 3).

Torsion of Shafts

The polar moment $J$ determines torsional shear stress $\tau = Tr/J$ and angle of twist $\phi = TL/(GJ)$. Hollow circular shafts achieve nearly the same $J$ as solid shafts at a fraction of the weight, which is why hollow shafts are preferred in power transmission systems.

Flywheel & Rotating Machinery Design

The mass moment of inertia $I$ governs the kinetic energy stored $KE = \frac{1}{2}I\omega^2$ and the smoothing of torque pulses. A higher $I$ (achieved by concentrating mass at large radius) reduces speed fluctuation, improving the coefficient of fluctuation of energy in IC engines and punch presses.

Composite & Reinforced Concrete Sections

For RC beams, the transformed section method converts the reinforcing steel area to an equivalent concrete area using the modular ratio $n = E_s/E_c$. The centroid and $I$ of this transformed section are then used to find stresses and deflections under service loads.

Worked Examples

Example 1 - Centroid of a T-Section

Given: Flange 150 mm wide × 20 mm thick; Web 80 mm deep × 15 mm thick (total height = 100 mm from base of web).

1
Identify components: Flange (F) and Web (W).
2
Compute areas: $A_F = 150 \times 20 = 3000\,\text{mm}^2$; $A_W = 15 \times 80 = 1200\,\text{mm}^2$.
3
Centroid heights from base: $y_F = 80 + 10 = 90\,\text{mm}$ (mid-flange); $y_W = 40\,\text{mm}$ (mid-web).
4
$$\bar{y} = \frac{A_F y_F + A_W y_W}{A_F + A_W} = \frac{3000(90)+1200(40)}{4200} = \frac{270000+48000}{4200} = 75.7\,\text{mm}$$

Example 2 - Second Moment of Area of T-Section (using PAT)

Continue from Example 1. Find $I_x$ about the centroidal axis ($\bar{y} = 75.7\,\text{mm}$ from base).

1
Flange centroidal $I$: $I_{cF} = \dfrac{150(20)^3}{12} = 100\,000\,\text{mm}^4$
2
Distance flange centroid to section centroid: $d_F = 90 - 75.7 = 14.3\,\text{mm}$. PAT: $I_F = 100\,000 + 3000(14.3)^2 = 100\,000 + 613\,470 = 713\,470\,\text{mm}^4$
3
Web centroidal $I$: $I_{cW} = \dfrac{15(80)^3}{12} = 6\,400\,000\,\text{mm}^4$
4
Distance web centroid to section centroid: $d_W = 75.7 - 40 = 35.7\,\text{mm}$. PAT: $I_W = 6\,400\,000 + 1200(35.7)^2 = 6\,400\,000 + 1\,529\,748 = 7\,929\,748\,\text{mm}^4$
5
Total: $I_x = I_F + I_W = 713\,470 + 7\,929\,748 \approx 8.64 \times 10^6\,\text{mm}^4$

Example 3 - Section Modulus & Radius of Gyration

For the T-section above: $I_x = 8.64\times10^6\,\text{mm}^4$, $A = 4200\,\text{mm}^2$, $\bar{y} = 75.7\,\text{mm}$ from base (section height = 100 mm).

1
$c_{bot} = 75.7\,\text{mm}$; $c_{top} = 100 - 75.7 = 24.3\,\text{mm}$.
2
$S_{bot} = 8.64\times10^6 / 75.7 = 114\,134\,\text{mm}^3$; $S_{top} = 8.64\times10^6 / 24.3 = 355\,556\,\text{mm}^3$. Governing (smaller): $S = 114\,134\,\text{mm}^3$.
3
$k_x = \sqrt{I_x/A} = \sqrt{8.64\times10^6/4200} = \sqrt{2057} = 45.4\,\text{mm}$

Area MOI vs. Mass MOI - Full Comparison

PropertySecond Moment of AreaMass Moment of Inertia
FieldStructural / mechanical engineeringPhysics / dynamics / machine design
Symbol$I$ (also $I_{xx}$, $I_{yy}$)$I$ (also $J$ in some texts)
Definition$\int y^2\,dA$$\int r^2\,dm$
Units (SI)$\text{m}^4$ or $\text{mm}^4$$\text{kg·m}^2$
Dimensional formula$[L^4]$$[M L^2]$
GovernsBending stress, deflection, bucklingAngular acceleration, kinetic energy, torque
Key equation$\sigma = My/I$; $\delta = PL^3/(48EI)$$\tau = I\alpha$; $KE = \frac{1}{2}I\omega^2$
Parallel axis theorem$I = I_c + Ad^2$$I = I_c + md^2$
Can be zero?Only if $A = 0$ or all area on axisOnly if $m = 0$ or all mass on axis
Is it a vector?No - scalar for one axis; tensor in 3DNo - scalar for one axis; tensor in 3D
Derived from itSection modulus $S$, radius of gyration $k$Radius of gyration $k = \sqrt{I/m}$

Frequently Asked Questions

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

Second moment of area ($I = \int y^2\,dA$, units $\text{mm}^4$) is a geometric property of a cross-section used in bending and buckling calculations. Mass moment of inertia ($I = \int r^2\,dm$, units $\text{kg·m}^2$) describes a 3D body's resistance to angular acceleration. Both are called 'moment of inertia' but apply to completely different contexts.

2. Is moment of inertia a vector or scalar quantity?

For a specific axis it is a scalar. In full 3D it is represented as a $3 \times 3$ inertia tensor, which has both diagonal (moment) and off-diagonal (product) terms. The scalar value for one axis is not a vector.

3. What is the parallel axis theorem and when do I use it?

The parallel axis theorem states $I = I_c + Ad^2$ (area) or $I = I_c + md^2$ (mass), where $I_c$ is the centroidal MOI and $d$ is the distance between the two parallel axes. It is used to find the MOI about any axis parallel to the centroidal axis - essential for composite section calculations.

4. What is the unit of moment of inertia?

Second moment of area: $\text{mm}^4$, $\text{cm}^4$, $\text{m}^4$, or $\text{in}^4$. Mass moment of inertia: $\text{kg·m}^2$ (SI) or $\text{slug·ft}^2$ (imperial). The dimensional formula for mass MOI is $[ML^2]$.

5. What is the polar moment of inertia and how is it used?

The polar moment $J = I_x + I_y = \int r^2\,dA$ quantifies a section's resistance to torsional (twisting) loads. It is used in $\tau = Tr/J$ to find shear stress in shafts, and $\phi = TL/(GJ)$ to find angle of twist. For a solid circular shaft of radius $R$, $J = \pi R^4/2$.

6. Why is the I-beam section so efficient?

An I-beam concentrates most of its material in the flanges, far from the neutral axis. Since the second moment of area grows as $y^2$, moving material farther from the axis raises $I$ dramatically without adding much area (weight). Compared to a solid rectangular section of equal area, an I-beam can have 3–5× greater $I$, giving far lower bending stress and deflection.

7. How do you calculate the centroid of a composite section?

Divide the section into simple shapes (rectangles, circles, triangles). Compute the area $A_i$ and centroid coordinates $(x_i, y_i)$ of each part. Then: $\bar{y} = \sum(A_i y_i) / \sum A_i$. For a hollow section, treat the void as a part with negative area.

8. Can moment of inertia ever be zero or negative?

Moment of inertia is always non-negative (it is a sum or integral of squared quantities). It equals zero only if the entire area (or mass) lies exactly on the axis of rotation. The product moment of inertia $I_{xy}$ can be negative depending on the location of the area relative to the chosen axes.

9. What is section modulus and how is it used in design?

Section modulus $S = I/c$, where $c$ is the distance from the neutral axis to the extreme fibre. The maximum bending stress is $\sigma_{max} = M/S$. In allowable stress design, the required section modulus is $S_{req} = M/\sigma_{allow}$. Selecting a section with $S \geq S_{req}$ ensures safety in bending.

10. What is the radius of gyration and where is it used?

Radius of gyration $k = \sqrt{I/A}$ is the effective distance at which the cross-sectional area is concentrated to give the same $I$. It governs column buckling via the slenderness ratio $\lambda = KL/k$. A high slenderness ratio leads to elastic (Euler) buckling; a low one leads to inelastic failure. All major steel codes (IS 800, AISC 360, Eurocode 3) use $k$ to classify column behaviour.

11. How does moment of inertia relate to beam deflection?

Beam deflection is inversely proportional to the flexural rigidity $EI$. For a simply supported beam under a central point load: $\delta = PL^3/(48EI)$. Doubling $I$ halves the deflection. Increasing depth $h$ of a rectangular section is the most efficient strategy since $I \propto h^3$.

12. Can moments of inertia be added or subtracted?

Yes. For a composite section, the total $I$ about a common axis is the algebraic sum of the individual $I$ values (after applying the parallel axis theorem to each part). For a hollow section, subtract the void's contribution: $I_{total} = I_{outer} - I_{void}$. All parts must be referenced to the same axis before summing.

13. What is the perpendicular axis theorem?

For a plane (flat, 2-D) lamina, the polar moment about an axis perpendicular to its plane equals the sum of the two in-plane moments of area: $J_z = I_x + I_y$. For a circular disc, $I_x = I_y = \pi r^4/4$, so $J_z = \pi r^4/2$ immediately.

14. How is moment of inertia used in flywheel design?

A flywheel stores rotational kinetic energy $KE = \frac{1}{2}I\omega^2$. Maximising $I$ by placing mass at the rim (large $r$) allows more energy storage. The coefficient of fluctuation of speed $C_s = \Delta\omega/\omega_{mean}$ is reduced by increasing $I$: $C_s = \Delta E/(I\cdot\omega_{mean}^2).$

15. What is the neutral axis and how is it found?

The neutral axis is the line in a beam cross-section where bending stress is zero during pure bending. For a homogeneous section it passes through the centroid. For a composite section (reinforced concrete, steel–concrete), it is found using the transformed section method, converting all materials to an equivalent single material using modular ratios.

Explore More Engineering Guides

Browse our library of structural engineering, mechanics, and civil engineering articles.

Visit Blog Try Our Tools