Skip to content
MasterMath

Law of Sines Calculator

Solve any triangle from one side with its opposite angle plus one more value. The ratio of each side to the sine of its opposite angle is the same for all three.

Result

—

Result—
Constant of the law—
Angle B—
Angle C—
Side b—
Side c—
Note—

How this was worked out

    The formula

    a ÷ sin A = b ÷ sin B = c ÷ sin C

    Where it comes from

    The law of sines says the ratio of a side to the sine of the angle facing it is constant across a triangle. That constant is not arbitrary: it equals the diameter of the circle through all three vertices, which is why the law works for any triangle at all.

    How to work it out by hand

    1. You need a side with its opposite angle to start
    2. Work out the constant: that side divided by the sine of its angle
    3. Multiply the constant by the sine of any angle to get its opposite side
    4. Divide any side by the constant and take the arcsine for its angle

    What is worth knowing

    The ambiguous case is the trap, and it is worth understanding rather than memorising. When you know two sides and an angle that is not between them, the arcsine gives you one angle, but its supplement has the same sine — and sometimes both produce a valid triangle. Physically, the side you are swinging can reach the base line in two places. The law of cosines does not have this problem, which is a reason to prefer it when you have the choice. When you know two angles, there is no ambiguity at all, since the third angle is forced.

    Frequently asked questions

    When do I use the law of sines?

    When you know a side and its opposite angle, plus one more value. If you know two sides and the angle between them, use the law of cosines instead.

    What is the ambiguous case?

    Knowing two sides and a non-included angle can allow two different triangles, because an angle and its supplement have the same sine.

    What is that constant?

    The diameter of the circle through all three vertices. It is the same for all three ratios in the triangle.

    Can I use it on a right triangle?

    Yes. It works on every triangle, though for right triangles the plain ratios are simpler.