Law of Sines Formula
The law of sines states that in any triangle, the ratio of a side's length to the sine of its opposite angle remains constant across all three side-angle pairs. This relationship also equals the diameter of the circumcircle (the circle passing through all three vertices).
a / sin(α) = b / sin(β) = c / sin(γ)
a, b, c— The three sides of the triangleα, β, γ— The angles opposite to sides a, b, and c respectively
When and How to Use the Law of Sines
Apply the law of sines when your triangle fits one of these scenarios:
- AAS (Angle-Angle-Side): You know two angles and one side. Calculate the remaining two sides directly.
- ASA (Angle-Side-Angle): You know two angles and the side between them. Find the other sides.
- SSA (Side-Side-Angle): You know two sides and an angle opposite one of them. This case can yield zero, one, or two valid triangles (the ambiguous case).
To find a missing side, rearrange the formula: a = b × sin(α) / sin(β). To find a missing angle, use the inverse sine: α = arcsin(a × sin(β) / b).
Unlike the law of cosines (which requires three sides or two sides and the included angle), the sine rule is simpler when you already know angles. It avoids squaring terms and works elegantly with angle-heavy problems.
The Ambiguous Case (SSA)
When you know two sides and an angle opposite one of them (SSA), the triangle may not be unique. This ambiguity arises only under specific conditions:
- The known angle is acute (less than 90°)
- The side opposite the known angle is shorter than the other known side
- The side opposite the known angle is longer than the altitude from the opposite vertex
In these situations, two different triangles can satisfy the given measurements. The law of sines calculator checks for this by computing whether a second solution exists. If both solutions are geometrically valid, both will be displayed. Understanding this subtlety prevents accepting a single answer when multiple configurations are possible.
Law of Sines vs. Law of Cosines
Choosing between these two foundational rules depends on what information you possess:
- Law of Sines: Use when you have two angles and one side, or two sides and an angle opposite one of them. Faster computation, fewer arithmetic steps.
- Law of Cosines: Use when you have all three sides (SSS), or two sides and the angle between them (SAS). Essential when angles are sparse but side measurements are complete.
A simple decision rule: if your known angle is opposite a known side, reach for the sine rule. If your angle sits between two known sides, use the cosine rule.
Common Pitfalls and Considerations
Avoid these frequent errors when applying the law of sines:
- Angle-Side Correspondence — Always verify that each angle matches its opposite side. In a triangle labeled with vertices A, B, C, angle A is opposite side a. Swapping these destroys the calculation. Double-check your diagram before entering values.
- Degree vs. Radian Mode — Ensure your calculator is set to the correct angle unit. Most scientific calculators default to degrees, but programming environments use radians. One radian ≈ 57.3°—mixing units creates wildly incorrect results.
- The Ambiguous Case Trap — In SSA scenarios, don't assume uniqueness. If the known side opposite the given angle is shorter than the other known side, calculate both possible angles and triangle configurations. Ignoring the second solution can lead to missing valid answers.
- Insufficient Information — The law of sines requires at least one complete angle-side pair where the angle and its opposite side are both known. If you lack this pairing—for instance, knowing only three sides or two sides with the included (not opposite) angle—switch to the law of cosines instead.