Centroid of Polygon Calculator

Enter polygon vertex coordinates and instantly get the geometric centroid (cx, cy) using the exact signed-area formula.

Vertex Coordinates

Result

Enter coordinates and press Calculate

Polygon Preview

Preview updates after calculating

Summary

Enter polygon vertex coordinates and instantly get the geometric centroid (cx, cy) using the exact signed-area formula.

How it works

  1. Enter one vertex per line in the format "x, y" (at least 3 vertices required).
  2. The tool parses each pair and builds an ordered vertex list.
  3. The signed area is computed using the Shoelace formula.
  4. The centroid x and y coordinates are derived from the standard weighted-sum formula over consecutive edge pairs.
  5. Results are displayed with 6 decimal places, and the polygon with its centroid is drawn on a canvas.

Use cases

  • Find the geographic center of a land parcel or survey polygon.
  • Compute the balance point of a flat shape in engineering or physics.
  • Determine where to place a label or marker at the true center of a map region.
  • Verify GIS centroid calculations done in desktop software.
  • Calculate the center of a building footprint from corner coordinates.
  • Find the center of a sports field or zone polygon.

Frequently Asked Questions

Last updated: 2026-06-24 · Reviewed by Nham Vu