Section properties · Roark's · AISC framing

Moment of Inertia Calculator

Second moment of area for the eight beam cross-sections: Ix and Iy, section modulus Z, centroid, area and radius of gyration — with the formula shown, the units converted honestly, and one click to send I into the deflection calculator.

The calculator

Cross-section shape

Fig. 1 — The cross-section at your dimensions, with the centroid and the centroidal axes marked.

Moment of inertia Ix (strong axis)

—

Iy (weak axis)
—
Section modulus Zx = Ix / c
—
Section modulus Zy
—
Area A
—
Centroid (from bottom-left)
—
Extreme-fibre distance c (max)
—
Radius of gyration rₓ · r_y
—
Z to top fibre
—
Z to bottom fibre
—

Ix about an axis d away from the centroidal axis: Ix + A·d² (parallel axis theorem). Leave at 0 for the centroidal value.

Ix about the shifted axis
—

Send I to the deflection calculator

The link carries this Ix and the extreme-fibre distance c into the beam deflection calculator, in mm and mm⁴, so nothing is re-typed.

Section properties are computed from the dimensions you enter, by the standard formulas. Fillets on rolled shapes (I-section, channel, T-section, angle) are ignored, so values for a real rolled section differ slightly from the manufacturer's catalogue — use the catalogue value where one exists. This calculator is an educational and preliminary-check tool. It is not a substitute for a licensed structural engineer.

Your section properties

The headline figure is Ix, the second moment of area about the horizontal centroidal axis — the axis a beam bends about when it is loaded vertically, and the I that belongs in every deflection formula on this site. Beneath it sit the rest of the section's geometry: Iy about the vertical centroidal axis, the section moduli Zx and Zy, the cross-sectional area, the centroid position, and the radius of gyration about each axis.

Two things are worth checking before you use the numbers. First, the axis: for a deep section the two values differ by an order of magnitude — the worked rectangle below has Ix = 225 ×10⁶ mm⁴ but Iy of only 25 ×10⁶ mm⁴ — and a deflection calculation fed the weak-axis value will be wrong by that factor. Second, the centroid: on a rectangle, box, circle, pipe or I-section it sits at the geometric centre, but on a channel, T-section or angle it does not, and the calculator reports where it actually is, measured from the bottom-left corner of the bounding box, because every parallel-axis term depends on it.

When the section is the one your beam will use, the button at the foot of the result sends Ix — with the extreme-fibre distance c — straight into the deflection calculator. That hand-off is the point of this page: I is the input beam calculations need and the one nobody can produce from memory for a built-up shape.

Ix of the standard worked shapes on this page (×10⁶ mm⁴)
  • Rectangle 100 × 300 225 ×10⁶ mm⁴
  • Box 200 × 300 × 10 120.7 ×10⁶ mm⁴
  • I-section 300 × 150 88.7 ×10⁶ mm⁴
  • Circle ⌀200 78.5 ×10⁶ mm⁴
  • Pipe ⌀200 × 10 27 ×10⁶ mm⁴

Same overall depth, very different Ix: the box keeps most of the rectangle's stiffness with a third of its area, and the pipe — a shallow use of its diameter in bending — trails despite being 200 mm across.

What is moment of inertia?

The moment of inertia of a cross-section — properly the second moment of area — is a geometric property that measures how the section's area is distributed relative to an axis. Area far from the axis counts far more than area near it, because each part contributes with the square of its distance. It is the section property that sets resistance to bending: double I and, for the same load, span and material, the beam deflects half as much and the bending stress halves.

One confusion is worth clearing at the start. This is not the mass moment of inertia of dynamics — the quantity, in kg·m², that describes how a flywheel or a wheel resists spinning up. That is a property of a solid body and its mass; the second moment of area is a property of a flat cross-section and its shape, in mm⁴, cm⁴ or in⁴. The two share a name and a mathematical family resemblance, and nothing else. This calculator computes the cross-section quantity only, because that is what beam deflection and bending stress need.

Nor is I a material property. Steel, timber and aluminium sections of identical shape have identical I — the material enters a deflection calculation separately, through Young's modulus E, and the two combine as the flexural rigidity EI in Euler–Bernoulli beam theory. What I captures is purely where the material sits: that is why an I-section, which pushes most of its area into flanges far from the neutral axis, bends so much less than a solid bar of the same weight, and why depth is cubed in the rectangle formula — doubling a section's depth multiplies its Ix by eight, while doubling its width only doubles it.

What this calculator computes

Pick one of the eight beam cross-sections — rectangle, solid circle, hollow rectangle (box), pipe, I-section, channel, T-section or angle — enter its dimensions, and the calculator returns the full set of section properties about both centroidal axes: Ix and Iy, the elastic section moduli Zx and Zy, the cross-sectional area A, the centroid position, the extreme-fibre distances to the top and bottom faces, and the radius of gyration about each axis. For the unsymmetric shapes it also separates the top and bottom section moduli, because on a T-section or an angle the two faces are at different distances from the centroid and the bending stress differs between them.

Three working features travel with the result. The steps panel shows the formula for the chosen shape with your own numbers substituted, so the arithmetic can be checked by hand. The parallel-axis field applies the transfer term A·d² to report I about any axis parallel to the centroidal one — the base of a section sitting on a support, for example. And the unit selector converts every dimension and every output between millimetres, centimetres and inches, converting the values rather than clearing them.

What it does not compute is just as deliberate. There is no mass moment of inertia, no torsion constant beyond the mention in the mistakes section, and no plastic section modulus: the elastic modulus Z is the quantity the bending-stress formula σ = M / Z uses, and it is the one this page reports. Standard rolled steel sections also have published properties in the AISC Steel Construction Manual; where a designation exists, that catalogue value — fillets included — is the one to design with, and this calculator's fillet-free figure is the check, not the replacement.

Formulas by shape

Every shape uses the same pattern: I about each centroidal axis, from the dimensions labelled in the calculator. Hollow shapes are worked by subtraction — the outer solid minus the inner void — and composite shapes (I-section, channel, T-section, angle) by summing rectangles, each transferred to the common centroidal axis with the parallel axis theorem. These are the standard mechanics-of-materials results, as tabulated in Roark's Formulas for Stress and Strain.

Second moment of area by shape (centroidal axes; fillets ignored on rolled shapes)
Rectanglewidth b, depth hb·h³ / 12h·b³ / 12
Solid circlediameter dπ·d⁴ / 64π·d⁴ / 64
Box (hollow rectangle)outer B × H, wall t; inner b = B − 2t, h = H − 2t(B·H³ − b·h³) / 12(H·B³ − h·b³) / 12
Pipe (hollow circle)outer D, wall t; bore d = D − 2tπ·(D⁴ − d⁴) / 64π·(D⁴ − d⁴) / 64
I-sectiondepth H, flange width B, flange tf, web tw[B·H³ − (B − tw)·(H − 2tf)³] / 12[2·tf·B³ + (H − 2tf)·tw³] / 12
Channeldepth H, flange width B, flange tf, web twΣ(Ii + Ai·di²) over web + 2 flangesΣ(Ii + Ai·di²) about the centroid, x̄ from the web back
T-sectiondepth H, flange width B, flange tf, stem twΣ(Ii + Ai·di²) over flange + stemtf·B³ / 12 + (H − tf)·tw³ / 12
Anglelegs H and B, thickness tΣ(Ii + Ai·di²) over the two legsΣ(Ii + Ai·di²) over the two legs

For the I-section the subtraction form treats the section as a solid B × H rectangle minus the two side voids; it ignores the fillets where web meets flange, which is why a catalogue Ix for a rolled section is always slightly larger.

How to calculate the moment of inertia of a beam

Any cross-section — including one no table lists — can be worked by the same four steps the calculator follows for its composite shapes. A rectangle or circle stops at the standard formula; a built-up section needs all four.

  1. Split the section into rectangles

    Divide the cross-section into rectangles (and, for hollow shapes, subtract the voids). An I-section becomes two flanges and a web; a channel becomes a web and two flanges; an angle becomes two legs. Note each part's width, height and area Ai.

  2. Find the overall centroid

    Take moments of the parts' areas about a convenient reference edge, usually the bottom: ȳ = ΣAi·yi / ΣAi, and likewise x̄ from the left edge. Symmetric sections land on their midlines; a T-section's centroid sits up near its flange, and an angle's sits off both legs' centrelines. Every later step is measured from this point — the centroidal axis is the neutral axis of bending.

  3. Transfer each part with the parallel axis theorem

    Each part's own I about its own centreline, Ii, is not its contribution about the section's axis. The parallel axis theorem (Steiner's theorem) adds the transfer term: contribution = Ii + Ai·di², where di is the distance between the part's centroid and the section's centroidal axis. For flanges far from the axis this term dominates — it is most of an I-section's Ix.

  4. Sum, then derive Z and r

    Add the contributions for Ix, and repeat about the vertical axis for Iy. Then Zx = Ix / c, with c the distance from the centroid to the farther extreme fibre, and the radius of gyration is r = √(I / A). The worked example below runs the whole sequence on a rectangle, where the parts step collapses to the single standard formula.

The calculator's steps panel performs exactly this sequence for the composite shapes and shows the substitution for the simple ones, so a hand calculation and the tool can be compared line by line.

Worked example

Rectangle 100 × 300 mm, end to end

A solid rectangular section, 100 mm wide and 300 mm deep — a timber joist size, and the same check figure the section helper on the homepage is verified against. Find Ix, Iy, Zx, the area and the radius of gyration.

  1. Centroid: the rectangle is symmetric, so x̄ = 100 / 2 = 50 mm and ȳ = 300 / 2 = 150 mm from the bottom. The extreme-fibre distance is c = 150 mm to either face.
  2. Area: A = b·h = 100 × 300 = 30,000 mm².
  3. Ix = b·h³ / 12 = 100 × 300³ / 12 = 100 × 27,000,000 / 12 = 225,000,000 mm⁴ = 225 ×10⁶ mm⁴.
  4. Iy = h·b³ / 12 = 300 × 100³ / 12 = 25,000,000 mm⁴ — nine times smaller, because in this direction the section is only 100 mm deep and depth is cubed.
  5. Section modulus: Zx = Ix / c = 225,000,000 / 150 = 1,500,000 mm³. (Directly: Z = b·h² / 6 gives the same 1.50 ×10⁶ mm³.)
  6. Radius of gyration: rₓ = √(Ix / A) = √(225,000,000 / 30,000) = √7,500 = 86.6 mm; r_y = √(25,000,000 / 30,000) = 28.9 mm.
  7. Parallel axis check: about an axis along the section's bottom edge, d = 150 mm, so I = Ix + A·d² = 225 ×10⁶ + 30,000 × 150² = 900 ×10⁶ mm⁴ — four times the centroidal value, which is why the axis a formula refers to must always be stated.

Ix = 225 ×10⁶ mm⁴ · Iy = 25 ×10⁶ mm⁴ · Zx = 1.50 ×10⁶ mm³ · A = 30,000 mm² · c = 150 mm · rₓ = 86.6 mm. Sent to the deflection calculator, this Ix with c = 150 mm is a complete section input.

Section modulus Z

The section modulus packages I and the extreme-fibre distance into the single number the bending-stress formula wants. Bending stress at the outer fibre is σ = M·c / I; since c and I are both fixed by the section, their ratio is tabulated as one property, Z = I / c, and the stress becomes σ = M / Z. A larger Z means less stress for the same bending moment, in direct proportion — which is why section tables sort so usefully by Z when strength, not stiffness, is the question.

Definition

Z = I / c

c is the distance from the centroidal (neutral) axis to the extreme fibre — the farther face governs, because stress grows linearly with distance from the axis.

Rectangle

Z = b·h² / 6

For the worked rectangle: 100 × 300² / 6 = 1.50 ×10⁶ mm³. Depth is squared here, not cubed — Z grows more slowly than I as a section deepens.

Circle and pipe

Z = π·d³ / 32 · π·(D⁴ − d⁴) / (32·D)

Solid circle first, pipe second. For the ⌀200 circle: π × 200³ / 32 = 785,398 mm³.

Bending stress

σ = M / Z

With M in N·mm and Z in mm³, σ comes out in MPa. On an unsymmetric section — a T or an angle — use the modulus for the face you are checking: this calculator reports Z to the top and the bottom fibre separately, and the smaller of the two gives the larger stress.

Z here is the elastic section modulus. The plastic section modulus is a different, larger quantity used in plastic design; it is not reported, and the two must not be interchanged.

Centroid and radius of gyration

The centroid is the point the bending axis passes through, and everything else on this page is measured from it. For a composite section it is the area-weighted average of the parts' centroids — the first moment of area divided by the area. It is also where mistakes enter: a channel's centroid is not at half its flange width but close to the web (27.96 mm from the web's back on the 300 × 100 channel the calculator opens with in that shape), and an equal angle's centroid sits at 28.68 mm from each face on a 100 × 100 × 10 angle, not at 50 mm. The radius of gyration answers a different question: if the section's whole area were concentrated in a thin strip at one distance from the axis, how far out would that strip sit to give the same I? That distance, r = √(I / A), is the property column buckling is checked with — a section's slenderness is a length divided by r — and it is reported here for both axes.

Centroid (vertical position)

ȳ = ΣAi·yi / ΣAi

yi is each part's own centroid height above the reference edge. The horizontal position x̄ follows the same pattern from the left edge.

Radius of gyration

r = √(I / A)

Worked rectangle: rₓ = √(225 ×10⁶ / 30,000) = 86.6 mm about the strong axis and 28.9 mm about the weak one — the weak-axis value is the one that governs a strut's buckling, which is Euler's other use of I.

Parallel axis theorem

I = Ic + A·d²

I about any axis a distance d from the parallel centroidal axis. This is the theorem the composite shapes are built from, and the calculator's parallel-axis field applies it directly to your result.

Units and conversions

I carries the fourth power of length, which makes its conversions the easiest to get wrong in the whole calculation: the factor between unit systems is the length factor raised to the fourth power, not the length factor itself. One inch is exactly 25.4 mm, so one in⁴ is 25.4⁴ = 416,231.4 mm⁴ — and a value copied from a table in cm⁴ into a formula expecting mm⁴ is out by a factor of 10,000 before any engineering begins. The factors below are stated explicitly so they can be checked, and the calculator's unit selector applies them to every input and output at once.

Checked conversion factors for the second moment of area
mm⁴cm⁴0.0001 (divide by 10,000)225 ×10⁶ mm⁴ = 22,500 cm⁴
cm⁴mm⁴10,00022,500 cm⁴ = 225 ×10⁶ mm⁴
in⁴mm⁴416,231.4100 in⁴ = 41.62 ×10⁶ mm⁴
mm⁴in⁴0.0000024025 (divide by 416,231.4)225 ×10⁶ mm⁴ = 540.6 in⁴
in⁴cm⁴41.62314100 in⁴ = 4,162.3 cm⁴
cm⁴in⁴0.024025122,500 cm⁴ = 540.6 in⁴

The same powers apply to the companion properties: areas convert with the square of the length factor (1 in² = 645.16 mm²) and section moduli with the cube (1 in³ = 16,387.064 mm³). Mixing a converted I with an unconverted c is a quiet way to corrupt a stress result — convert the set, not the single number.

Common mistakes

The errors that recur in moment-of-inertia work, in roughly the order they do damage.

  • Using I about the wrong axis. Ix and Iy of the worked rectangle differ ninefold; of a real I-section, often twentyfold. Beam deflection under vertical load uses Ix — the value about the horizontal centroidal axis — unless the beam is loaded sideways.
  • Forgetting the parallel-axis term. A flange's own bh³/12 about its own centreline is a small part of its contribution; the Ai·di² transfer term is the bulk of it. Summing the parts' own I values without transferring them understates a composite section's Ix badly.
  • Taking the centroid at the geometric centre of an unsymmetric shape. Channels, T-sections and angles all have off-centre centroids; every distance — c, and each part's di — must be measured from the true centroid, or both I and Z come out wrong.
  • Feeding a diameter into a radius-family formula, or the reverse. The circle's I = πd⁴/64 is written for diameter; the equivalent radius form is πr⁴/4. Mixing the two costs a factor of sixteen.
  • Mixing mm⁴ and cm⁴ between a section table and a deflection formula — a factor of 10,000. Convert the whole set of inputs in one step, as the unit selector here does, and state the unit next to every I you write down.
  • Treating I as a material property. Identical shapes in steel and timber have identical I; what changes is E. A deflection problem is fixed by changing the shape (I), the material (E), the span or the load — and I is the only one of the four that this page can change.

Sources and method

The formulas are the standard mechanics-of-materials results for the second moment of area, as tabulated in Roark's Formulas for Stress and Strain and used throughout the AISC Steel Construction Manual's treatment of beam sections. Simple shapes use their closed forms; hollow shapes are worked by subtraction; the I-section, channel, T-section and angle are summed from rectangles with the parallel axis theorem, with the I-section also given in its equivalent subtraction form. Fillets are ignored throughout, as stated wherever a rolled shape is involved, so catalogue values from the AISC manual remain the authority for designated steel sections.

Method, in one paragraph: dimensions are held in millimetres internally; the centroid is found from the first moment of area; each part's I is transferred to the centroidal axes; Z is I divided by the relevant extreme-fibre distance; the radius of gyration is √(I / A); and unit conversions use the exact 25.4 mm inch and the fourth-power factors tabulated in the units section. The calculator's check figures are reproducible by hand: the rectangle 100 × 300 mm gives Ix = 225 ×10⁶ mm⁴ and Z = 1.50 ×10⁶ mm³, the ⌀200 circle gives Ix = 78.54 ×10⁶ mm⁴, and the box and pipe cases on this page follow the same arithmetic.

This calculator is an educational and preliminary-check tool. It computes geometric properties of a section you specify; it does not design a member or certify a structure. It is not a substitute for a licensed structural engineer.

FAQs

How is moment of inertia calculated?

For a simple shape, from its standard formula about the centroidal axis — a rectangle is Ix = b·h³/12, a circle πd⁴/64. For a built-up shape, split it into rectangles, find the overall centroid with ȳ = ΣAi·yi / ΣAi, transfer each part to that axis with the parallel axis theorem (Ii + Ai·di²), and sum. The worked example on this page runs the rectangle case end to end: 100 × 300 mm gives Ix = 225 ×10⁶ mm⁴.

What is the difference between moment of inertia and section modulus?

I measures how the section's area is spread about the axis, in mm⁴, and it sets stiffness: deflection is proportional to 1/I. The section modulus Z = I / c folds in the extreme-fibre distance c, is measured in mm³, and sets stress: σ = M / Z. Same section, two jobs — I for how much the beam bends, Z for how hard the outer fibre is worked.

Which axis do I need for beam deflection — Ix or Iy?

The axis the beam bends about. For the usual case — a beam loaded vertically, bending about its horizontal centroidal axis — that is Ix, and it is the value the send-I hand-off carries. Iy is for sideways loading and for buckling checks, where the weak axis usually governs. The two differ by an order of magnitude on deep sections, so the axis is not a detail.

How do I get I for a composite shape?

By the four steps in the how-to section: split the shape into rectangles, find the centroid of the whole from the parts' areas and positions, transfer each part's own I to the centroidal axis by adding Ai·di², and sum. That is exactly how this calculator handles the I-section, channel, T-section and angle — and the steps panel shows the substitution for your dimensions.

Is moment of inertia a material property?

No — it is a geometric property of the cross-section's shape alone. A steel section and a timber section with identical dimensions have identical I; the materials differ in Young's modulus E (steel 200 GPa per AISC; timber a species-and-grade range per the USDA Wood Handbook / NDS), and deflection depends on the product EI. Changing material changes E; changing shape changes I.

Can I send the result straight into the deflection calculator?

Yes — that hand-off is built in. The button under the result opens the beam deflection calculator with this section's Ix and extreme-fibre distance c already entered (as /?units=mm&I=…&c=…), so the value is never re-typed or converted by hand. Z follows from the same two numbers, since Z = I / c.