Triangle Solver: SSS, SAS, ASA, AAS and the Ambiguous SSA Case

Solves a triangle from any three known values (at least one side), using the laws of sines and cosines, and draws it to scale.

Use the tool

Why this tool exists

A triangle is fixed by three values, but which three decides the method. Three sides use the law of cosines. Two angles and a side use the sum of angles and the law of sines. Two sides and the angle between them use the law of cosines first.

Two sides and an angle not between them (SSA) can have no solution, one, or two. When two triangles fit, both are shown and drawn. The method was tested against hundreds of random triangles, each given in seven different ways. Sides are called a, b, c and the angle opposite each is A, B, C, in degrees.

How to use it

  1. Type three known values such as a=7 b=10 A=30.
  2. Use lower case for sides and capitals for angles.
  3. Read the solution, area, perimeter and radii.
  4. If two triangles are shown, both match your data.

Frequently asked questions

Why are there two answers?

With two sides and a non-included acute angle the third side can lie on either side of the height.

Can I give three angles?

No. Angles alone give the shape but not the size.

What units?

Sides in any unit, angles in degrees.

Why is there no solution?

The side opposite the angle may be too short to reach the other side.