Centroid Calculator

Centroid(2.00, 1.00)
Centroid x2.00
Centroid y1.00
Median from first vertex3.35
How this was calculated
  1. The centroid of a triangle is its balance point, where the three medians meet: it sits at the plain average of the three vertices, ((x1 + x2 + x3) / 3, (y1 + y2 + y3) / 3).
  2. Average the x-coordinates: (0 + 6 + 0) / 3 = 2.00. Average the y-coordinates: (0 + 0 + 3) / 3 = 1.00.
  3. Centroid = (2.00, 1.00).
  4. As a check, the median from the first vertex to the midpoint of the opposite side measures 3.35 units, and the centroid lies two thirds of the way along it - the property Archimedes used to balance a triangular plate.

Use this centroid calculator to find the centroid of a triangle from the coordinates of its three vertices. Enter the points, and the tool averages them: the centroid is ((x1 + x2 + x3) / 3, (y1 + y2 + y3) / 3). For example, the triangle (0, 0), (6, 0), (0, 3) has its centroid at (2.00, 1.00). Vertices (1, 1), (7, 2), (4, 7) give a centroid of (4.00, 3.33). A triangle crossing the origin, (-3, -2), (3, -1), (0, 6), balances at (0.00, 1.00). The page gives you the answer clearly, with the coordinates rounded for easy reading.

Averaging the vertices is the accepted standard for this calculation because the centroid is where the three medians intersect, two thirds of the way along each median from its vertex, and it is the centre of mass of a uniform triangular plate. That is the definition the formula above expresses, so the method is not an approximation or a shortcut. This page shows the formula, step-by-step workings, worked examples and sources, so you can check every number yourself rather than take the result on trust. Whether you are studying geometry, checking homework or locating a balance point, the centroid calculator gives the same answer the standard method produces.

Worked examples

Right triangle

The triangle (0, 0), (6, 0), (0, 3) balances at (2.00, 1.00). (0 · 0 · 6 · 0 · 0 · 3)

Centroid(2.00, 1.00)
Centroid x2.00
Centroid y1.00
Median from first vertex3.35

Spread-out triangle

Vertices (1, 1), (7, 2), (4, 7) give a centroid of (4.00, 3.33). (1 · 2 · 4 · 6 · 7 · 2)

Centroid(4.00, 3.33)
Centroid x4.00
Centroid y3.33
Median from first vertex4.92

Negative coordinates

A triangle crossing the origin, (-3, -2), (3, -1), (0, 6), balances at (0.00, 1.00). (-3 · -1 · 3 · -1 · 0 · 5)

Centroid(0.00, 1.00)
Centroid x0.00
Centroid y1.00
Median from first vertex5.41

What the centroid is

The centroid of a triangle is the average of its three vertices. If the corners are (x1, y1), (x2, y2) and (x3, y3), the centroid sits at ((x1 + x2 + x3) / 3, (y1 + y2 + y3) / 3). Add the three x-values and divide by three, then do the same with the y-values, and you have the point. That single rule is what a centroid calculator applies, and it is worth seeing how quickly it produces answers on real triangles.

Take the triangle (0, 0), (6, 0), (0, 3). The x-values add to 6, so the centroid's x is 2; the y-values add to 3, so its y is 1. The centroid is at (2.00, 1.00). Move to vertices (1, 1), (7, 2), (4, 7): the x-values sum to 12 and the y-values to 10, giving a centroid of (4.00, 3.33). A triangle that crosses the origin, (-3, -2), (3, -1), (0, 6), balances at (0.00, 1.00) — the negative coordinates simply cancel against the positive ones. Notice that the centroid does not have to fall inside a tidy, symmetric-looking arrangement; the averaging handles every case the same way.

There is a second, geometric description of the same point. A median is a line drawn from a vertex to the midpoint of the opposite side, and the three medians of any triangle meet at one point: the centroid. That meeting point lies two thirds of the way along each median, measured from the vertex it starts at. So if you know a vertex and the midpoint of the side across from it, you can locate the centroid without averaging coordinates at all, and the two methods always agree. This 2:1 split is a handy check when you work a problem by hand and want to confirm the numbers from a centroid calculator.

The centroid is also the centre of mass of a uniform triangular plate — a flat triangle of even thickness and material. That is the physical meaning behind the arithmetic. Archimedes' result is that such a triangular plate balances on a pin placed at the centroid, with no tendency to tip toward any corner. The averaging formula and the median intersection are two views of that same balance point, which is why the coordinates can be trusted as a description of where the triangle would rest.

Quick check: the centroid is the average of the three vertices, the meeting point of the three medians two thirds of the way from each vertex, and the balance point of a uniform triangular plate.

How to calculate the centroid

To calculate the centroid of a triangle, you average the x-coordinates of its three vertices and, separately, average the y-coordinates. The formula is ((x1 + x2 + x3) / 3, (y1 + y2 + y3) / 3). The two averages are computed independently, so a mistake in one coordinate does not affect the other. A centroid calculator simply performs these two divisions for you, which is handy when the vertices include decimals or negative numbers.

First example: the triangle with vertices (0, 0), (6, 0), and (0, 3). Add the x-coordinates: 0 + 6 + 0 = 6. Divide by 3 to get 2.00. Add the y-coordinates: 0 + 0 + 3 = 3. Divide by 3 to get 1.00. The centroid is (2.00, 1.00). Notice that this triangle is a right triangle sitting in the corner of the axes, and its centroid falls inside it, as it always does for a triangle.

Second example: the vertices (1, 1), (7, 2), and (4, 7). Add the x-coordinates: 1 + 7 + 4 = 12. Divide by 3 to get 4.00. Add the y-coordinates: 1 + 2 + 7 = 10. Divide by 3 to get 3.33, rounded to two decimal places. The centroid is (4.00, 3.33). Here the division does not come out even, which is common; keep a few decimal places if you need precision, and round only at the end.

Negative coordinates work the same way. For the triangle (-3, -2), (3, -1), and (0, 6), which crosses the origin, the x sum is -3 + 3 + 0 = 0, so the x-coordinate is 0.00. The y sum is -2 + -1 + 6 = 3, so the y-coordinate is 1.00. The triangle balances at (0.00, 1.00). Treat the minus signs as ordinary subtraction when you add; there is no special rule for vertices below or left of the origin.

The centroid is not just an average on paper. It is where the three medians of the triangle intersect, and it lies two thirds of the way along each median from its vertex. It is also the center of mass of a uniform triangular plate, which is why the averaging method gives the balance point. Because the medians always meet at this single point, every triangle has exactly one centroid, and it always falls inside the triangle.

  • Add the three x-coordinates and divide by 3 to get the centroid's x-coordinate.
  • Add the three y-coordinates and divide by 3 to get the centroid's y-coordinate.
  • Keep negative signs as subtraction when adding; for example, -3 + 3 + 0 = 0.
  • Round only after both divisions if you need a tidy answer such as 3.33.
Quick check: the centroid is the average of the vertices, so it must lie inside the triangle and two thirds of the way along each median from its vertex.

Centroid vs circumcenter vs orthocenter

The centroid is only one of several points that a triangle can claim as a centre, and it is easy to mix them up. Each of the three best-known centres is defined by a different family of lines, so each one captures a different kind of balance within the same shape. A centroid calculator handles the centroid — the average of the three vertices — but knowing what the other two centres measure helps you pick the right tool and read the result correctly.

The centroid is the intersection of the three medians, the lines drawn from each vertex to the midpoint of the opposite side. It sits two thirds of the way along each median from its vertex, and it is the centre of mass of a uniform triangular plate. That physical meaning is why the numbers feel intuitive: the triangle (0, 0), (6, 0), (0, 3) has its centroid at (2.00, 1.00), and a triangle crossing the origin, (-3, -2), (3, -1), (0, 6), balances at (0.00, 1.00). Vertices (1, 1), (7, 2), (4, 7) give a centroid of (4.00, 3.33). In every case the centroid is simply the average of the three vertices: ((x1 + x2 + x3) / 3, (y1 + y2 + y3) / 3).

The circumcenter is the centre of the circle that passes through all three vertices — the circumscribed circle. It is found where the perpendicular bisectors of the sides meet, so it is equidistant from the three corners. Depending on the triangle it can fall inside, outside, or on the shape itself. The orthocenter is the meeting point of the three altitudes, the lines dropped from each vertex perpendicular to the opposite side. Like the circumcenter, it can land inside or outside the triangle.

Because these centres are built from different lines, they generally sit at different points. Only in an equilateral triangle do the centroid, circumcenter, and orthocenter all coincide, since the medians, perpendicular bisectors, and altitudes are then the same lines. In any other triangle, expect three distinct locations, and use the centroid calculator when the point you need is the average of the vertices rather than a circle centre or an altitude crossing.

  • Centroid: intersection of the medians; two thirds of the way along each median from its vertex; centre of mass of a uniform triangular plate.
  • Circumcenter: intersection of the perpendicular bisectors; centre of the circle through all three vertices.
  • Orthocenter: intersection of the altitudes; the perpendiculars from each vertex to the opposite side.
  • All three coincide only in an equilateral triangle.
Only an equilateral triangle puts the centroid, circumcenter, and orthocenter at the same point. For any other triangle, the centroid calculator gives you the average of the vertices — not the circle centre or the altitude crossing.

Using centroids beyond triangles

A triangle is the easy case. Once you move to a four-sided shape, a five-sided one, or a survey boundary with dozens of corners, you can no longer just average the corners and expect a meaningful center. The centroid of a polygon is a weighted average: each part of the shape pulls on the result in proportion to the area it contributes. A long, heavy lobe on one side of an irregular plot drags the centroid toward it, while a small notch barely registers. This is the same balancing idea that makes the triangle centroid the center of mass of a uniform triangular plate — the shape's mass is spread evenly, so the center sits where the shape would balance on a pin.

That area-weighting logic is why a centroid calculator earns its keep on polygons. Averaging vertex coordinates treats every corner equally, which works for a triangle because three vertices describe the whole shape. For a polygon, a cluster of closely spaced vertices along one edge would be over-counted by simple averaging, while a long straight run with only two endpoints would be under-counted. The proper polygon method weights each contribution by the signed area of the triangles formed with a reference point, so the answer reflects the actual distribution of area rather than the number of points someone happened to click.

The same averaging concept scales outward into engineering and mapping. In engineering, the centroid of a cross-section is the point through which a resultant force can act, and for a uniform body it coincides with the center of mass — the balance point used when analyzing how a part will behave under load. In GIS, the geographic center of a region is computed from its boundary in much the same way, giving a single coordinate that represents where a polygon 'sits' on the map. The coordinates and units change, but the underlying question does not: where is the balance point of this shape?

The triangle examples show how the arithmetic behaves before you scale up. The triangle (0, 0), (6, 0), (0, 3) has its centroid at (2.00, 1.00), and vertices (1, 1), (7, 2), (4, 7) give a centroid of (4.00, 3.33). A triangle crossing the origin, (-3, -2), (3, -1), (0, 6), balances at (0.00, 1.00) — negative coordinates are handled without special treatment because the formula simply averages them. Each result comes from the same rule: the centroid of a triangle is the average of its three vertices, ((x1 + x2 + x3) / 3, (y1 + y2 + y3) / 3).

One geometric fact ties the numbers together. The centroid is where the three medians intersect, two thirds of the way along each median from its vertex. That two-thirds position is exactly what the averaging formula produces, and it is also why the point behaves as the center of mass of a uniform triangular plate. When you use a centroid calculator on a more complex outline, you are extending this same balance-point idea, with area doing the weighting instead of three equal corners.

For triangles, the centroid is the average of the vertices — and the point where the medians meet, two thirds of the way from each vertex.

FAQs

What is the centroid of a triangle?

The centroid is the point where the three medians of a triangle meet. It sits at the average of the triangle's vertices, which makes it the triangle's center of mass. In other words, if you balance a triangle on a pin, it would balance at the centroid.

How do you find the centroid?

Average the coordinates of the vertices. For the triangle with vertices (0, 0), (6, 0) and (0, 3), the centroid is ((0+6+0)/3, (0+0+3)/3) = (2.00, 1.00). Add the x-coordinates and divide by three, then do the same with the y-coordinates.

Where does the centroid sit on a median?

The centroid lies two thirds of the way from the vertex to the midpoint of the opposite side. Because all three medians meet at that single point, you can measure along any median and the centroid will always fall at the same two-thirds position.

Is the centroid always inside the triangle?

Yes. Unlike the circumcenter and orthocenter, the centroid of any triangle lies inside it. This holds for every triangle shape, including obtuse ones, so you can rely on the centroid always being an interior point of the triangle.

What is the difference between centroid and centre of mass?

For a uniform triangular plate they are the same point. Centre of mass is the physical idea, describing where the mass balances, while centroid is its geometric form. So for a flat triangle of even thickness, the centroid and the centre of mass coincide exactly.

Does the centroid formula work in 3D?

Yes. Average the z-coordinates as well as the x- and y-coordinates. A tetrahedron's centroid is the average of its four vertices, so you add the four x-coordinates and divide by four, then repeat for y and z.

Sources

Related calculators

Triangle Calculator
Triangle area three ways: base × height, Heron's formula from three sides, or two sides with the included angle — plus perimeter and side classification.
Midpoint Calculator
The point exactly halfway between two points — with the distance between them and the slope of the line through them as checks.
Triangle Altitude Calculator
All three altitudes of a triangle from its sides — Heron's area first, then each height as 2A over its base.