In any triangle each side is proportional to the sine of the opposite angle, and the common ratio is the diameter of the circumscribed circle. Triangulation (measuring a distance from a baseline and two angles) rests on this law.
How to use the Law of Sines Calculator
- What do you know?
- Side a
- Angle α (opposite a)
- Angle β (opposite b)
- Side b
Results update as you type, and everything is calculated in your browser.
How it works
With two angles, the third is 180° minus their sum and the sides follow from the ratio. With SSA, sin β = b·sin α / a; if this is below 1 and b > a there can be a second triangle with β′ = 180° − β, which the calculator also reports.
Inputs explained
| Field | What to enter |
|---|---|
| What do you know? | Choose one: Two angles and a side (AAS / ASA), Two sides and an angle opposite one of them (SSA) |
| Side a | Units: cm, m, mm, in, ft, yd … |
| Angle α (opposite a) | Units: °, rad, π rad, grad, turn |
| Angle β (opposite b) | Units: °, rad, π rad, grad, turn |
| Side b | Units: cm, m, mm, in, ft, yd … |
What each result means
- Angle β = [Angle β]
- Angle γ = 180 – [Angle α (opposite a)] – [Angle β]
- Side c = [Side a]×sin(rad(180 – [Angle α (opposite a)] – [Angle β]))÷sin(rad([Angle α (opposite a)]))
- Circumradius R = [Side a]÷(2×sin(rad([Angle α (opposite a)])))
- Area = [Side a]×[Side a]×sin(rad([Angle β]))×sin(rad(180 – [Angle α (opposite a)] – [Angle β]))÷(2×sin(rad([Angle α (opposite a)])))
Example values
How the main result changes when Side a changes and everything else stays at the example values above:
| Side a (cm) | Side b (cm) |
|---|---|
| 5 | 7.5136 |
| 7.5 | 11.2704 |
| 10 | 15.0271 |
| 12.5 | 18.7839 |
| 15 | 22.5407 |
| 20 | 30.0543 |
Formula
a / sin α = b / sin β = c / sin γ = 2R
Worked example
Inputs: What do you know?: Two angles and a side (AAS / ASA); Side a: 10 cm; Angle α (opposite a): 40 °; Angle β (opposite b): 75 °.
Results: Side b = 15.027138 cm; Angle γ = 65 °; Side c = 14.099646 cm; Circumradius R = 7.778619 cm; Area = 68.096062 cm².
Key terms
- Ambiguous case
- The SSA situation that can give zero, one or two triangles.
- Circumradius
- The radius of the circle through all three vertices.
Frequently asked questions
What is the ambiguous case?
With SSA, two different triangles may fit the data when a < b and b·sin α < a.
What does 2R mean?
Each ratio a/sin α equals the diameter of the circumscribed circle.
Can I use the law of sines with three sides?
No. Use the law of cosines for SSS.
Why must the angles add to less than 180°?
Otherwise no triangle exists.