Skip to content
FiftyCalc Free calculators for all 50 states

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

Sample figures

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.

Centroid of a Triangle Calculator

Point 1: x₁: enter a number. Prefilled example: 0.

Point 1: y₁: enter a number. Prefilled example: 0.

Point 2: x₂: enter a number. Prefilled example: 6.

Point 2: y₂: enter a number. Prefilled example: 0.

Point 3: x₃: enter a number. Prefilled example: 3.

Point 3: y₃: enter a number. Prefilled example: 9.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Point 1: x₁: enter a number.
  2. Point 1: y₁: enter a number.
  3. Point 2: x₂: enter a number.
  4. Point 2: y₂: enter a number.
  5. Point 3: x₃: enter a number.
  6. Point 3: y₃: enter a number.
  7. 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

  1. Gx=x1+x2+x33
Symbols used in the formula
SymbolMeaning
x1Point 1: x₁
x2Point 2: x₂
x3Point 3: x₃
GxCentroid 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₃) ÷ 33
Median from point 1 to the midpoint of the opposite side6.364
Distance from point 1 to the centroid (⅔ of the median)4.2426
  1. Gx=0+6+33=3

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.

Questions answered

Related calculators