Centroid Calculator

Calculate the geometric center of a triangle from three vertex coordinates.

Calculate a Triangle Centroid
Enter the x and y coordinates of all three vertices.

About the Centroid Calculator

The centroid of a triangle is its geometric center, the single point where the three medians intersect. A median connects one vertex to the midpoint of the opposite side. Every triangle has exactly one centroid, and that point always lies inside the triangle. This calculator finds its Cartesian coordinates from the x and y coordinates of the triangle's three vertices. For vertices (x1, y1), (x2, y2), and (x3, y3), the centroid coordinates are the arithmetic means of the corresponding coordinates. Add the three x values and divide by three to obtain the centroid's x coordinate. Add the three y values and divide by three to obtain its y coordinate. This simple average works for acute, right, obtuse, scalene, isosceles, and equilateral triangles. The centroid is also called the barycenter or center of area for a uniform triangular lamina. If a flat triangular sheet has constant density and thickness, it balances at the centroid. The point divides every median in a two-to-one ratio: the segment from a vertex to the centroid is twice as long as the segment from the centroid to the opposite side's midpoint. That property makes the centroid useful in geometric constructions and proofs. Coordinate centroids appear in computer graphics, engineering, architecture, surveying, mechanics, and geographic analysis. Designers use them to position labels, rotations, and supports. Engineers use them when beginning center-of-mass and moment calculations. In a physical application, remember that the coordinate average represents center of mass only when density is uniform. Unequal point masses require a weighted average instead. Coordinates may be positive, negative, zero, whole numbers, or decimals, but all six values must use the same coordinate system and scale. Enter vertices in any order because averaging produces the same centroid regardless of ordering. If all three points lie on one line, the arithmetic mean is still defined, although the points describe a degenerate triangle with zero area. Results are rounded only for display, preserving useful precision for practical calculations.

Centroid Examples

Average the three x coordinates and the three y coordinates separately.

Triangle VerticesCentroidExplanation
(0, 0), (6, 0), (0, 3)(2, 1)The coordinate sums are 6 and 3, then each is divided by three.
(-2, 1), (4, 7), (7, -2)(3, 2)Negative and positive coordinates are averaged in the same way.
(1, 1), (4, 7), (7, 1)(4, 3)The centroid lies on the symmetry axis of this isosceles triangle.

How to Calculate a Centroid

  1. Read the x and y coordinates of the triangle's first vertex.
  2. Enter the corresponding coordinates for the second and third vertices.
  3. Check that every coordinate uses the same scale and coordinate system.
  4. Select Calculate Centroid to average the coordinates.

Centroid FAQ

What is the centroid formula for a triangle?

Average the three x coordinates to find the new x value, then average the three y coordinates to find the new y value. The resulting ordered pair is the centroid.

Is the centroid always inside a triangle?

Yes, the centroid of every nondegenerate triangle lies inside it. This remains true for acute, right, and obtuse triangles.

Is a centroid the same as a center of mass?

They coincide for a flat triangle with uniform density and thickness. If density varies, the physical center of mass requires weighted calculations.

Does vertex order affect the answer?

No, addition is independent of vertex order. Any ordering of the same three points produces the same coordinate averages.

Can coordinates be negative or decimal values?

Yes, Cartesian coordinates may be negative, positive, zero, or decimal. The calculator applies the same averaging formula to all valid values.