The law of sines holds for any triangle (not just right triangles):
where are the side lengths opposite to angles , and is the circumradius.
Use cases:
- AAS or ASA: given two angles and one side, find the other sides.
- SSA (ambiguous case): given two sides and a non-included angle. May yield zero, one, or two valid triangles — always check.
The law of cosines is the companion theorem for SSS and SAS cases. Together they fully solve any triangle: given any three independent pieces of information, you can find all six (3 sides + 3 angles).
Proof: drop an altitude from one vertex; it has length measured one way and measured the other way. Equate to get .