Statics & strength · Polygon contour

Second moment of area for arbitrary cross-sections

Define any polygon contour by coordinates or graphically and calculate its area, centroid, and second moments Ix, Iy and Ixy.

Ix / Iy2D

The calculation runs locally in your browser. Coordinates are neither transmitted nor stored.

01

Geometry

Place or drag points along the outer boundary. The y-axis points upwards; the contour closes automatically.

P1P2P3P4
02

Coordinates

Pointx (mm)y (mm)Action
P1
P2
P3
P4

Only need the centroid? Go to the centroid calculator for arbitrary cross-sections →

What does the calculator compute?

The calculator determines geometric section properties for any straight-edged 2D outer contour. Unlike the calculator for rectangles, circles or tubes, the shape is described by vertices. Enter them in boundary order; the final vertex is connected logically to the first.

What is the second moment of area?

The second moment of area describes how area is distributed relative to an axis. In beam bending, EI is the flexural rigidity: E is a material property and I is purely geometric. A large I therefore indicates favourable area distribution about the chosen bending axis; it does not by itself prove strength.

A flat rectangle illustrates the axis dependence: its values about the strong and weak centroidal axes differ greatly. I is therefore meaningful only together with its reference axis.

Polygon integrals and sign convention

For each edge the engine forms ci = xi·yi+1 − xi+1·yi. The sums give area, centroid and origin-based integrals. A clockwise contour is reversed internally. The product moment convention used here is Ixy = ∫A x·y dA, which may be positive, zero or negative.

A = ½ Σ ciIx,0 = ¹⁄₁₂ Σ (yi² + yiyi+1 + yi+1²)ciIy,0 = ¹⁄₁₂ Σ (xi² + xixi+1 + xi+1²)ci

Centroidal axes and parallel-axis theorem

After finding the centroid, the moments are transformed to parallel axes through S. This makes the primary result independent of the chosen coordinate origin.

Ix = Ix,0 − Aȳ²Iy = Iy,0 − Ax̄²Ixy = Ixy,0 − Ax̄ȳ

Example: 100 × 50 mm rectangle

The initial contour (0,0), (100,0), (100,50), (0,50) gives A = 5,000 mm² and S = (50 mm, 25 mm). Analytically, Ix = b·h³/12 = 1,041,666.667 mm⁴ and Iy = h·b³/12 = 4,166,666.667 mm⁴. Both symmetry axes make Ixy = 0. These values are also used as an automated reference test.

Scope and limitations

The calculator supports one closed, non-self-intersecting outer contour made of straight edges. Holes, disconnected regions, arcs, DXF, plastic properties and torsion are currently excluded. Geometric properties alone do not verify strength, stability or serviceability.

FAQ

Common questions

How do I enter an arbitrary section?

Enter the vertices consecutively along the outer contour, or enable drawing mode and click in the diagram. The final point is connected to the first automatically.

Must I enter the points clockwise?

No. Both traversal directions produce the same physical values, but the points must follow the boundary consecutively.

Can I calculate concave sections?

Yes. Any simple, non-self-intersecting polygon may be concave, including an L-shape.

Can I calculate holes or cut-outs?

The current calculator supports one closed outer contour without internal holes. Inner contours are planned for a later extension.

Which axes do Ix and Iy use?

They use the axes through the calculated area centroid, parallel to the global x and y axes shown.

Does Ix change if I translate the section?

The reported centroidal second moment does not change. The centroid coordinates change, while the shape relative to its centroidal axis does not.

How does this differ from mass moment of inertia?

Second moment of area is a cross-section property with units of length to the fourth power. Mass moment of inertia has units of mass times length squared and describes rotational dynamics.

Is Ix + Iy the torsion constant?

Ix + Iy is the polar second moment of area. For a general non-circular section it is not the Saint-Venant torsion constant, so this page does not calculate torsion.

References

Engineering and mathematical sources

Calculation basis: engineering mechanics and area integrals for polygonal sections; this is not a normative design rule.