Skip to content
Mathematics

Polygon area from coordinates

Enter the vertices in order around the boundary to calculate the area, perimeter and centroid of a simple polygon.

Free & no registration Calculated in your browser
01

Your inputs

The starting values are an example.

One vertex per line; separate x and y with a semicolon. Coordinates in cm; up to 200 points.

Decimals: 12.5 · Thousands: 1,234.56. Follow the field instructions for lists.

02

Your result

Enter your values and select Calculate.

Your calculation will appear here.

Your result will include the relevant values and units.

Understand the calculation

Formula and example

How it is calculated

A = ½·|Σ(xᵢ·yᵢ₊₁ − xᵢ₊₁·yᵢ)|. The perimeter is the sum of distances between consecutive vertices.

Worked example

The points (0;0), (4;0), (4;3), (0;3) give an area of 12 cm², a perimeter of 14 cm and a centroid at (2;1.5).

Things to check

  • Enter the points in order around the boundary. Non-adjacent edges that cross or touch are rejected.
  • Holes and geographical coordinates on a sphere are not modelled. The centroid assumes a uniformly filled area.

Frequently asked questions

Do I need to repeat the first point at the end?

No. The final edge back to the first point is added automatically. An exactly repeated closing coordinate is also accepted.