Triangle Calculator (SSS, SAS, ASA, AAS, SSA)
Solve any triangle from any three elements. Law of Sines, Law of Cosines, and the ambiguous SSA case.
MATHSolve any triangle from any three known elements using Law of Sines and Law of Cosines. Supports SSS (three sides), SAS (two sides and the included angle), ASA (two angles and the side between them), AAS (two angles and a non-included side), and the ambiguous SSA case (two sides and a non-included angle - can have 0, 1, or 2 valid solutions).
Law of Sines: a/sin(A) = b/sin(B) = c/sin(C). Law of Cosines: c² = a² + b² - 2ab·cos(C). SSS and SAS resolve uniquely. ASA and AAS resolve once you find the third angle from A+B+C = 180°. SSA is the ambiguous case - it returns two solutions when sin(B) = b·sin(A)/a allows both an acute B and its supplement 180-B to satisfy the constraints. Output includes all six elements, area (½·a·b·sin(C)), perimeter, and triangle type (equilateral, isosceles, right, acute, obtuse, scalene).