Find the centroid of a triangle, polygon, or point cloud.
Last updated: June 2026 | By Patchworkr Team
The centroid is the average position of a shape or set of points.
For polygons, the points must be ordered around the boundary and the area must be non-zero.
1. Choose triangle, polygon, or point cloud.
2. Enter the coordinates in the requested format.
3. Read the live centroid result and any area note.
For the triangle (0,0), (6,0), (0,6):
centroid = ((0 + 6 + 0) / 3, (0 + 0 + 6) / 3) = (2, 2)
The calculator should show (2, 2).
Yes. The shoelace formula assumes the boundary points are ordered around the shape.
Then the centroid is undefined for this tool.
Yes. The tool averages all points in the list.
Yes, as long as they are finite real numbers.
Related Tools
Calculate cross-sectional area.
Calculate cylindrical coordinates.
Calculate direction vector.
Calculate distance between points.
Calculate point-to-plane distance.
Calculate dot product.