Formulas
Law of cosines: cos A = (b² + c² − a²) ÷ 2bc
Heron's formula: Area = √(s(s − a)(s − b)(s − c)), where s = (a + b + c) ÷ 2
The angles of any triangle add up to 180°.
Example
A triangle with sides 5, 6 and 7 has s = 9, so its area is √(9 × 4 × 3 × 2) = √216 = 14.70. Its angles are 44.42°, 57.12° and 78.46°, so it's a scalene, acute triangle.
Tips
- For right triangles with two known sides, the Pythagorean theorem calculator is quicker.
- For other shapes, try the area calculator.
Frequently asked questions
Can any three lengths make a triangle?
No. Each pair of sides must add up to more than the third side (the triangle inequality).
How do I tell if a triangle is right-angled?
If a² + b² = c² for the longest side c, it has a right angle.
What is an isosceles triangle?
A triangle with at least two equal sides (and two equal angles).
Written and checked by Vijay. Last updated .