
\[\begin{aligned}
x &= \frac{x_1+x_2+x_3}{3} \\
y &= \frac{y_1+y_2+y_3}{3}
\end{aligned}\]
Variables
xcentroid x-coordinate
ycentroid y-coordinate
x1x-coordinate of vertex 1
y1y-coordinate of vertex 1
x2x-coordinate of vertex 2
y2y-coordinate of vertex 2
x3x-coordinate of vertex 3
y3y-coordinate of vertex 3
Description
What is this formula?
The triangle centroid formula calculates the coordinates of the centroid of a triangle. The centroid is the intersection point of the three medians and represents the geometric center of the triangle.
When to use it
Use this formula when the coordinates of the three triangle vertices are known and the center point of the triangle must be determined.
Example
For a triangle with vertices:
A(1,2)
B(5,2)
C(3,8)
The centroid coordinates are:
x = (1+5+3)/3 = 3
y = (2+2+8)/3 = 4
Therefore:
G = (3,4)
Applications
Used in geometry, physics, engineering, computer graphics, structural analysis, and finite element modeling.
