Skip to content
MasterMath

Triangle Centroid Calculator

The centroid and the incentre of a triangle from the coordinates of its three vertices, plus its area and perimeter.

Centroid

—

Centroid—
Incentre—
Area—
Perimeter—
Length of the sides—

How this was worked out

    The formula

    centroid = ((x₁+x₂+x₃)/3, (y₁+y₂+y₃)/3)

    Where it comes from

    The centroid is the plain average of the three vertices, and it is where the triangle balances. The incentre is the same idea weighted by the side lengths, and it is the centre of the circle that fits inside touching all three sides.

    How to work it out by hand

    1. Centroid: average the three x values and the three y values
    2. Work out the three side lengths from the coordinates
    3. Incentre: average the vertices weighted by the length of the opposite side
    4. Area from the shoelace formula on the coordinates

    What is worth knowing

    A triangle has four classical centres and they are all different in general: centroid, incentre, circumcentre and orthocentre. Three of them — everything except the incentre — always lie on a single straight line, the Euler line, which Euler proved in 1765 and which is still surprising. The centroid divides each median in a 2:1 ratio, closer to the side than the vertex, and it is the only one of the four that is guaranteed to be inside the triangle along with the incentre. Physically it is the centre of mass of a uniform triangular plate, which is what 'balances' means here.

    Frequently asked questions

    What is the centroid?

    The average of the three vertices, and the point where a uniform triangular plate balances. It is where the three medians meet.

    How is the incentre different?

    It is weighted by the side lengths, and it is the centre of the circle inscribed in the triangle.

    Is the centroid always inside the triangle?

    Yes, as is the incentre. The circumcentre and orthocentre can fall outside.

    What is the Euler line?

    The straight line containing the centroid, the circumcentre and the orthocentre of any triangle.