Triangle Side and Angle Calculator

Solve SSS, SAS, ASA, AAS and SSA triangles. Compare possible shapes at the same scale and get all sides, angles, area and perimeter.

On this page
  1. How to use the calculator
  2. Formula and assumptions
  3. Worked example
  4. How to interpret the result
  5. References
  6. More calculations for this task
  7. Frequently asked questions

Enter three measurements, including at least one side, to solve a plane triangle. Every result includes the three sides, the three angles, perimeter and area. In the ambiguous SSA case you can compare both triangles at the same scale.

How to use the calculator

Use SSS for three sides, SAS for sides a and b and their included angle C, ASA for A and B with their included side c, AAS for A and B with side a, or SSA for sides a and b with angle A. The letters a, b and c are opposite A, B and C. Use a single unit for all lengths.

Formula and assumptions

Use the law of cosines for SSS or SAS and the law of sines for angle-side relations. In SSA, compute sin(B) = b × sin(A) ÷ a. When it is at most 1, test B and its supplement; keep candidates with a positive remaining angle C. Area is ½ab sin(C), and perimeter is a + b + c.

Worked example

Sides 3, 4 and 5 enclose an area of 6 square units and a perimeter of 12 units. In SSA with A = 30°, a = 8 and b = 10, B is about 38.682° or 141.318°. Keeping A and b fixed, change a to 5 for one solution or 4 for none.

How to interpret the result

The calculator solves Euclidean triangles with positive side lengths and angles, allowing for floating-point rounding near degenerate cases. Three angles alone fix the shape but leave the scale unknown. Select one length unit as a label for every side.

References

Frequently asked questions

When can SSA produce two triangles?

Two triangles are possible when both B and 180° − B satisfy the sine rule and leave a positive angle C. The table shows the angle candidates and the diagram shows them at one scale.

What if my sides are 1, 2 and 3?

Their two shorter sides sum to the longest. They collapse to a line, so the calculator rejects them as a triangle.