Centroid of a Triangle Calculator

This calculator finds the centroid of a triangle, the single point where its three medians meet and the triangle's true centre of mass. If you were to cut the triangle out of a uniform sheet of card, it would balance perfectly on this point, which makes the centroid useful in structural engineering, physics, computer graphics and surveying. To use it, enter the x and y coordinates of each of the three vertices, labelled Vertex A, Vertex B and Vertex C. Coordinates can be positive or negative, and can include decimals, so any triangle placed anywhere on a Cartesian plane will work. As soon as you enter values, the calculator returns the Centroid X and Centroid Y coordinates, plus the combined Centroid Point, worked out by averaging the three x-coordinates and separately averaging the three y-coordinates. Below the results you get a full step-by-step working panel showing each vertex, the sum of the x-coordinates, the sum of the y-coordinates, and the final division by three, so you can follow exactly how the answer was reached. A result statement also confirms the centroid position in plain language, and flags if your three points are collinear and therefore do not form a real triangle. The default example uses vertices at (0,0), (6,0) and (3,6), giving a centroid at (3, 2), which you can change to match your own triangle.

Calculate.co.nz is proud to be partnered with Health Based Building, a leader in sustainable and health-conscious building innovation. With over a century of experience, they develop high-performance systems like Foreverbreathe Specification, Magnum Board, and Foreverbreathe Paints to support energy-efficient, non-toxic living environments. Their commitment to healthier homes aligns with our belief that informed choices lead to better outcomes for Kiwi households.
Calculate.co.nz partner: Health Based Building
Advertise on this page
Standard Formula  Euclidean geometry. Centroid = ((x1+x2+x3)/3, (y1+y2+y3)/3).

Vertex A

Vertex B

Vertex C

Tip: Coordinates can be negative decimals. For example, vertex A at (-2.5, 3.1) is valid. The centroid always falls inside the triangle.

Centroid Coordinates

Centroid X
3.00
Cx = (x1 + x2 + x3) / 3
Centroid Y
2.00
Cy = (y1 + y2 + y3) / 3
Centroid Point
(3.00, 2.00)
Coordinates (Cx, Cy)

Step-by-Step Working

Vertex A(0.00, 0.00)
Vertex B(6.00, 0.00)
Vertex C(3.00, 6.00)
Sum of x-coordinates0.00 + 6.00 + 3.00 = 9.00
Cx = sum / 39.00 / 3 = 3.00
Sum of y-coordinates0.00 + 0.00 + 6.00 = 6.00
Cy = sum / 36.00 / 3 = 2.00
CentroidG = (3.00, 2.00)
Result: Enter the three vertices above to find the centroid.

What Is the Centroid of a Triangle?

The centroid of a triangle is the point where its three medians intersect. A median is the line segment connecting a vertex to the midpoint of the opposite side. Every triangle has exactly three medians, and they always meet at a single point: the centroid.

The centroid has a special physical meaning: it is the triangle's centre of mass. If you were to cut a triangle out of a uniform flat material (such as cardboard or sheet metal), it would balance perfectly on a pin placed at the centroid. Engineers and designers use this property when calculating the behaviour of triangular structural elements.

The Centroid Formula

For a triangle with vertices at A(x1, y1), B(x2, y2) and C(x3, y3), the centroid G has coordinates:

Cx = (x1 + x2 + x3) / 3
Cy = (y1 + y2 + y3) / 3

In other words, you average the three x-coordinates to find the centroid x, and average the three y-coordinates to find the centroid y. This formula works for any triangle regardless of its shape or orientation.

Worked Example

Consider a triangle with vertices at A(0, 0), B(6, 0) and C(3, 6). These are the default values in the calculator above.

StepCalculationResult
Sum of x-coordinates0 + 6 + 39
Centroid x (Cx)9 / 33.00
Sum of y-coordinates0 + 0 + 66
Centroid y (Cy)6 / 32.00
Centroid(3.00, 2.00)

The centroid of this triangle is at the point (3, 2), which you can verify lies inside the triangle.

Key Properties of the Centroid

Centroid vs Other Triangle Centres

CentreDefinitionAlways inside?
Centroid (G)Intersection of the three medians; centre of massYes
Circumcentre (O)Centre of the circumscribed circle; equidistant from all verticesOnly for acute triangles
Incentre (I)Centre of the inscribed circle; equidistant from all sidesYes
Orthocentre (H)Intersection of the three altitudesOnly for acute triangles

Applications

The centroid appears in many practical contexts:

Related Calculators

Sources and method: Standard Euclidean geometry. Centroid formula: G = ((x1+x2+x3)/3, (y1+y2+y3)/3). Reference: Coxeter, H.S.M. and Greitzer, S.L., Geometry Revisited, Mathematical Association of America, 1967. Weisstein, Eric W., "Triangle Centroid," MathWorld, Wolfram Research.

This calculator computes the centroid of a triangle from Cartesian coordinates using the standard averaging formula. Coordinates can be any real numbers including negatives and decimals. Results are exact to the precision of your inputs.