Triangle Solver
Solve any triangle from three sides or two sides with the included angle — all angles, area and perimeter shown.
Formulas: cosine rule c² = a² + b² − 2ab·cos C; sine rule a ÷ sin A = b ÷ sin B = c ÷ sin C; area = ½ab·sin C; angles always add to 180°.
How to use the triangle
- Pick what you know: Three sides (SSS) or Two sides and the included angle (SAS).
- Enter the sides and angle shown.
- Press “Solve triangle” to see the missing sides, all three angles, area and perimeter.
Triangle example
Sides 3, 4 and 5: angle C = cos−1((9 + 16 − 25) ÷ 24) = 90°, so it is a right triangle. The other angles are about 36.87° and 53.13°, the area is 6 and the perimeter 12.
Tips for using the triangle
- Three angles alone cannot fix a triangle's size; you need at least one side.
- SSA (two sides and a non-included angle) can have two solutions — the "ambiguous case".
- Any two sides must add up to more than the third.
Triangle: common questions
- What do SSS and SAS mean?
- SSS means you know all three side lengths. SAS means you know two sides and the angle between them. Either set fully determines the triangle.
- How are the angles worked out?
- From the cosine rule: cos A = (b² + c² − a²) ÷ 2bc, and the same for the other angles. The three angles always add to 180°.
- What if my sides cannot make a triangle?
- The longest side must be shorter than the sum of the other two (the triangle inequality). If it is not, the tool says so instead of giving angles.
- Is my input stored?
- No. The calculation runs in your browser.
- How do I find the area with three sides only?
- Heron's formula: s = (a + b + c) ÷ 2, area = √(s(s − a)(s − b)(s − c)). For 3, 4, 5: s = 6, area = √(6 × 3 × 2 × 1) = 6.