Overview
The law of sines connects each side of a triangle to the sine of the angle opposite it. With one side and two angles, it gives every other side and angle.
Enter side a, the angle A opposite it, and angle B. The two angles must add up to less than 180°.
Worked examples
| Inputs | Result |
|---|---|
| Side a7Angle a (degrees)40Angle B (degrees)60 | Side b: 9.43Side c: 10.72Angle C: 80° |
Show 2 more examples
| Side a10Angle a (degrees)30Angle B (degrees)90 | Side b: 20Side c: 17.32Angle C: 60° |
| Side a5Angle a (degrees)75Angle B (degrees)45 | Side b: 3.66Side c: 4.48Angle C: 60° |
Side b by angle a
With the calculator's starting values, the side b is 9.43. The table shows how it changes with the angle a.
| Angle a (degrees) | Side b |
|---|---|
| 20 | 17.72 |
| 25 | 14.34 |
| 30 | 12.12 |
| 35 | 10.57 |
| 40starting value | 9.43 |
| 45 | 8.57 |
| 50 | 7.91 |
| 55 | 7.4 |
| 60 | 7 |
Other inputs: Side a: 7 · Angle B: 60 degrees. Change them in the calculator above for your own numbers.
How it works
The third angle is 180° minus the other two. Each side divided by the sine of its opposite angle gives the same ratio, so b = a × sin B ÷ sin A, and c = a × sin C ÷ sin A.
The formula
| a | Known side, opposite angle A |
Practical tips
- a = 7 with A = 40° and B = 60° gives b ≈ 9.43, c ≈ 10.72 and C = 80°.
- Side a must be opposite angle A.
- With two sides and the angle between them, use the law of cosines instead.
Frequently asked questions
What is the ambiguous case?
When you know two sides and a non-included angle, there can be two possible triangles. This calculator avoids it by using two angles.
Does it work for right triangles?
Yes. sin 90° = 1, so it reduces to basic trig.
What units are the sides in?
The same as side a.