Calcy Mate Logo
Math Calculators

Centroid Calculator

Compute centroid coordinates for a triangle, an N-sided polygon (shoelace formula), or any set of points.

Choose Triangle, N-sided polygon, or N points mode and enter Cartesian coordinates for each point.

Triangle and N-points modes compute centroid as the arithmetic mean of x and y coordinates.

N-sided polygon mode uses the signed-area (shoelace) centroid formulas and requires vertices ordered around the polygon boundary.

Define a shape

Shape

Triangle in the coordinate system — vertices and centroid G

Point 1

x1
y1

Point 2

x2
y2

Point 3

x3
y3

Centroid (G)

Gₓ

1

Gᵧ

2

Gₓ = (x₁+x₂+x₃)/3, Gᵧ = (y₁+y₂+y₃)/3.