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

InputsResult
Side a7Angle a (degrees)40Angle B (degrees)60Side b: 9.43Side c: 10.72Angle C: 80°
Show 2 more examples
Side a10Angle a (degrees)30Angle B (degrees)90Side b: 20Side c: 17.32Angle C: 60°
Side a5Angle a (degrees)75Angle B (degrees)45Side 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
2017.72
2514.34
3012.12
3510.57
40starting value9.43
458.57
507.91
557.4
607

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 ÷ sin A = b ÷ sin B = c ÷ sin C
aKnown 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.