Triangle Solver
Solve any triangle from sides and angles with visual diagrams
About this calculator
Solve any triangle given sides and/or angles using the law of sines and cosines. See the triangle drawn to scale with all sides, angles, area, and perimeter calculated and labeled.
How to solve a triangle
- Choose the input combination that matches what you know (SSS, SAS, ASA, AAS, or SSA).
- Enter the sides in fields a, b, c and angles in fields alpha, beta, gamma.
- Read the missing sides and angles, plus area and perimeter, in the results section.
- Check the proportional diagram to verify the triangle looks right.
Common examples
- Sides 3-4-5: right triangle, area = 6
- Sides 5-5-5: equilateral, angles = 60° each
- Side 10, angles 45°-90°-45°
- Sides 7-8-9: scalene triangle
- Sides 6-6-8: isosceles triangle
Frequently asked questions
What input combinations can solve a triangle?
Any of SSS (three sides), SAS (two sides and the included angle), ASA (two angles and the included side), AAS (two angles and a non-included side), or SSA (two sides and an angle opposite one of them). At least one side is required because angles alone do not fix the size.
What is the SSA ambiguous case?
When you specify two sides and an angle opposite one of them, there can be zero, one, or two valid triangles. The calculator shows both solutions side by side whenever both are valid, rather than guessing which one you meant.
Which formulas are used?
The Law of Sines (a/sin A = b/sin B = c/sin C) and the Law of Cosines (c² = a² + b² − 2ab cos C) cover every supported case. Sides are labeled a, b, c and the angle opposite each side is α (alpha), β (beta), γ (gamma).
What if the inputs do not form a real triangle?
If the side lengths violate the triangle inequality or the angles do not sum to 180°, the calculator shows a clear invalid-triangle message instead of an arbitrary numeric result.