Solve a triangle

How to use it

  1. Enter any three values: sides a, b, c and angles A, B, C in degrees. Side a is opposite angle A, and so on.
  2. Include at least one side; three angles alone fix a triangle’s shape but not its size.
  3. The missing sides and angles, the area and perimeter, the working and a diagram appear as you type. Values that were worked out are drawn in orange.

Which rule it uses

You knowNameRule
Three sidesSSSLaw of cosines for each angle
Two sides and the angle between themSASLaw of cosines for the third side
Two angles and any sideASA, AASAngles add to 180°, then the law of sines
Two sides and an angle not between themSSALaw of sines; can fit two triangles, one or none

Law of sines: a ÷ sin A = b ÷ sin B = c ÷ sin C. Law of cosines: c² = a² + b² − 2ab cos C.

Examples to try

3, 4, 5 a 5, b 7, C 40° a 5, A 40°, B 60° Two triangles: a 7, b 10, A 30°

Questions and answers

How many values do I need to solve a triangle?

Three, and at least one must be a side. Three angles only fix the shape, not the size.

What is the ambiguous case (SSA)?

When you know two sides and an angle that isn’t between them, the other side can swing to two positions, so two different triangles can fit. The solver shows both, or tells you when none fits.

Are the angles in degrees?

Yes. Enter angles in degrees; the answers are in degrees too.

How is the area worked out?

From two sides and the angle between them: area = ½ab sin C.

What if my values can’t make a triangle?

It says why: the two shorter sides must add up to more than the longest, and the angles must add up to less than 180°.