Centroid and Moment of Inertia Calculator

Build a cross-section from rectangles and circles, and mark any of them as holes. The calculator finds the area, the centroid, the second moments of area Ix and Iy about the centroidal axes, the elastic section moduli and the radii of gyration, and draws the section to scale.

Last updated

Centroid and moment of inertia

Units

Place parts on x–y axes with y up. Rectangles are placed by their bottom-left corner, circles by their centre.

Part 1
Part 2
Area A
3600 mm²
Centroid (x̄, ȳ)
(50, 67.78) mm
Ix (centroidal)
3.142e+6 mm⁴
Iy (centroidal)
1.720e+6 mm⁴
Sx top / bottom
97520 / 46360 mm³
rx / ry
29.54 / 21.86 mm
C (50, 67.78)
Section to scale with the centroid
Intermediate steps
StepFormulaValue
Net areaA = ΣAᵢ = 2000 + 16003600 mm²
Centroid x̄x̄ = ΣAᵢxᵢ / A = 180000 / 360050 mm
Centroid ȳȳ = ΣAᵢyᵢ / A = 244000 / 360067.78 mm
Moment of inertia IxIx = Σ(Ixᵢ + Aᵢ·(yᵢ − ȳ)²)3.142e+6 mm⁴
Moment of inertia IyIy = Σ(Iyᵢ + Aᵢ·(xᵢ − x̄)²)1.720e+6 mm⁴
Section modulus, topSx,top = Ix / (ymax − ȳ)97520 mm³
Section modulus, bottomSx,bottom = Ix / (ȳ − ymin)46360 mm³

Inputs

Key formulas

Formulas used on this page, with the textbook each is cited from
FormulaExpressionWhereCited from
Composite centroidx̄ = ΣAᵢ·xᵢ / ΣAᵢ, ȳ = ΣAᵢ·yᵢ / ΣAᵢholes enter with negative areaHibbeler, Engineering Mechanics: Statics
Parallel-axis theoremI = Σ(Īᵢ + Aᵢ·dᵢ²)dᵢ = distance from the part’s centroid to the composite centroidBeer & Johnston, Vector Mechanics for Engineers: Statics
Rectangle about its centroidĪx = b·h³ / 12, Īy = h·b³ / 12b along x, h along yHibbeler, Engineering Mechanics: Statics
Circle about its centroidĪ = π·d⁴ / 64same about any diameterBeer & Johnston, Vector Mechanics for Engineers: Statics
Elastic section modulus and radius of gyrationS = I / c, r = √(I / A)c = distance from the centroidal axis to the extreme fibreGere & Goodno, Mechanics of Materials

Assumptions

Worked example

Example: A welded T-section

Given

  • A flange plate 100 mm wide × 20 mm thick sits on top of a web plate 20 mm thick × 80 mm tall, centred on it.
  • Origin at the bottom-left corner of the section’s bounding box: web corner at (40, 0) mm, flange corner at (0, 80) mm.

Find

  • The centroid.
  • Ix and Iy about the centroidal axes.
  • The section moduli to the top and bottom fibres.

Solution

  1. Split the section into two rectangles and find each area and centroid height.Flange A₁ = 2000 mm², y₁ = 90 mm; web A₂ = 1600 mm², y₂ = 40 mm
  2. The section is symmetric about x = 50 mm, so x̄ = 50 mm. Find ȳ.ȳ = (2000 × 90 + 1600 × 40) / 3600 = 244 000 / 3600 = 67.78 mm
  3. Apply the parallel-axis theorem to each part about the centroidal x axis.Ix = (100 × 20³/12 + 2000 × 22.22²) + (20 × 80³/12 + 1600 × 27.78²) = 3.142 × 10⁶ mm⁴
  4. Both centroids are on x = 50 mm, so there are no transfer terms for Iy.Iy = 20 × 100³/12 + 80 × 20³/12 = 1.720 × 10⁶ mm⁴
  5. The top fibre is 100 − 67.78 = 32.22 mm above the centroid and the bottom fibre 67.78 mm below.Sx,top = 3.142 × 10⁶ / 32.22 = 97 520 mm³, Sx,bottom = 3.142 × 10⁶ / 67.78 = 46 360 mm³

Answer: Centroid at (50, 67.78) mm, Ix = 3.142 × 10⁶ mm⁴, Iy = 1.720 × 10⁶ mm⁴, Sx,top = 97 520 mm³ and Sx,bottom = 46 360 mm³.

Common mistakes

Frequently asked questions

Is this the area or the mass moment of inertia?

The area moment of inertia, also called the second moment of area, in mm⁴ or in⁴. It is what beam deflection, bending stress and column buckling formulas use.

How do I model an I-beam or a channel?

Use three rectangles: two flanges and a web. The I-section preset is an example. For rolled shapes, published properties include the root fillets and are more accurate.

Why do Ix and Iy not change when I move the origin?

They are taken about the centroid, which moves with the parts. Only the centroid coordinates depend on where you put the origin.

What is the radius of gyration used for?

r = √(I/A) sets the slenderness ratio K·L/r in column buckling. A column buckles about the axis with the smaller r.

More engineering calculators

Engineering statics lessons · All engineering calculators

See also

Sources

  1. R. C. Hibbeler, Engineering Mechanics: Statics, Pearson
  2. F. P. Beer, E. R. Johnston, D. F. Mazurek, Vector Mechanics for Engineers: Statics, McGraw Hill
  3. J. M. Gere, B. J. Goodno, Mechanics of Materials, Cengage

COPLAIN AI PLATFORM

Generate yours automatically from your existing docs

Turning engineering calcs into shop-floor procedures? Coplain drafts audit-ready work instructions and job aids from your existing documents.

Generate yours automatically with Coplain →

Related Tools & Templates