## Centroid Calculator :

Enter the centroid calculator calculates the Point1 in (x1,y1), point2 in (x2,y2), point3 in (x3,y3), and you get the calculation below the calculator you check it.

## Centroid Formula :

Denoted of the triangle in C ½ (b × h) is equal to product of x coordinates of the vertices of a triangle (x_{1}+x_{2}+x_{3})/3 and multiply by

y coordinates of the vertices of a triangle (y_{1}+y_{2}+y_{3})/3).Hence the centroid formula has been written as,

**C _{½ (b × h)}= ((x_{1}+x_{2}+x_{3})/3, (y_{1}+y_{2}+y_{3})/3)**

Where,

C denoted of the triangle in ½ (b × h)

x_{1}, x_{2}, x_{3} → x coordinates of the vertices of a triangle.

y_{1}, y_{2}, y_{3}→ y coordinates of the vertices of a triangle.

## Sample Examples :

### Example 1:

Calculate the centroid of a triangle whose vertices are (4,2), (5,1) and (6,7).

### Solution :

Given parameters are,

(x_{1}, y_{1}) = (4,2)

(x_{2}, y_{2}) = (5,1)

(x_{3}, y_{3}) = (6,7)

The centroid formula is given by

C = [(x_{1} + x_{2} + x_{3})/ 3, (y_{1} + y_{2} + y_{3})/ 3)

C = [(4 + 5 + 6) / 3, (2 + 1 + 7) /3]

C = (15 / 3, 10 / 3)

C = (5, 3.3).

### Example 2:

Calculate the centroid of a triangle whose vertices are (8,0), (1,9) and (2,5)

### Solution :

Given parameters are

(x_{1}, y_{1}) = (8, 0)

(x_{2}, y_{2}) = (1, 9)

(x_{3}, y_{3}) = (2, 5)

The centroid formula is given by,

C = [(x_{1} + x_{2} + x_{3})/ 3, (y_{1} + y_{2} + y_{3})/ 3]

C = [(8 + 1 + 2) / 3, (0 + 9 + 5) / 3]

C = (11 / 3, 14 / 3)

C = (3.6, 4.6).