Polygon area and perimeter

Calculate area, perimeter and winding from the vertices of a simple polygon.

The example value has been entered. Check it immediately or change the value.

Input is processed in the browser. Refreshing returns a sample value.

Result

Instructions and example

A=abs(Σ(xᵢyᵢ₊₁−xᵢ₊₁yᵢ))/2

The 4×3 rectangle has area 12, perimeter 14 and CCW vertex order.

Only simple polygons with 3–50 vertices; intersections, overlaps and degeneracy are rejected.

Frequently asked questions

Should I repeat the closing vertex?

No. The final vertex connects to the initial vertex automatically; consecutive duplicates are rejected.

Can a crossing polygon be measured?

Self-intersections are rejected. Enter vertices along the boundary so signed area is not confused with enclosed area.

Calculation criteria and reference materials

Verification of calculation criteria: · Calculation·verification principles · Report errors