Triangle Calculator

Enter the three side lengths. You get the area by Heron's formula, the angles by the law of cosines, and the triangle's type.

How it works

  1. Check it is a triangle

    Each side must be shorter than the other two added together.

  2. Area

    Heron's formula: with s as half the perimeter, the area is √(s(s − a)(s − b)(s − c)).

  3. Angles

    The law of cosines gives each angle from the three sides: cos A = (b² + c² − a²) / 2bc.

Common questions

Why does it say my sides don't make a triangle?

If one side is as long as or longer than the other two combined, the sides can't meet to close the shape.

How is the type decided?

By sides: equilateral, isosceles or scalene. By angles: acute, right or obtuse, from the largest angle.

More free calculators