Coordinate geometry

Triangle Centroid Calculator

Find the point where a triangle’s three medians meet from its vertex coordinates.

Three vertices

Enter the coordinate pairs

G
Coordinate summary

Your result

The centroid will appear here

Enter x and y coordinates for vertices A, B, and C.

Triangle vertices connected to opposite side midpoints with medians meeting at the centroid
The centroid lies at the intersection of the three medians.

What Is the Centroid of a Triangle?

The Triangle Centroid Calculator finds the average position of three vertices on a coordinate plane. Enter the x and y coordinates of points A, B and C to get the centroid as an ordered pair and as separate x and y values. You can use zero, negative numbers and decimals.

For a genuine triangle, the centroid is where its three medians meet. A median joins a vertex to the midpoint of the opposite side. Wolfram MathWorld describes this point and its coordinate representation. The form calculates the coordinate mean; it does not check whether your points form a nonzero-area triangle.

How to Find a Triangle Centroid from Coordinates

  1. Choose one coordinate system and a consistent scale. Read every point as (x, y): horizontal position first, vertical position second.
  2. Enter Vertex A x and Vertex A y for the first point.
  3. Enter the corresponding pair for Vertex B, then the pair for Vertex C. Keep each point’s x and y values together.
  4. Select Find centroid. The calculator adds the three x values and divides by three, then does the same with the y values.
  5. Read the ordered pair in the centroid result. The separate coordinate cards repeat its components to help you check the arithmetic.

Changing the order of complete vertex pairs does not change the result. Replacing or swapping just one coordinate can describe a different triangle. The illustration is a static explanation of medians, not a drawing generated from your inputs.

Triangle Centroid Coordinate Formula

Gₓ = (x₁ + x₂ + x₃) ÷ 3

Gᵧ = (y₁ + y₂ + y₃) ÷ 3

G = (Gₓ, Gᵧ)

Here A = (x₁, y₁), B = (x₂, y₂) and C = (x₃, y₃). Add like coordinates only: do not combine an x value with a y value. The returned coordinates are rounded to four decimal places; trailing zeroes may be omitted in the ordered pair.

One way to check the formula is to find M, the midpoint of BC. Moving from A two-thirds of the way toward M gives A + ⅔(M − A), which simplifies to (A + B + C) ÷ 3. This confirms the same mean without requiring any side lengths.

Vertex Coordinates and Centroid Results

Vertex A x and y
The first point’s horizontal and vertical coordinates, entered in separate fields.
Vertex B x and y
The second point’s coordinates in the same coordinate system.
Vertex C x and y
The third point’s coordinates; negative and decimal values are allowed.
Centroid G
The ordered pair (Gₓ, Gᵧ), calculated as the mean of the three vertex positions.
x-coordinate
The mean of x₁, x₂ and x₃, rounded to four decimal places.
y-coordinate
The mean of y₁, y₂ and y₃, rounded to four decimal places.
Method
The fixed reminder “Mean of vertices,” not a second selectable calculation method.

Triangle Centroid Calculation Example

Illustrative example. Let A = (−4, 2), B = (8, 2) and C = (2, 11). Add the x values: −4 + 8 + 2 = 6. Dividing by three gives Gₓ = 2. Add the y values: 2 + 2 + 11 = 15, so Gᵧ = 5. The centroid is G = (2, 5).

For a geometric check, the midpoint of AB is (2, 2). The median from C = (2, 11) to that midpoint is vertical. G lies six coordinate units from C and three from the midpoint, giving the expected 2:1 division.

Calculation check. These coordinates and the comparison cases below were calculated independently and checked against the calculator endpoint.

Additional illustrative comparison. These hypothetical cases use the assumptions stated in the caption.

Illustrative vertex sets and their coordinate means
Vertices A, B and CGₓGᵧGeometry
(−4, 2), (8, 2), (2, 11)25Nondegenerate triangle
(−3, −2), (6, 1), (0, 6)11.6667Nondegenerate triangle
(0, 0), (3, 3), (6, 6)33Collinear; no triangle area

Collinear Points and Other Triangle Centers

A returned mean is not a triangle-validity check. Three points on one straight line have no triangular area, but their coordinates still have an average. Repeated points behave the same way: the arithmetic can succeed while the intended geometry is missing.

Distinguishing points and centers
Case or centerDefining featureWhat this tool returns
Noncollinear triangle centroidIntersection of the three mediansThe centroid coordinates
Collinear or repeated pointsNo enclosed triangular areaThe three-position mean
Midpoint of a sideAverage of two endpointsNot calculated as a separate result
CircumcenterEqual distance from the three verticesNot calculated by this formula

For example, (0, 0), (3, 3) and (6, 6) produce (3, 3), yet all three points are on y = x. Calling that a coordinate mean is accurate; calling it the interior of a nonzero-area triangle is not.

A centroid can coincide with another center in a special triangle, but that does not make the definitions interchangeable. This form neither classifies the triangle nor calculates its area, incenter, orthocenter or circumcenter.

How to Interpret the Centroid Coordinates

Read Gₓ as the centroid’s horizontal position and Gᵧ as its vertical position relative to your chosen origin. The coordinates have the same axis units as the inputs. If both axes use centimetres, the result locates the point in that centimetre coordinate system; the values are not an area or a distance from a vertex.

For three distinct, noncollinear vertices, the centroid lies inside the triangle. Math Open Reference explains that it divides each median in a 2:1 ratio, with the longer segment nearest the vertex. That ratio applies along the median, not along a side.

For a uniform triangular sheet, the area centroid also represents its balance point. Uneven thickness, different material densities or separate unequal vertex masses need a mass model beyond this form. Do not treat this coordinate average as a structural design check.

Common Centroid Calculation Mistakes

  • Swapping x and y for only one point. Enter every point in the same ordered-pair convention.
  • Dropping a minus sign when a vertex is left of or below the origin.
  • Dividing by two as if finding a midpoint. A triangle uses three vertex positions.
  • Entering side lengths instead of coordinates. The form requires six coordinate values.
  • Assuming the centroid must be halfway down every median. It is two-thirds of the way from the vertex.
  • Treating a collinear or repeated-point result as proof of a valid triangle. This calculator does not reject those configurations.

Triangle Centroid Questions

How do I find the centroid from three coordinates?

Average the three x coordinates and separately average the three y coordinates. Combine those two means as (Gₓ, Gᵧ). Each vertex has equal weight in this calculator.

Does the order of the vertices matter?

No, if you move complete coordinate pairs together. Addition gives the same two sums regardless of the order of A, B and C. Swapping individual coordinates can change the points themselves.

Can the coordinates be negative or decimal numbers?

Yes. A negative sign locates a coordinate relative to the origin; it does not make a triangle invalid. Decimal entries are also accepted, and the results are rounded to four decimal places.

Does the centroid always lie inside the triangle?

Yes for a nondegenerate triangle. If the three points lie on a line or repeat, they do not enclose a triangular area. The form still returns their coordinate mean.

Why does the centroid divide a median in a 2:1 ratio?

Let M be the midpoint of the opposite side. Substituting M = (B + C) ÷ 2 into A + ⅔(M − A) gives (A + B + C) ÷ 3. Thus the centroid is twice as far from the vertex as from M.

Is the centroid the same as the circumcenter?

Not generally. The centroid averages vertex coordinates. A circumcenter is equidistant from the vertices and comes from perpendicular bisectors. This calculator does not find the circumcenter.

Can I find a triangle’s centroid from side lengths alone?

This form cannot use side lengths directly. It needs x and y coordinates for all three vertices. Set up a coordinate model first if you know only lengths.

Can I use the same formula for any polygon?

Not generally for an area centroid. Averaging vertices works for a triangle, but an arbitrary polygon’s area centroid needs a different calculation. This form accepts exactly three points.

Sources and References