Triangle Solver: SSS, SAS, ASA & SSA

Solve a triangle from three sides, two sides and an included angle, two angles and a side, or SSA with ambiguous-case results.

Enter your values

Calculations run on your device; inputs are not sent to our server.

Enter all three sides.

Core result

Choose the measurement set

Use SSS for three known sides, SAS for two sides and their included angle, ASA/AAS for two angles and a known opposite side, or SSA for two sides and a non-included angle. Standard labels pair side a opposite angle A, and so on.

Formulas and units

The Law of Sines is a/sin A = b/sin B = c/sin C. The Law of Cosines gives a² = b² + c² − 2bc cos A. After solving the sides, Heron’s formula gives area = √(s(s−a)(s−b)(s−c)), where s is half the perimeter. Length and angle units convert without changing the physical triangle.

Four independent checks

SSS 3-4-5 gives angles 36.8699°, 53.1301°, 90°, area 6 and perimeter 12. SAS b=5, c=7, A=60° gives a=√39=6.2450 and area 15.1554. ASA a=10, A=30°, B=60° gives C=90°, b=17.3205, c=20 and area 86.6025. SSA a=10, b=12, A=30° produces two valid layouts; both are shown instead of silently choosing one.

Input mistakes, interpretation and limits

A zero or negative side, three sides that fail the triangle inequality, or angles totalling 180° or more are rejected. SSA may have zero, one or two solutions. Results describe ideal planar geometry and exclude measurement uncertainty, material thickness, survey closure, structural loads and construction tolerances.

Sources and calculation scope

OpenStax documents the Laws of Sines and Cosines and Heron’s formula and the ambiguous SSA case.

Unexpected result? Tell us the inputs and what you expected.