How to Use the Moment of Inertia Calculator — Step-by-Step Tutorial

The moment of inertia, properly called the second moment of area, is the geometric property that quantifies how a cross-section resists bending. It appears in the beam deflection formula (delta = 5wL^4 / (384EI)), the bending stress formula (sigma = My / I), and the column buckling formula (P_cr = pi^2E*I / L^2). For a structural engineer, getting Ix and Iy right is as fundamental as getting the load right.

Standard rolled sections (W-shapes, UB, IPE, HEA) have published Ix and Iy values in the section properties database. But when you design a built-up section — a plate girder, a box column with cover plates, a crane runway beam with a cap channel, or a concrete-steel composite beam — you need to compute Ix and Iy from first principles using the parallel axis theorem.

This guide walks through every input in the moment of inertia calculator, explains how the parallel axis theorem works with concrete examples, and walks through two complete worked examples: a T-section and a built-up box girder.

Before You Open the Calculator

Collect the geometry of your built-up section:

Step-by-Step Walkthrough

Step 1 — Click "Add Shape" and Select the First Component

The calculator supports four basic shape types:

Rectangle: The most common sub-shape. Enter width (b) and height (h). The local centroidal inertia about its own centroid is I_cx = bh^3/12 for the strong axis and I_cy = hb^3/12 for the weak axis. Example: a flange plate 400 mm wide x 20 mm deep: I_cx = 40020^3/12 = 266,667 mm^4, but this is negligible compared to the Ad^2 term — the flange's contribution to the total Ix is dominated by the parallel axis term because the flange is far from the composite centroid.

Circle: Enter the diameter. The centroidal inertia about any axis through the centroid is I_c = pid^4/64. Example: a circular rod 50 mm diameter: I_c = pi50^4/64 = 306,796 mm^4. For a hollow pipe, add the outer circle as a positive shape and an inner circle (slightly smaller diameter) with the subtract toggle on.

Triangle: Enter base and height. The centroidal inertia about the base-parallel axis through the centroid is I_cx = bh^3/36. This is half of the rectangle value (bh^3/12) because more of the area is concentrated near the base. Triangles are less common in structural sections but appear in tapered plate girders and gusset plates with non-rectangular geometry.

I-shape: Enter flange width, flange thickness, web height (the clear distance between flanges), and web thickness. The calculator computes the I-shape as three rectangles (top flange, web, bottom flange) and combines them internally. This is a convenience for quickly entering symmetric I-sections without manually adding three rectangles. For asymmetric sections (different top and bottom flange sizes), enter the flanges separately as individual rectangles.

Step 2 — Enter Position Coordinates

The X and Y coordinates specify the centroid of each sub-shape relative to the user-defined origin:

The origin choice is arbitrary — the composite centroid is computed regardless of where you place the origin. Choose an origin that makes coordinates easy to enter. Placing the origin at the bottom-left corner of the lowest shape (Y=0) and at the section centerline (X=0) is a common practice.

Step 3 — Toggle Subtract for Holes or Voids

For hollow sections, cutouts, or sections where material is removed:

For a rectangular HSS 200x100x10 (outer 200x100, inner 180x80):

  1. Add rectangle: width=100, height=200, X=50, Y=100, mode=add. A=20,000 mm^2, I_cx=100*200^3/12=66.67e6 mm^4.
  2. Add rectangle: width=80, height=180, X=50, Y=100, mode=subtract. A=14,400 mm^2, I_cx=80*180^3/12=38.88e6 mm^4.
  3. Net area = 20,000 - 14,400 = 5,600 mm^2. Net Ix = 66.67e6 - 38.88e6 = 27.79e6 mm^4. This is the same result as (BH^3 - bh^3)/12 because the centroids of the outer and inner rectangles are coincident.

Step 4 — Add All Remaining Sub-Shapes

Repeat Steps 1-3 for each additional component. The calculator maintains a running list of all shapes. You can:

The visual diagram updates as you add shapes, showing the cross-section with each sub-shape labelled. Verify that the diagram matches your intended section before relying on the results.

Step 5 — Review the Results

The results panel shows a step-by-step breakdown:

Composite area and centroid:

Parallel axis breakdown for each shape:

Total Ix and Iy:

For a typical plate girder, the I_cxi terms (local inertias) are small — the flanges contribute less than 5% of the total Ix from their local bending; the remaining 95% comes from the Ad^2 terms. Conversely, for a solid rectangle, I_cx = bh^3/12 is the entire Ix (since d = 0 — the composite centroid IS the shape centroid).

Worked Example 1: T-Section Built from Two Rectangles

Given: A T-section used as a lintel — top flange 200 mm wide x 20 mm deep, web 10 mm wide x 200 mm deep. The top of the flange is the reference surface.

Step 1 — Define coordinate system: Place the origin at the top of the flange, centerline X=0. Y is positive downward for convenience.

Step 2 — Enter flange (rectangle):

Step 3 — Enter web (rectangle):

Step 4 — Composite centroid:

Step 5 — Parallel axis theorem for Ix (about the composite centroid):

Step 6 — Check against hand calculation:

Note on units: 22.93 x 10^6 mm^4 = 22.93 cm^4 (since 1 cm^4 = 10^4 mm^4). When using moment of inertia in beam calculations, ensure consistent units: E in MPa (N/mm^2), I in mm^4, L in mm, and load in N or N/mm. Mixing mm and m produces errors by a factor of 10^12.

Worked Example 2: Built-Up Box Girder with Cover Plates

Given: A built-up box column — two 300 mm x 20 mm flange plates (top and bottom), two 260 mm x 16 mm web plates (sides), and two 200 mm x 12 mm external cover plates welded to the top and bottom flanges. All Grade 350 steel.

Step 1 — Coordinate system: Origin at the section center (X=0, Y=0 for a doubly-symmetric section). The section is 300 mm wide x 300 mm deep overall.

Step 2 — Enter shapes (all rectangles):

  1. Top flange: 300 x 20, centroid at X=0, Y=150-10=140 mm. A=6,000 mm^2.
  2. Bottom flange: 300 x 20, centroid at X=0, Y=-140 mm. A=6,000 mm^2. (Duplicate of top flange, negate Y)
  3. Left web: 16 x 260, centroid at X=-150+8=-142 mm, Y=0. A=4,160 mm^2.
  4. Right web: 16 x 260, centroid at X=142 mm, Y=0. A=4,160 mm^2. (Duplicate of left, negate X)
  5. Top cover plate: 200 x 12, centroid at X=0, Y=150+6=156 mm. A=2,400 mm^2.
  6. Bottom cover plate: 200 x 12, centroid at X=0, Y=-156 mm. A=2,400 mm^2.

Total area = 6,000 + 6,000 + 4,160 + 4,160 + 2,400 + 2,400 = 25,120 mm^2.

Step 3 — Composite centroid: Due to symmetry about both axes, X_bar = 0, Y_bar = 0.

Step 4 — Ix (strong axis):

Ix_total = 2*(117.80 + 23.43 + 58.44) = 2*199.67 = 399.3 x 10^6 mm^4.

Step 5 — Iy (weak axis):

Iy_total = 245,000,000 + 283,970,987 + 2*8,000,000 = 90,000,000 + 167,941,974 + 16,000,000 = 273,941,974 mm^4.

Result: Ix = 399.3e6 mm^4, Iy = 273.9e6 mm^4. The section is stiffer in the strong-axis direction (ratio Ix/Iy = 1.46), as expected for a box column with wider flanges than webs. The cover plates on the top and bottom flanges increase Ix significantly (each cover plate contributes about 58e6 to Ix, about 15% of the total) but contribute relatively little to Iy because they are narrow and centered.

Common Pitfalls

  1. Forgetting the parallel axis term. The moment of inertia of a shape about an axis that is NOT through its own centroid is ALWAYS I_c + Ad^2, never just I_c. A 400x20 flange with I_c = 26,667 mm^4 at d = 500 mm from the centroid has Ad^2 = 8,000250,000 = 2,000,000,000 mm^4. The I_c term (26,667) is 0.0013% of the total — it can be neglected, but the Ad^2 term absolutely cannot. The most common error is computing I_c for each shape and summing them, ignoring the A*d^2 offset.

  2. Miscounting the centroid location. If you compute Y_bar incorrectly, every d value (distance from each shape to the composite centroid) is wrong, and the total Ix is wrong. The calculator computes Y_bar internally — you do not need to enter it. But if you are hand-checking the result, verify that sum(Ai*yi) / sum(Ai) matches the reported centroid.

  3. Mixing units. Entering flange width in mm but flange depth in m produces nonsense results. The calculator operates in a single unit system — all lengths must be consistent. If your flange is 400 mm wide and 20 mm deep, enter both in mm. The output Ix will be in mm^4. To convert to in^4: 1 in^4 = 416,231 mm^4. To convert to cm^4: 1 cm^4 = 10,000 mm^4.

  4. Entering the wrong Y coordinate sign convention. The parallel axis theorem uses d^2, so the sign of d does not matter — the Ad^2 term is always positive. But the centroid calculation (Y_bar = sum(Ay)/sum(A)) depends on correct signs. If you define Y positive upward but then enter a shape's Y coordinate positive downward (or vice versa), the composite centroid will be wrong. The most common sign convention: Y positive upward from a convenient reference, X positive to the right.

  5. Not subtracting the right amount for hollow sections. For a pipe with outer diameter 100 mm and wall thickness 5 mm, the inner diameter is 90 mm (not 95 mm). Area = pi/4*(100^2 - 90^2) = pi/4*(10,000 - 8,100) = 1,492 mm^2. I = pi/64*(100^4 - 90^4) = pi/64*(100,000,000 - 65,610,000) = 1,688,370 mm^4. If you use 95 mm inner diameter: I = pi/64*(100,000,000 - 81,450,625) = 911,000 mm^4 — 46% too low. The inner diameter is outer - 2*wall, not outer - wall.

  6. Ignoring the modular ratio for composite sections. For a steel-concrete composite beam, the concrete area must be transformed to an equivalent steel area before entering the calculator. If E_steel / E_concrete = 29,000/3,600 ~ 8.05, divide the concrete width by 8.05. A 2,000 mm wide concrete slab 150 mm thick becomes an equivalent steel area 248 mm wide x 150 mm deep. The transformed section properties (Ix, Y_bar) are then used for elastic stress calculations, converting stresses back using the modular ratio.

Frequently Asked Questions

Why is moment of inertia important for steel beam design? The moment of inertia I directly controls beam deflection: delta = kwL^4/(EI) where k depends on the loading and support conditions (5/384 for UDL on simple supports). Doubling I halves the deflection. I also appears in the bending stress formula sigma = My/I, the elastic buckling stress for columns (Euler buckling), and the lateral-torsional buckling moment capacity. For every beam you design, Ix is as fundamental as the yield strength.

What's the difference between I (moment of inertia), S (section modulus), and Z (plastic modulus)? I (mm^4 or in^4) is the geometric property. S = I / y_max (mm^3 or in^3), where y_max is the distance from the neutral axis to the extreme fiber. The elastic bending stress is sigma = M/S. Z is the plastic section modulus (mm^3 or in^3) used for the plastic moment capacity Mp = FyZ. For a rectangle b x h: I = bh^3/12, S = bh^2/6, Z = bh^2/4. Z/S = 1.5 (the shape factor for a rectangle). The moment of inertia calculator computes Ix and Iy; S and Z are derived values available from the section properties lookup.

Can I use this calculator for reinforced concrete beam sections? Yes, with the modular ratio transform. Transform the reinforcing steel area to equivalent concrete area using n = E_steel / E_concrete (typically 6-8). Then add the transformed rebar areas as small rectangles or circles at the appropriate position. For a cracked section analysis (which ignores concrete in tension below the neutral axis), you need to iterate to find the neutral axis depth — the calculator does not perform this iteration automatically. Consider using a specialised reinforced concrete beam calculator for cracked section properties.

How do I compute Ix for a tapered beam (varying depth)? The moment of inertia of a tapered beam varies along the length. Compute Ix at several cross-sections (e.g., at mid-span and at the supports) using the actual depth at each location. For deflection calculations, the varying I is typically handled by numerical integration or by using an average Ix (weighted by the moment distribution). The moment of inertia calculator computes Ix for a single cross-section — run it multiple times for different sections along the beam.

What if one of my shapes is rotated (e.g., a diagonal stiffener)? The calculator assumes all shapes are aligned with the global X-Y axes. For rotated rectangles, compute the rotated moment of inertia using the transformation formula: I_x' = Ixcos^2(theta) + Iysin^2(theta) - 2Ixysin(theta)*cos(theta). For a rectangle, Ixy = 0 when the axes align with the rectangle's principal axes, but Ixy does not vanish for rotated shapes. Enter the projected dimensions and position, then add the Ixy term separately if significant. For most structural sections, enter shapes aligned with the principal axes — diagonal stiffeners typically contribute negligibly to the total Ix/Iy.

Run This Calculation

Moment of Inertia Calculator — compute Ix and Iy for composite cross-sections using the parallel axis theorem with step-by-step derivation.

Section Properties Lookup — published Ix, Iy, Sx, Zx, J, and Cw values for 500+ standard rolled sections across four regional databases.

Beam Capacity Calculator — use the computed Ix value to check a beam for flexure, shear, and deflection.

Parallel Axis Theorem Reference — standalone parallel axis theorem explanation with additional examples.

Related pages

Disclaimer (educational use only)

This page is provided for general technical information and educational use only. It does not constitute professional engineering advice, a design service, or a substitute for an independent review by a qualified structural engineer. Any calculations, outputs, examples, and workflows discussed here are simplified descriptions intended to support understanding and preliminary estimation.

All real-world structural design depends on project-specific factors (loads, combinations, stability, detailing, fabrication, erection, tolerances, site conditions, and the governing standard and project specification). You are responsible for verifying inputs, validating results with an independent method, checking constructability and code compliance, and obtaining professional sign-off where required.

The site operator provides the content "as is" and "as available" without warranties of any kind. To the maximum extent permitted by law, the operator disclaims liability for any loss or damage arising from the use of, or reliance on, this page or any linked tools.