Introduction
The Law of Sines Calculator helps you solve triangles quickly and easily. The Law of Sines is a rule in geometry that shows how the sides of a triangle relate to its angles. It says that when you divide any side of a triangle by the sine of the angle across from it, you always get the same number. This works for every pair of sides and angles in the triangle. You can use this calculator to find a missing side or a missing angle when you already know at least one side and its opposite angle. Just enter the values you have, and the calculator does the math for you. It is useful for homework, classwork, or any time you need to solve a triangle that is not a right triangle.
How to use our Law of Sines Calculator
Enter the angles and sides of a triangle that you already know, and this calculator will find all missing angles, sides, and properties using the Law of Sines. It also shows step-by-step work, a diagram, and the formula used.
Choose a mode: Select "Solve Full Triangle" to find all missing parts at once, "Find a Missing Side" to solve for one unknown side, or "Find a Missing Angle" to solve for one unknown angle. Each mode adjusts the inputs to guide you toward the right combination of values.
Select a case type (Full Triangle mode): Pick "ASA / AAS" if you know two angles and one side, or pick "SSA (Ambiguous)" if you know two sides and one angle opposite one of those sides. The SSA case may give you zero, one, or two valid triangles.
Enter Angle A, Angle B, and/or Angle C: Type the values of any known angles into the corresponding fields. Angles must be greater than zero and less than 180° (or π radians). If you provide two angles, the calculator will find the third automatically.
Enter Side a, Side b, and/or Side c: Type the lengths of any known sides into the matching fields. Side a is opposite Angle A, side b is opposite Angle B, and side c is opposite Angle C. All side lengths must be positive numbers.
Angle Unit: Choose whether your angles are in degrees or radians. The calculator will use the same unit for all angle inputs and outputs.
Length Label: Pick a unit of measurement for the sides, such as cm, m, ft, or in. This label is added to your results for clarity but does not change the math.
Precision: Select how many digits you want in your answers. "Smart" mode picks a clean level of detail automatically, or you can choose a specific number of significant figures or decimal places.
Show options: Use the checkboxes to turn the diagram, step-by-step solution, triangle properties, and formula display on or off based on what you need.
Click "Solve Triangle": Press the button or hit Enter to run the calculation. The calculator will display all solved angles and sides, the Law of Sines formula with your values substituted in, a labeled triangle diagram, a full step-by-step breakdown, and extra properties like area, perimeter, altitudes, medians, inradius, and circumradius.
Law of Sines Calculator
The Law of Sines is a rule in geometry that shows the relationship between the sides of a triangle and the angles across from them. It says that if you divide any side of a triangle by the sine of the angle opposite that side, you always get the same number. Written as a formula, it looks like this:
a / sin(A) = b / sin(B) = c / sin(C)
Here, a, b, and c are the three sides of the triangle, and A, B, and C are the angles opposite those sides. This rule works for every triangle, not just right triangles. For problems that specifically involve right triangles, you may find our Right Triangle Calculator more convenient.
When Do You Use the Law of Sines?
The Law of Sines is most helpful when you know some parts of a triangle and need to find the rest. There are two common situations where it applies:
- ASA or AAS (two angles and one side): If you know two angles, you can find the third angle since all three angles in a triangle always add up to 180°. Then you can use the Law of Sines to find the missing sides.
- SSA (two sides and one non-included angle): If you know two sides and an angle opposite one of them, you can use the Law of Sines to find the missing angle. This case is sometimes called the ambiguous case because it can produce zero, one, or two valid triangles.
When you have two sides and the included angle (SAS) or all three sides (SSS), the Law of Cosines Calculator is the appropriate tool to use instead.
The Ambiguous Case (SSA)
The SSA case needs special attention. When you know two sides and an angle opposite one of them, the math might give you two possible answers. This happens because the sine function gives the same value for an angle and its supplement (for example, sin(30°) = sin(150°) = 0.5). So there could be two different triangles that fit the same measurements. There could also be exactly one solution or no solution at all, depending on the sizes of the sides and angle.
- No solution: The side opposite the known angle is too short to form a triangle.
- One solution: Exactly one valid triangle can be formed.
- Two solutions: Two different valid triangles can be formed with the same given information.
How to Solve a Triangle Using the Law of Sines
Follow these basic steps:
- Find the third angle if you already know two. Subtract the two known angles from 180°.
- Set up the Law of Sines ratio. Pair a known side with its opposite angle, then set it equal to the unknown side paired with its opposite angle. Working with ratios is central to this method.
- Solve for the unknown using cross-multiplication or basic algebra.
For example, if you know angle A = 40°, angle B = 60°, and side a = 10, you first find angle C = 180° − 40° − 60° = 80°. Then you use b = a · sin(B) / sin(A) to find side b, and c = a · sin(C) / sin(A) to find side c.
Useful Triangle Properties
Once all three sides and angles are known, you can also calculate other helpful measurements:
- Area: Found using the formula Area = ½ · b · c · sin(A). You can also explore our dedicated Triangle Area Calculator for other area methods.
- Perimeter: The sum of all three sides.
- Altitudes: The height from each vertex down to the opposite side.
- Medians: The line from each vertex to the midpoint of the opposite side.
- Inradius: The radius of the largest circle that fits inside the triangle. You can find the area of that inscribed circle from the inradius.
- Circumradius: The radius of the circle that passes through all three vertices, calculated as R = a / (2 · sin(A)).
The Law of Sines is one of the most important tools in trigonometry and geometry. It is used in fields like engineering, navigation, surveying, astronomy, and physics whenever you need to find unknown distances or angles in a triangle without a right angle. For finding straight-line distances between two points, our Distance Calculator can also be helpful, and if you need to determine the steepness of a line connecting two points, the Slope Calculator is a useful companion tool.