§1The law of sines
In any triangle, the ratio of a side to the sine of the angle opposite it is the same for all three sides:
a / sin A = b / sin B = c / sin C
Here a is the side opposite angle A, b is opposite B and c is opposite C. If you know one complete pair, a side and its opposite angle, plus one more side or angle, you can find everything else. The angles also add up to 180°, which gives the third angle for free when two are known.
§2When to use it
- AAS: two angles and a side that is not between them. Find the third angle, then use the ratio.
- ASA: two angles and the side between them. The third angle is opposite the known side, so that gives the complete pair.
- SSA: two sides and an angle opposite one of them. This is the ambiguous case below.
If you know three sides (SSS) or two sides and the angle between them (SAS), there is no complete pair yet. Use the law of cosines calculator instead.
§3The ambiguous case (SSA)
Suppose you know angle A, its opposite side a and another side b. Draw angle A with side b along one of its rays; that fixes the vertex C. Side a now has to reach from C to the other ray, and it can swing like a compass. Whether it reaches depends on the height from C to that ray, h = b · sin A.
| Condition | Triangles | Why |
|---|---|---|
| a < h | 0 | a is too short to reach the base |
| a = h | 1 | a touches the base at a right angle |
| h < a < b | 2 | a meets the base at two points |
| a ≥ b | 1 | the second point falls behind vertex A |
If A is right or obtuse, side a must be the longest side: there is one triangle when a > b and none when a ≤ b. The dashed arc in the diagram is side a swinging around C; each point where it meets the base is a possible vertex B.
§4Worked example with two triangles
A = 30°, a = 6, b = 10. h = 10 · sin 30° = 5, and 5 < 6 < 10 → two triangles
sin B = b · sin A / a = 10 · 0.5 / 6 ≈ 0.8333 → B₁ ≈ 56.44°
B₂ = 180° − 56.44° = 123.56° (allowed, because 30° + 123.56° < 180°)
C₁ ≈ 93.56°, c₁ ≈ 11.977 · C₂ ≈ 26.44°, c₂ ≈ 5.344
Your calculator’s arcsin only returns the acute angle B₁. The obtuse angle 180° − B₁ has the same sine, so you always have to check it yourself.
§5Area and the circumradius
Once the triangle is solved, its area is ½ · a · b · sin C (any two sides and the angle between them work). The common ratio has a meaning too: a / sin A equals 2R, the diameter of the circle that passes through all three vertices.
§6Common mistakes
- Missing the second triangle in SSA. Always test 180° − B₁.
- Pairing a side with the wrong angle. Each side goes with the angle opposite it, never an adjacent one.
- Calculator in radian mode: sin 30 in radians is about −0.988, not 0.5.
- Rounding too early. Keep full precision until the last step; this calculator rounds only what it shows.
§7FAQ
Why can SSA give two triangles?
Because sin B = sin(180° − B). An acute angle and its supplement have the same sine, so the law of sines alone cannot choose between them; both work when the angles still add up to less than 180°.
Can the law of sines solve a triangle from three sides?
No. With three sides you have no angle, so there is no complete pair. Start with the law of cosines.
Does it work for right triangles?
Yes. With C = 90°, sin C = 1, and the ratios become the usual sine definitions, such as sin A = a / c.
Which units does the calculator use?
Angles in degrees and sides in any unit, as long as all sides use the same one. Results are rounded to two decimals for angles and three for sides.