Centroid of a Triangle Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Enter the coordinates of the three vertices to get the centroid G, where the three medians meet.
Result
Centroid x = (x₁ + x₂ + x₃) ÷ 3
Centroid y = (y₁ + y₂ + y₃) ÷ 3
- Median from point 1 to the midpoint of the opposite side
- Distance from point 1 to the centroid (⅔ of the median)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Point 1: x₁: enter a number.
- Point 1: y₁: enter a number.
- Point 2: x₂: enter a number.
- Point 2: y₂: enter a number.
- Point 3: x₃: enter a number.
- Point 3: y₃: enter a number.
- Read the result: Centroid x = (x₁ + x₂ + x₃) ÷ 3; the panel also shows Centroid y = (y₁ + y₂ + y₃) ÷ 3, Median from point 1 to the midpoint of the opposite side and Distance from point 1 to the centroid (⅔ of the median).
How this calculator works
The centroid is G = ((x₁ + x₂ + x₃) ÷ 3, (y₁ + y₂ + y₃) ÷ 3), the average of the vertices. It is where the three medians meet (a median joins a vertex to the midpoint of the opposite side).
The centroid divides each median in the ratio 2 : 1, two thirds of the way from the vertex. For a flat triangle of uniform thickness, it is also the balance point.
The formula
| Symbol | Meaning |
|---|---|
| Point 1: x₁ | |
| Point 2: x₂ | |
| Point 3: x₃ | |
| Centroid x = (x₁ + x₂ + x₃) ÷ 3 |
Worked example
| Point 1: x₁ | 0 |
|---|---|
| Point 1: y₁ | 0 |
| Point 2: x₂ | 6 |
| Point 2: y₂ | 0 |
| Point 3: x₃ | 3 |
| Point 3: y₃ | 9 |
| Centroid y = (y₁ + y₂ + y₃) ÷ 3 | 3 |
|---|---|
| Median from point 1 to the midpoint of the opposite side | 6.364 |
| Distance from point 1 to the centroid (⅔ of the median) | 4.2426 |
Centroid x = (x₁ + x₂ + x₃) ÷ 3 3
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
What is the centroid of (0, 0), (6, 0) and (3, 9)?
(3, 3).
Is the centroid always inside the triangle?
Yes, unlike the circumcenter, which lies outside an obtuse triangle.