Civil Engineering Calculator

Area Moment of Inertia Calculator

Calculate the second moment of area (Ix and Iy) for common engineering cross-sections. Results are given about the centroidal axes of the section.

Cross-Section

Select the geometry to calculate its area moment of inertia.

Section Dimensions

Enter all dimensions in millimeters.

mm

Overall section width.

mm

Overall section height.

Engineering Tip

Always verify your theoretical calculations with physical testing and standard safety factors before real-world application.

Section Properties

Moment of Inertia — Ix
66,666,666.667
mm⁴
Moment of Inertia — Iy
16,666,666.667
mm⁴
Cross-Sectional Area
20,000 mm²
Radius of Gyration
rx = 57.735 mm
ry = 28.868 mm

Governing Formula

Ix = b·h³/12 | Iy = h·b³/12
Ixmm⁴

Area moment of inertia about the centroidal x-axis

Iymm⁴

Area moment of inertia about the centroidal y-axis

Amm²

Cross-sectional area

rxmm

Radius of gyration about x-axis

rymm

Radius of gyration about y-axis

Calculation Assumptions

  • Centroidal reference axes
  • Uniform geometric section
  • Linear geometric properties
  • Dimensions in mm

Engineering Code

Python
import math

def moment_of_inertia_rectangle(b, h):
    if b <= 0 or h <= 0:
        raise ValueError("Dimensions must be positive.")

    Ix = b * h**3 / 12
    Iy = h * b**3 / 12

    return Ix, Iy


# Example
b = 100      # mm
h = 200     # mm

Ix, Iy = moment_of_inertia_rectangle(b, h)

print(f"Ix = {Ix:.2f} mm^4")
print(f"Iy = {Iy:.2f} mm^4")
MATLAB
function [Ix, Iy] = moment_of_inertia_rectangle(b, h)
    % Area moment of inertia of a rectangular section
    % b = width [mm]
    % h = height [mm]

    if b <= 0 || h <= 0
        error('Dimensions must be positive.');
    end

    Ix = b * h^3 / 12;
    Iy = h * b^3 / 12;
end

% Example
b = 100;
h = 200;

[Ix, Iy] = moment_of_inertia_rectangle(b, h);

fprintf('Ix = %.2f mm^4\n', Ix);
fprintf('Iy = %.2f mm^4\n', Iy);

Technical Explanation: Area Moment of Inertia

The area moment of inertia, also called the second moment of area, is a purely geometric property that describes how the area of a cross-section is distributed relative to a reference axis. It does not depend on the material of the section. Together with the elastic modulus of the material it governs the bending stiffness of a beam (through the product EI), and it appears directly in the flexure formula, in deflection equations, and in column buckling and radius-of-gyration calculations.

This calculator returns the second moment of area about the two centroidal axes of common engineering cross-sections, reported as Ix and Iy, together with the radius of gyration for each axis.

Governing Definitions

The second moment of area about the x- and y-axes is defined by the integrals:

Ix = ∫ y² dA     Iy = ∫ x² dA

where y and x are the perpendicular distances from the element of area dA to the axis in question. Because the distance is squared, material located far from the axis contributes disproportionately to the value of I. The result carries units of length to the fourth power, such as mm⁴ or m⁴.

Calculation Method

For a solid rectangle of width b and height h, integrating y² over the area about the centroidal x-axis gives:

Ix = b h³ / 12

The corresponding expression about the centroidal y-axis is Iy = h b³ / 12. For a solid circle of diameter d, Ix = Iy = π d⁴ / 64. For a hollow circular tube, the value is obtained by subtracting the inner circle from the outer circle. For sections composed of several simple shapes, the parallel-axis theorem is applied to each part:

I = Ic + A d²

where Ic is the second moment of area about the part’s own centroid, A is its area, and d is the distance between the part centroid and the reference centroidal axis of the combined section.

Input Parameters

  • Section shape: Determines which closed-form expression is applied. Selecting the wrong shape is the most common cause of large errors.
  • Width / height / diameter / thickness: The physical dimensions of the cross-section. Because height enters the formula cubed for a rectangle, a small change in depth has a much larger effect on I than the same change in width.
  • Axis of bending: Determines whether Ix or Iy is the governing value for a given bending direction. For an asymmetric or non-square section the two values differ, and using the wrong one misrepresents the stiffness.

Engineering Interpretation

The second moment of area enters the flexure formula σ = M y / I and the bending stiffness EI. A larger I reduces both the extreme-fibre bending stress and the deflection for a given moment. The elastic section modulus S = I / c expresses the same idea more directly for strength checks, since σmax = M / S. The radius of gyration r = √(I/A) measures how far the area is distributed from the centroidal axis and is used in column buckling calculations through the slenderness ratio. I alone does not determine whether a member is safe; material strength, span, support conditions, and stability must also be checked.

Units and Conversion

  • 1 m⁴ = 10¹² mm⁴
  • 1 cm⁴ = 10,000 mm⁴
  • 1 in⁴ ≈ 416,231 mm⁴

Alternative and General Cases

This calculator treats sections that can be described by one of the supported closed-form geometries and returns values about the centroidal axes. For composite, asymmetric, thin-walled, or arbitrary shapes, the section must be decomposed into simpler parts and combined using the parallel-axis theorem, or the centroid must be located first and the integral evaluated numerically. For sections subjected to unsymmetric bending or torsion, additional properties such as the product of inertia Ixy, the polar moment of area J = Ix + Iy, and the torsional constant are required; none of these are computed here.

Assumptions and Limitations

  • Values are reported about centroidal axes, not arbitrary reference axes.
  • The section is homogeneous and of uniform thickness over its area.
  • No allowance is made for holes, fillets, chamfers, or local reductions.
  • The material of the section is irrelevant; only geometry affects I.
  • No warping, shear lag, or local buckling effects are considered.
  • The values apply to elastic analysis only.

Practical Engineering Use

Second moment of area values appear wherever beam or column stiffness is evaluated: machine frames, gantry and bridge structures, crane runways, press and mill housings, roll-formed and extruded profiles, reinforced and prestressed concrete sections (using the transformed section), and steel design tables. Because a given material cost is often dominated by section size, engineers prefer shapes that place material far from the neutral axis — I-sections, box sections, and hollow extrusions — to gain stiffness at minimum weight. The value returned by this calculator is a geometric input to those wider design checks, not a design result in itself.

Real-World Engineering Cases

The Quebec Bridge Collapse (1907)

During construction, the lower chords of this massive cantilever bridge failed under compressive stress. The built-up structural members lacked adequate area moment of inertia and cross-lacing required to resist buckling under the immense dead load of the bridge itself.

Engineering Lesson

Cross-sectional shape is just as critical as material strength. When designing compressive or bending members, maximizing the moment of inertia by distributing material away from the neutral axis is essential to prevent catastrophic buckling.

CNC Gantry Sag and Precision Loss

A manufacturer designed a custom CNC router gantry using thick, solid aluminum plates, assuming 'more material equals more stiffness.' Instead, the massive weight of the solid gantry caused it to sag in the middle, destroying machining tolerances.

Engineering Lesson

Solid profiles are incredibly inefficient for bending stiffness. By switching to a hollow aluminum extrusion, the engineers drastically increased the moment of inertia while actually reducing the dead weight, instantly solving the deflection issue.

Frequently Asked Questions

What is the unit of area moment of inertia?

The SI unit is m⁴. When dimensions are entered in millimeters, the result is reported in mm⁴.

Which is more important, Ix or Iy?

Neither is universally more important. The relevant value depends on the axis about which bending occurs. For a rectangular beam, the larger value corresponds to the stronger bending axis.

Does material affect the area moment of inertia?

No. Area moment of inertia is purely a geometric property. Material properties such as Young's modulus affect structural stiffness, but they do not change the geometric value of I.

What is the difference between I and J?

Ix and Iy are area moments of inertia about individual axes. The polar moment of area J describes resistance to torsion about an axis normal to the cross-section and, for perpendicular centroidal axes, is generally J = Ix + Iy.