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
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-
Vertex B-
Vertex C-
Sum of x-coordinates-
Cx = sum / 3-
Sum of y-coordinates-
Cy = sum / 3-
Centroid-
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.

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use

Reviewed and maintained. Last reviewed 2026-07-19 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.

© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.