Free Online Tools

Geometry calculators

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

  1. Pick what you know: Three sides (SSS) or Two sides and the included angle (SAS).
  2. Enter the sides and angle shown.
  3. Press “Solve triangle” to see the missing sides, all three angles, area and perimeter.

Frequently asked 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.