How do you calculate the area of a triangle?
Base and height: area = ½ × base × height Three sides: area = √(s(s − a)(s − b)(s − c)), s = (a + b + c) ÷ 2 (Heron) Two sides + angle: area = ½ × a × b × sin(C)Example (3, 4, 5): s = 6, area = √(6 × 3 × 2 × 1) = 6. For the sides 6 and 8 with a 60° angle between them: area = ½ × 6 × 8 × sin 60° = 20.78, and the third side is 7.211.
How do you find the angles and sides of a triangle?
Two laws solve every case. The law of cosines handles SSS and SAS, and the law of sines handles ASA.
Law of cosines: c² = a² + b² − 2ab × cos(C) Law of sines: a ÷ sin(A) = b ÷ sin(B) = c ÷ sin(C) Angles always add to 180°ASA example: angles 50° and 60° with the side c = 10 between them. The third angle is 70°. Then a = 10 × sin 50° ÷ sin 70° = 8.15 and b = 9.22.
Types of triangle
- Equilateral: three equal sides and three 60° angles.
- Isosceles: two equal sides and two equal angles.
- Scalene: all sides different.
- Right: one 90° angle. The side opposite it is the hypotenuse. See the Pythagorean theorem calculator.
- Acute / obtuse: all angles below 90°, or one above 90°.
The triangle inequality says the two shorter sides must add up to more than the longest side. Otherwise no triangle exists, and the calculator will tell you so. Here the 3-4-5 triangle is scalene, right.
Complete guide to the Triangle Calculator
How to use the Triangle Calculator, step by step
- Choose what you know: SSS, SAS or ASA.
- Enter the sides and angles.
- Read the missing sides, angles, area and perimeter.
- Check the triangle type: equilateral, isosceles or scalene, and acute, right or obtuse.
Common mistakes to avoid
- Entering an angle that is not between the two given sides in SAS.
- Using degrees where radians are expected, or the reverse.
- Giving three sides that cannot form a triangle.
Key terms explained
- Heron’s formula
- Area from the three side lengths.
- Law of cosines
- Relates three sides and one angle.
- Law of sines
- Relates sides to the sines of opposite angles.
- Semi-perimeter
- Half the perimeter.
Want the full walkthrough? Read our guide: How to Find the Area of a Triangle: 3 Methods.
Frequently asked questions
How do I find the area of a triangle with three sides?
Use Heron's formula: with s = (a + b + c) ÷ 2, area = √(s(s − a)(s − b)(s − c)). Enter the three sides and choose SSS.
How do I find the angles of a triangle from its sides?
Use the law of cosines: A = arccos((b² + c² − a²) ÷ 2bc), and likewise for the other angles. The calculator shows all three.
How do I know if three lengths can form a triangle?
The sum of any two sides must be greater than the third. 3, 4 and 5 work. 1, 2 and 5 do not.
What is the perimeter of a triangle?
It is the sum of the three sides: perimeter = a + b + c.
How do I solve a right triangle?
Use the Pythagorean theorem, a² + b² = c², when you know two sides. Our Pythagorean theorem calculator gives the missing side, angles and area.