Statics

Composite Area Centroid and Moment of Inertia Calculator

Centroid, moments and product of inertia of a shape built from rectangles, circles, triangles and semicircles, with holes.

Tool no.
ECT-S23
Rev
1.0
Updated
Oct 2026
Method
Composite parts + parallel-axis theorem
Examples

Given

rect x y w h (lower-left corner) · circle cx cy d · tri x1 y1 x2 y2 x3 y3 · semi cx cy d up (centre of the flat side; up, down, left or right) · quarter cx cy r 1 (square corner, quadrant 1–4) · poly x1 y1 x2 y2 …. Put hole in front of a shape to cut it out.

Answers

Centroid (x̄, ȳ) = —
Runs in your browser. Nothing you enter is uploaded.Composite areas · parallel-axis theorem
How to use this calculator

Put the origin anywhere convenient, often the bottom-left corner, and describe the area as simple shapes that add up to it. Cut-outs are shapes with hole in front. The answers give the centroid from your origin, the moments of inertia about axes through the centroid, and about your x and y axes.

Formulas

Centroidx̄ = ΣAixi / ΣAi,  ȳ = ΣAiyi / ΣAi (holes negative)
Parallel axisIx̄ = Σ(Ix,c + Aidy²)
Basic shapesrectangle bh³/12, circle πd⁴/64, triangle bh³/36, semicircle 0.1098r⁴

Worked example

200 × 150 mm plate with a 60 mm hole centred at (60, 100) (the default)

  1. A = 30 000 − 2827.4 = 27 172.6 mm².
  2. x̄ = (30 000 × 100 − 2827.4 × 60)/27 172.6 = 104.16 mm; ȳ = (30 000 × 75 − 2827.4 × 100)/27 172.6 = 72.40 mm.
  3. Ix̄ = [56.25×10⁶ + 30 000(2.60)²] − [0.636×10⁶ + 2827.4(27.60)²] = 53.66 × 10⁶ mm⁴.

Frequently asked questions

Where should I put the origin?

Anywhere. The centroidal moments of inertia don’t depend on it; only x̄, ȳ and the moments about your x and y axes do. A corner usually keeps the numbers positive.

How do I enter a W-shape or channel?

As rectangles: two flanges and a web. Fillets are ignored, so tabulated values will be a few percent higher.