Law of Sines Calculator
Solve a triangle with the law of sines from two angles and a side, or flag the ambiguous case when two solutions exist.
Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.
What the Law of Sines Calculator does
This law of sines calculator will solve a triangle with the law of sines from two angles and a side, or flag the ambiguous case when two solutions exist. Fill in all 3 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for solving a triangle from two angles and a side. Next to this one sits our prime factorization calculator.
How to use it
- Enter two angles — they must total less than 180 degrees.
- Enter the side opposite the first angle.
- Read the third angle and both remaining sides.
How it works
The law of sines says each side divided by the sine of its opposite angle gives the same value, and that value is the diameter of the circumscribed circle. That last part is often omitted and is the most elegant piece of it.
Given two angles and a side, as here, the solution is unique: the third angle follows from the 180-degree sum and both remaining sides follow from the ratio.
The ambiguous case — SSA, where you know two sides and a non-included angle — is different and genuinely has two solutions in some configurations, because sin θ and sin(180° − θ) are equal. An acute and an obtuse triangle can both fit the same data. This calculator takes two angles and a side precisely to avoid that ambiguity; if you have SSA, the law of cosines is the safer route.
When to use it
- Solving a triangle from two angles and a side.
- Triangulating a distance from two bearings and a baseline.
- Finding a circumradius.
- Solving a trigonometry problem.
Common mistakes to avoid
- Pairing a side with the wrong angle — each side goes with the angle opposite it.
- Using the law of sines on SSA data without considering the second solution.
- Entering angles that total 180 or more.
Frequently asked questions
What is the law of sines?
a/sin A = b/sin B = c/sin C, and that common ratio equals the diameter of the circumscribed circle.
What is the ambiguous case?
With two sides and a non-included angle (SSA), two different triangles can satisfy the data, because an angle and its supplement have the same sine. The law of cosines avoids the ambiguity.
When should I use the law of cosines instead?
When you know three sides, or two sides and the included angle. The law of sines suits two angles and a side.