HCHandCalc

General Polygon — From Vertex Coordinates

Section Properties · Polygon by Coordinates (shoelace) · A, C, I, S, r, Ixy, principal axes, Z
Worked example

This page shows the complete calculation with example values: the inputs, the results and every step in between.

The interactive calculator is part of HandCalc Pro. With Pro you can enter your own values, switch between SI and Imperial units and download the technical report as PDF or Word.

1

Geometry

One vertex per line: x, y (counter-clockwise). A block separated by a blank line is treated as a hole
Shoelace (Gauss) formulas compute the closed polygon's A, centroid and second moments exactly. Curved edges are approximated with enough vertices. Winding direction does not matter (the sign is corrected automatically).
2

Geometric properties

Area, centroid, moment of inertia, section modulus, radius of gyration
AShoelace (Gauss) area formula — summed over the 6 entered vertices for i = 1..n (n+1 ≡ 1); hole polygons are subtracted
= 12 Σ (xᵢyᵢ₊₁ − xᵢ₊₁yᵢ)
2,400mm²
Centroid
x̄
= 16A Σ (xᵢ + xᵢ₊₁)(xᵢyᵢ₊₁ − xᵢ₊₁yᵢ)
23.75mm
ȳ
= 16A Σ (yᵢ + yᵢ₊₁)(xᵢyᵢ₊₁ − xᵢ₊₁yᵢ)
48.75mm
Moment of inertia (about the centroid)
Ix
= 112 Σ (yᵢ² + yᵢyᵢ₊₁ + yᵢ₊₁²)(xᵢyᵢ₊₁ − xᵢ₊₁yᵢ) − Aȳ²
5,576,250mm⁴
Iy
= 112 Σ (xᵢ² + xᵢxᵢ₊₁ + xᵢ₊₁²)(xᵢyᵢ₊₁ − xᵢ₊₁yᵢ) − Ax̄²
2,026,250mm⁴
Product of inertia
Ixy
= 124 Σ (xᵢyᵢ₊₁ + 2xᵢyᵢ + 2xᵢ₊₁yᵢ₊₁ + xᵢ₊₁yᵢ)(xᵢyᵢ₊₁ − xᵢ₊₁yᵢ) − Ax̄ȳ
-1,968,750mm⁴
Section modulus
Sx,top / Sx,bot
= Ix/yt , Ix/yb
55,074.1 / 114,384.6mm³
Sy,right / Sy,left
= Iy/xr , Iy/xl
26,573.8 / 85,315.8mm³
Radius of gyration
rx
= √(Ix/A) = √(5,576,2502,400)
48.202mm
ry
= √(Iy/A) = √(2,026,2502,400)
29.056mm
3

Plastic modulus and torsion

Zx, Zy, shape factor, J
Plastic section modulus
Zx
plastic neutral axis, equal-area method (numerical)
99,000mm³
Zy
equal-area method (numerical)
47,400mm³
Shape factor
fx = Zx/Sx,min
1.798
4

Principal axes

Ixy, θ, I₁, I₂
Ixy
polygon integral (see the General Polygon formulas)
-1,968,750mm⁴
θfrom the x axis to axis 1, CCW +
= 12·atan−2IxyIx − Iy = 12·atan3,937,5003,550,000
23.981°
I1 = Imax
= Ix + Iy2 + √[(Ix − Iy2)² + Ixy²] = 5,576,250 + 2,026,2502 + √[...]
6,452,024mm⁴
I2 = Imin
= Ix + Iy2 − √[(Ix − Iy2)² + Ixy²]
1,150,476mm⁴
r1
= √(I₁/A) = √(6,452,0242,400)
51.849mm
r2
= √(I₂/A) = √(1,150,4762,400)
21.894mm