Calculator: Polygon area and centroid

Enter the labelled inputs to calculate: Area; Value Cx; Value Cy; Perimeter; Area ±.

Area
4
Value Cx
1
Value Cy
1
Perimeter
8
Area ±
4

How the calculation works

cᵢ=xᵢyᵢ₊₁−xᵢ₊₁yᵢ; 2A=Σcᵢ; Cx=Σ(xᵢ+xᵢ₊₁)cᵢ/(6A)

Use one coordinate unit throughout. Triangle vertices must be non-collinear. Polygon vertices must follow the boundary of a simple non-self-intersecting polygon; orientation changes the signed area.

Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Frequently asked questions

How is the result calculated?

cᵢ=xᵢyᵢ₊₁−xᵢ₊₁yᵢ; 2A=Σcᵢ; Cx=Σ(xᵢ+xᵢ₊₁)cᵢ/(6A)

What assumptions apply?

Use one coordinate unit throughout. Triangle vertices must be non-collinear. Polygon vertices must follow the boundary of a simple non-self-intersecting polygon; orientation changes the signed area.

How precise are the displayed results?

Numerical results show up to ten significant digits. Rounding does not improve the accuracy of the input measurements or the model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Also try:

Back to category →