Skip to content
MasterMath

Triangle Height Calculator

All three heights of a triangle from its three sides, by way of Heron's formula. Each height times its own base, halved, gives the same area.

Height on side a

—

Height on side a—
Height on side b—
Height on side c—
Area of the triangle—
Semi-perimeter—

How this was worked out

    The formula

    h = 2 × area ÷ base, with the area from Heron's formula

    Where it comes from

    A triangle has three heights, one to each side, and they are generally all different. Since the area can be computed from any base-height pair, knowing the area from the sides gives you every height at once.

    How to work it out by hand

    1. Work out the semi-perimeter: the three sides added and halved
    2. Apply Heron's formula for the area
    3. Each height is twice the area divided by its own base
    4. Check: every base-height pair should give the same area

    What is worth knowing

    Heron's formula is remarkable for needing no angles at all — three lengths are enough for the area, which is not obvious and was not easy to prove. The three heights meet at a single point called the orthocentre, which unlike the centroid can fall outside the triangle entirely when one angle is obtuse. The heights are also inversely proportional to their bases, which follows immediately from the area being fixed: the longest side always has the shortest height.

    Frequently asked questions

    How many heights does a triangle have?

    Three, one perpendicular to each side. They are usually all different lengths.

    What is Heron's formula?

    A way to find the area from the three sides alone: √(s(s−a)(s−b)(s−c)), where s is the semi-perimeter.

    Can a height fall outside the triangle?

    Yes, when the triangle is obtuse. The perpendicular then meets the extension of the side rather than the side itself.

    Why is the longest side's height the shortest?

    Because the area is fixed and equals base times height over two. A longer base forces a shorter height.