CalcSeed
Engineering · Guide

How Do You Calculate the Moment of Inertia of a Cross-Section?

Moment of inertia measures how strongly a cross-section resists bending. For a 2 in x 6 in board bent on edge, I = bh³/12 = (2 x 216)/12 = 36 in⁴, which this guide derives and applies step by step.

A
Quick answer

Moment of inertia measures how strongly a cross-section resists bending. For a 2 in x 6 in board bent on edge, I = bh³/12 = (2 x 216)/12 = 36 in⁴, which this guide derives and applies step by step.

Skip the math — use the calculator Moment of Inertia Calculator →

What moment of inertia actually measures

Moment of inertia answers one question: how hard is it to bend this cross-section around a given axis? The number appears in beam deflection (δ = 5wL⁴ / 384EI), in bending stress (σ = Mc / I), and in column buckling calculations, so it is one of the most-used values in structural and mechanical work. The good news is that for the shapes you meet in fabrication, closed-form formulas exist and take seconds to evaluate. A 2 in x 6 in rectangular joist bent about its strong axis carries I = bh³/12 = (2 x 6³) / 12 = 36 in⁴. This guide works through the definition, the three formulas you will use most often, and a fully computed example for each one.

Formally, the area moment of inertia is the second moment of area: I = ∫ r² dA. You take every tiny patch of area dA in the section, multiply it by the square of its distance r from the axis you care about, and add everything up. The squaring is what gives the number its personality: material far from the axis contributes disproportionately. Moving a patch twice as far from the axis multiplies its contribution by four. That is why an I-beam concentrates its steel in flanges at the top and bottom of the section, and why a hollow tube can be nearly as stiff as a solid bar of the same outer diameter at a fraction of the weight.

The unit is length to the fourth power: in⁴ in US units, mm⁴ or cm⁴ in metric. A larger I always means less deflection and lower bending stress for the same load, span, and material. Unlike plain area, moment of inertia has no meaning without an axis. Every cross-section has infinitely many values of I, one for each axis, and the centroidal axes usually give the smallest ones. Whenever you quote or look up a section property, confirm which axis it refers to before using it in any deflection or stress formula.

Area moment vs mass moment of inertia

Two different quantities share the name, and confusing them is the most common error in this whole topic. The area moment of inertia (also called the second moment of area) is pure geometry and feeds bending, deflection, and buckling calculations. The mass moment of inertia uses density instead of area, I = ∫ r² dm, and governs rotational dynamics: flywheels, drive shafts, and spinning cutter heads. Same integration idea, different integrand, different units, entirely different applications.

  • Area moment of inertia: units of length⁴ (in⁴, mm⁴); used for bending stress, deflection, and buckling of beams and columns.
  • Mass moment of inertia: units of mass x length² (kg·m², lb·ft²); used for torque, angular acceleration, and stored rotational energy.
  • For a cylinder of mass m and radius r about its own axis, the mass moment of inertia is I = ½mr². A 10 kg flywheel with a 150 mm radius therefore gives I = 0.5 x 10 x 0.15² = 0.1125 kg·m².

Rectangle: I = bh³ / 12

Stand the rectangle up with base b (horizontal) and height h (vertical), bent about the horizontal centroidal axis. Every horizontal strip of height dy runs the full width, so dA = b dy, and the definition integral becomes I = ∫ y² b dy evaluated from −h/2 to +h/2. The antiderivative is b·y³/3, and (h/2)³ − (−h/2)³ = h³/4, so the result collapses to I = b(h³/4)/3 = bh³/12. This is the single most-used section formula in structural work.

I = bh³ / 12  (about the centroidal axis parallel to the base)

Worked example: a 2 in x 6 in joist installed with the 6 in dimension vertical gives I = (2 x 216) / 12 = 36 in⁴. Lay the same board flat and the roles of b and h swap: I = (6 x 2³) / 12 = 48/12 = 4 in⁴. Identical board, nine times less stiffness, which is exactly why floor joists go in on edge. The metric case behaves the same way: a 40 mm x 80 mm section bent about the strong axis gives I = (40 x 512,000) / 12 ≈ 1,706,667 mm⁴, or about 1.71 x 10⁶ mm⁴.

Solid circle: I = πd⁴ / 64

A circle is identical about every centroidal diameter, which is why round shafts resist bending equally in all directions and why splined or keyed shafts still behave predictably. Working the definition integral in polar coordinates (dA = ρ dρ dθ, r = ρ) produces the compact result below. The companion polar moment for torsion is J = πd⁴/32, exactly double the bending value, which is a useful sanity check whenever you compute both.

I = πd⁴ / 64  (about any centroidal diameter of a solid circle)

Worked example: a 2 in diameter solid shaft gives I = π x 16 / 64 ≈ 0.785 in⁴. Doubling the diameter to 4 in does not double the value; it multiplies it by 2⁴ = 16, to about 12.57 in⁴. Shaft stiffness is extraordinarily sensitive to diameter, which is why stepping up a shaft one size changes deflection far more than any material substitution ever could. Keep the diameter variable in mind when a spinning shaft shows more sag than expected.

Hollow circle: I = π(D⁴ − d⁴) / 64

For a tube, subtract the missing core. Compute πD⁴/64 for the outer circle, πd⁴/64 for the inner hole, and take the difference. Superposition works here because the integral is linear: the moment of inertia of a region minus a concentric hole is the moment of the whole minus the moment of the hole.

I = π(D⁴ − d⁴) / 64  (outer diameter D, inner diameter d)

Worked example: a tube with a 4 in outer diameter and a 2 in bore gives I = π(256 − 16)/64 = π x 240/64 ≈ 11.78 in⁴. Compare that with the solid 4 in bar above at 12.57 in⁴. The tube keeps about 94 percent of the bending stiffness while using only 9.42 in² of material instead of 12.57 in², roughly 75 percent. That stiffness-to-weight ratio is the entire business case for structural tubing, hollow spindles, and bored drive shafts in machine design.

Cross-sectionFormula (centroidal axis)Worked exampleResult
Rectangle, base b, height hI = bh³ / 12b = 2 in, h = 6 in36.0 in⁴
Solid circle, diameter dI = πd⁴ / 64d = 2 in0.785 in⁴
Hollow circle, D outer, d innerI = π(D⁴ − d⁴) / 64D = 4 in, d = 2 in11.78 in⁴
Cylinder, mass momentI = ½mr²m = 10 kg, r = 0.15 m0.1125 kg·m²

Composite shapes and the parallel axis theorem

Real sections are rarely one clean shape. Built-up beams, angle irons with reinforcing plates, and machine frames all combine primitives. The procedure is mechanical: compute each part's own centroidal I, then shift it to the overall reference axis with the parallel axis theorem, I = Ī + A·d², where A is the part's area and d is the distance between the part's centroid and the reference axis. Add the shifted values to get the total. Because the shift term grows with d², the location of each plate matters more than its thickness. A thin plate placed far from the neutral axis can add more moment of inertia than a much thicker plate sitting near the center.

Unit conversion

US drawings give in⁴; European catalogs give mm⁴ or cm⁴. Since 1 in = 25.4 mm exactly, 1 in⁴ = 25.4⁴ ≈ 416,231 mm⁴. A beam listed at 100 in⁴ is therefore about 4.16 x 10⁷ mm⁴. Convert once at the boundary of the calculation rather than in the middle of it, and keep the whole computation in one unit system. The moment of inertia converter handles these factors, including the oddball cm⁴ values that European section catalogs prefer.

Common mistakes to avoid

  • Using the wrong axis. The bh³/12 result assumes h is measured perpendicular to the bending axis; swapping b and h changes the answer by a factor of (h/b)².
  • Mixing area and mass moment of inertia. Deflection needs the area value; spin-up torque needs the mass value. The two numbers are not interchangeable in any formula.
  • Forgetting the parallel axis term. Adding bare centroidal values for a composite section without the A·d² shifts badly underestimates the true moment of inertia.
  • Applying πd⁴/64 to non-circular shapes. Ellipses, hexagons, and I-shapes each have their own closed forms; the circle formula only fits circles.
  • Quoting a result without units or axis. An in⁴ value and an mm⁴ value differ by six orders of magnitude, and a wrong-axis value can be off by more.

When a real project rides on the number, check a hand calculation against the moment of inertia calculator and cross-reference a steel section catalog for standard profiles. For code-governed or fatigue-critical work, always verify section properties against the governing standard and have a qualified engineer review the design. A formula is a starting point, not a sign-off.

Calculators for this project

Frequently asked questions

What is the difference between Ix and Iy?

They are the moments of inertia about two perpendicular centroidal axes. For a rectangle, Ix = bh³/12 with h measured perpendicular to the x-axis, and Iy = hb³/12. For a circle they are equal, which is one reason round shafts are so convenient.

Why does h get cubed while b only appears to the first power?

Because area elements are integrated as dA = b dy with y² weighting. Widening the section adds area linearly, but adding height moves material farther from the axis, and the r² weighting converts that added height into a cubic term.

Is the polar moment of inertia the same thing?

No. The polar moment J = ∫ r² dA is measured about an axis perpendicular to the section (the shaft axis) and governs torsion. For a circle, J = Ix + Iy = πd⁴/32, exactly twice the bending value.

How do I handle a built-up section made of plates?

Compute each plate's centroidal I, add A·d² for the offset of each plate's centroid from the section's neutral axis, then sum. Use the composite method in the parallel axis theorem section above, and verify with the moment-of-inertia calculator before committing to a design.

Method and sources

Calculation basis
Last updated: 2026-11-23
Data sources
  • Hibbeler, Engineering Mechanics: Statics (Pearson)
  • Roark's Formulas for Stress and Strain, 8th ed. (McGraw-Hill)
  • Beer, Johnston, DeWolf, and Mazurek, Mechanics of Materials (McGraw-Hill)

Related guides