What is a law of sines calculator?
A law of sines calculator solves a triangle when you know one angle, the side directly across from it, and a second angle. From those three values it works out the third angle and the two missing sides. The law of sines is the relationship that ties the angles of any triangle to the lengths of the sides opposite them, so it works for acute, right, and obtuse triangles alike, not just right triangles.
In this calculator you enter angle in degrees, side (the side opposite angle ), and angle in degrees. It returns angle , side , and side .
How does it work?
The law of sines states that the ratio of each side to the sine of its opposite angle is the same for all three sides of a triangle:
Because the interior angles of any triangle add up to , the third angle follows immediately:
Once every angle is known and one opposite side () is given, the remaining sides come straight from the ratios above:
For these formulas to describe a real triangle, both and must be positive and their sum must be less than . If there is no valid triangle, and the calculator leaves the results blank.
Worked examples
Example 1: a 30-60-90 triangle
Suppose , , and . First find the missing angle:
Now apply the ratios. Since , , and :
So , , and .
Example 2: an isosceles right triangle
With , , and :
Because , side equals side :
The triangle has two equal sides of length and a hypotenuse of about .
Practical notes
- Enter both angles in degrees. The calculator converts them internally before taking the sine.
- The known side must be the one opposite the known angle ; otherwise the ratios will not line up.
- This tool uses the angle-angle-side (AAS) configuration, which always produces a single triangle. The trickier side-side-angle (SSA) “ambiguous case” — where two different triangles can fit — is not handled here.
- When you instead know two sides and the angle between them, reach for the law of cosines calculator, and for plain sine, cosine, and tangent of a single angle see the trigonometry calculator.
Frequently asked questions
When should I use the law of sines instead of the law of cosines?
Use the law of sines when you know an angle together with the side opposite it, plus one more angle or side (the AAS or ASA cases). Use the law of cosines when you know two sides and the included angle, or all three sides.
Does the law of sines work for non-right triangles?
Yes. It applies to every triangle — acute, right, and obtuse. It is one of the main tools for solving triangles that are not right-angled.
Why are my results blank?
The results stay empty if a field is missing, if an angle is zero or negative, or if angle plus angle is or more, because no triangle can have those angles.