Skip to content

Triangle Calculator

Solve any triangle from three known values: sides, angles, area and more.

How the triangle is solved

Missing sides and angles are found with the law of cosines, c² = a² + b² − 2ab cos C, and the law of sines, a ÷ sin A = b ÷ sin B. Angle A is opposite side a, B is opposite b, and C is opposite c.

The area comes from Heron’s formula: with s as half the perimeter, area = √(s(s − a)(s − b)(s − c)). The calculator also reports each height, and the radius of the inscribed and circumscribed circles.

Worked example

A triangle with sides 3, 4 and 5 is a right triangle with angles of 36.87°, 53.13° and 90°, an area of 6 and a perimeter of 12.

Common questions

How do you find the area of a triangle from three sides?

Use Heron's formula. With s as half the perimeter, the area is the square root of s × (s − a) × (s − b) × (s − c).

How do you find a missing side?

With two sides and the angle between them, use the law of cosines: c² = a² + b² − 2ab × cos C.

When can three lengths not form a triangle?

When one length is equal to or longer than the other two added together. Sides of 1, 2 and 5 cannot form a triangle.

Last updated