Law of Sines Calculator | Solve Triangles Instantly
Match each side to its opposite angle before applying the sine rule. Check whether the measurements determine a unique triangle.
Quick Answer
The Law of Sines is a fundamental trigonometric principle used to solve oblique triangles—triangles that don't contain a right angle.
Law of Sines Calculator
Published: November 28, 2025 | Updated: November 28, 2025 | Author: HeLovesMath Team
The Law of Sines is a fundamental trigonometric principle used to solve oblique triangles—triangles that don't contain a right angle. This comprehensive calculator helps students, engineers, surveyors, and mathematics enthusiasts solve triangles using the Law of Sines, handling all cases including the ambiguous SSA case, with step-by-step solutions and properly formatted mathematical formulas. Use the trigonometric ratios calculator to check the angle mode before evaluating sine or cosine.
Triangle Input Values
Enter known values (leave unknown values empty). You need at least one side and its opposite angle.
Angles (in degrees)
Sides
Understanding the Law of Sines
The Law of Sines establishes a relationship between the sides of a triangle and the sines of their opposite angles. This powerful theorem states that the ratio of any side length to the sine of its opposite angle is constant for all three sides of a triangle, providing a method to solve for unknown angles and sides when specific combinations of measurements are known. Use the degrees to radians converter to check angle units before evaluating a trigonometric expression.
The Law of Sines is applicable for specific triangle configurations where you have certain combinations of known angles and sides. Understanding when to use this law versus other methods (like Law of Cosines) is crucial for efficient problem-solving.
Case
Known Information
Use Law of Sines?
Notes
AAS
Two angles, one side (not between angles)
✓ Yes
One unique solution, straightforward
ASA
Two angles, side between them
✓ Yes
One unique solution, find third angle first
SSA
Two sides, angle opposite one side
✓ Yes (Caution)
Ambiguous case: 0, 1, or 2 solutions possible
SAS
Two sides, angle between them
✗ No
Use Law of Cosines instead
SSS
All three sides
✗ No
Use Law of Cosines instead
AAA
All three angles
✗ No
Infinite similar triangles, cannot determine size
Quick Decision Guide: Use Law of Sines when you know at least one side-angle pair (a side and its opposite angle) plus one additional piece of information. If you know two sides and the included angle (SAS) or three sides (SSS), use Law of Cosines instead. For right triangles, basic trigonometry (SOH-CAH-TOA) may be simpler than Law of Sines.
The Ambiguous Case (SSA)
The SSA (Side-Side-Angle) configuration is called the ambiguous case because it can result in zero, one, or two valid triangles depending on the relative lengths of the sides and the measure of the given angle. Understanding this case is essential for correctly solving SSA problems and avoiding missing solutions.
Possible Outcomes in SSA Case
SSA Ambiguous Case Analysis:
Given: Sides \(a\) and \(b\), and angle \(A\) (opposite side \(a\))
Calculate the height: \(h = b \sin A\)
Possible Scenarios:
1. No Solution (if \(A\) is acute):
When \(a < h\): The side \(a\) is too short to reach the base, no triangle possible
2. One Solution:
When \(A\) is obtuse or right (≥ 90°) and \(a > b\): Only one triangle possible
When \(A\) is acute and \(a = h\): Right triangle solution
When \(A\) is acute and \(a ≥ b\): Only one triangle possible
3. Two Solutions (ambiguous case):
When \(A\) is acute, \(h < a < b\): Two different triangles satisfy the conditions
Triangle 1: A = 30°, B₁ = 45.58°, C₁ = 104.42°, a = 7, b = 10, c₁ = 13.52
Triangle 2: A = 30°, B₂ = 134.42°, C₂ = 15.58°, a = 7, b = 10, c₂ = 3.76
Solving Different Triangle Cases
Different starting configurations require slightly different approaches when applying the Law of Sines. Understanding the specific steps for each case ensures accurate and efficient solutions.
Case 1: AAS or ASA (Two Angles and One Side)
Solution Procedure for AAS/ASA:
Find the third angle: Use \(C = 180° - A - B\) (angles in triangle sum to 180°)
Apply Law of Sines: Use the given side and its opposite angle to find other sides
Note: This case always produces exactly one unique solution.
Case 2: SSA (Two Sides and Non-Included Angle)
Solution Procedure for SSA:
Calculate height: \(h = b \sin A\) where A is the given angle
Analyze possibilities: Compare side lengths and height to determine number of solutions
Find opposite angle: \(\sin B = \frac{b \sin A}{a}\)
Check for second solution: Calculate \(B_2 = 180° - B_1\) and verify validity
Complete both triangles: Find remaining angles and sides for all valid solutions
Note: This is the ambiguous case—may have 0, 1, or 2 solutions.
Law of Sines vs. Law of Cosines
Both laws help solve oblique triangles but apply to different situations. Knowing when to use each law is fundamental to efficient trigonometric problem-solving.
When you know sides and included angle, or all sides
Calculation
Simpler arithmetic, uses ratios
More complex, requires squaring
Choosing the Right Law: If you can use Law of Sines (have angle-side pair), it's usually simpler. However, for SAS and SSS cases, you must use Law of Cosines. After finding one angle with Law of Cosines, you can switch to Law of Sines to find remaining parts more easily. Some problems may require both laws in sequence.
Real-World Applications
The Law of Sines extends beyond classroom exercises into practical applications across engineering, navigation, surveying, and physics. Understanding these applications contextualizes the mathematical theory.
Practical Uses of Law of Sines
Navigation and Marine Operations: Calculating distances and bearings between ships, determining positions using triangulation from known landmarks, and planning optimal routes considering angles and distances
Surveying and Land Measurement: Determining inaccessible distances across rivers or ravines, measuring property boundaries when obstacles prevent direct measurement, and creating accurate topographic maps
Astronomy: Calculating distances to stars and planets using parallax angles, determining orbital parameters, and measuring celestial object positions using triangulation from different observation points
Architecture and Construction: Calculating roof angles and rafter lengths for non-standard designs, determining bridge cable tensions from support angles, and planning structural supports for irregular building shapes
Aviation: Determining aircraft position using radio beacons, calculating wind correction angles for navigation, and planning flight paths considering various approach angles
Physics and Engineering: Analyzing force vectors in non-perpendicular directions, calculating component forces in mechanical systems, and determining resultant forces from multiple angular inputs
Common Mistakes and How to Avoid Them
Using Law of Sines for SAS or SSS: These cases require Law of Cosines. Law of Sines cannot directly solve triangles when you know two sides and the included angle, or three sides without any angles.
Missing the Second Solution in SSA: Always check if the SSA case produces two valid triangles. Calculate the supplementary angle \(180° - B\) and verify it creates a valid triangle before concluding only one solution exists.
Degrees vs. Radians: Ensure your calculator is in the correct mode. Most problems use degrees, but calculus and advanced mathematics use radians. Mixing modes produces completely wrong answers.
Inverse Sine Domain Error: If \(\sin B = \frac{b \sin A}{a} > 1\), no triangle exists. The sine function only outputs values between -1 and 1. A result greater than 1 indicates impossible triangle geometry.
Not Verifying Angle Sum: Always check that \(A + B + C = 180°\). If not, calculation errors occurred or the triangle is impossible with given values.
Incorrect Angle-Side Pairing: Ensure you're using the side opposite to the given angle. Side \(a\) must be opposite angle \(A\), side \(b\) opposite angle \(B\), etc. Mixing up pairings produces incorrect results.
Assuming Angles are Acute: Triangles can have obtuse angles (> 90°). When using inverse sine, consider whether the angle should be acute or obtuse based on triangle geometry.
Derivation of the Law of Sines
Understanding where the Law of Sines comes from deepens comprehension and helps remember the formula. The derivation uses the relationship between triangle area and trigonometry.
Law of Sines Derivation:
Method 1: Using Triangle Area
The area of a triangle can be expressed using two sides and the included angle:
\[\text{Area} = \frac{1}{2}ab\sin C = \frac{1}{2}bc\sin A = \frac{1}{2}ac\sin B\]
Since all equal the same area, set them equal:
\[\frac{1}{2}ab\sin C = \frac{1}{2}bc\sin A\]
Simplify: \(ab\sin C = bc\sin A\)
Divide both sides by \(abc\): \(\frac{\sin C}{c} = \frac{\sin A}{a}\)
While basic trigonometry (SOH-CAH-TOA) typically handles right triangles more simply, the Law of Sines still applies and can provide alternative solution paths.
Right Triangle Special Case: In a right triangle with right angle at C (C = 90°), \(\sin C = \sin 90° = 1\). The Law of Sines becomes: \(\frac{a}{\sin A} = \frac{b}{\sin B} = c\). This means the hypotenuse \(c\) equals \(\frac{a}{\sin A}\) or \(\frac{b}{\sin B}\), which aligns with basic trigonometry: \(a = c\sin A\) and \(b = c\sin B\). Use the right triangle side calculator to use the simpler side relationship when a right angle is given.
Circumradius and the Law of Sines
The Law of Sines connects to the circumradius (radius of the circle passing through all three vertices) of a triangle, providing geometric insight.
This relationship is useful in geometry problems involving circles and triangles.
Frequently Asked Questions
What is the Law of Sines?
The Law of Sines states that in any triangle, the ratio of a side length to the sine of its opposite angle is constant for all three sides. The formula is: \(\frac{a}{\sin A} = \frac{b}{\sin B} = \frac{c}{\sin C}\), where \(a, b, c\) are side lengths and \(A, B, C\) are the opposite angles. This law is used to solve oblique (non-right) triangles when you know certain angle-side combinations, specifically AAS, ASA, or SSA configurations.
When should you use the Law of Sines?
Use the Law of Sines when you have: 1) Two angles and one side (AAS or ASA case) - produces one unique solution, 2) Two sides and an angle opposite one of them (SSA case) - the ambiguous case that may have 0, 1, or 2 solutions. Do not use Law of Sines for SAS (Side-Angle-Side) or SSS (Side-Side-Side) cases—use Law of Cosines instead. Law of Sines works for all triangle types including acute, obtuse, and right triangles.
What is the ambiguous case in Law of Sines?
The ambiguous case (SSA - Side-Side-Angle) occurs when you know two sides and an angle opposite one of them. This configuration can result in zero, one, or two valid triangles depending on the side lengths and angle. Two solutions exist when: the given angle is acute, the side opposite the angle is shorter than the other given side, and the side opposite is longer than the altitude (\(h = b\sin A\)). Calculate both possible angles: \(B_1 = \arcsin\left(\frac{b\sin A}{a}\right)\) and \(B_2 = 180° - B_1\), then verify each creates a valid triangle.
How do you solve for a missing angle using Law of Sines?
To find a missing angle: 1) Set up the proportion using a known angle-side pair and the side opposite the unknown angle: \(\frac{\sin A}{a} = \frac{\sin B}{b}\), 2) Rearrange to \(\sin B = \frac{b \sin A}{a}\), 3) Use inverse sine: \(B = \arcsin\left(\frac{b \sin A}{a}\right)\), 4) Check if \(\sin B \leq 1\) (if > 1, no solution exists), 5) For SSA case, also check supplementary angle: \(B' = 180° - B\), and verify both solutions create valid triangles where all angles are positive and sum to 180°.
What is the difference between Law of Sines and Law of Cosines?
Law of Sines relates sides to opposite angles using sine ratios: \(\frac{a}{\sin A} = \frac{b}{\sin B} = \frac{c}{\sin C}\). It's best for AAS, ASA, and SSA cases. Law of Cosines relates all three sides and one angle: \(c^2 = a^2 + b^2 - 2ab\cos C\). It's best for SAS and SSS cases. Use Law of Sines when you know angle-side pairs; use Law of Cosines when you know two sides and included angle, or all three sides. Law of Cosines always gives one unique solution, while Law of Sines SSA case can be ambiguous.
Why does SSA sometimes have two solutions?
SSA can produce two triangles because when you know two sides and a non-included angle, the second side can "swing" to two different positions while maintaining the same angle and side lengths. Imagine side \(b\) as a compass arc—it may intersect the baseline at two points, creating two different triangles with the same SSA measurements. This only occurs when specific conditions are met: acute given angle, side opposite shorter than other side, but longer than altitude. Both triangles are mathematically valid, though in real-world applications, context determines which solution is physically meaningful.
Can you use Law of Sines for right triangles?
Yes, Law of Sines applies to right triangles, though basic trigonometry (sin, cos, tan) is usually simpler. For a right triangle with right angle C = 90°, since \(\sin 90° = 1\), the Law of Sines simplifies to: \(\frac{a}{\sin A} = \frac{b}{\sin B} = c\). This means \(a = c\sin A\) and \(b = c\sin B\), which are the standard right triangle sine relationships. While mathematically valid, SOH-CAH-TOA is more direct for right triangles. Use Law of Sines for right triangles when working within broader problems involving multiple triangles.
What if the sine value is greater than 1?
If your calculation produces \(\sin B > 1\), no triangle exists with the given measurements. The sine function has a range of [-1, 1], so any value outside this range is mathematically impossible. This typically occurs in SSA cases when the side opposite the known angle is too short to form a triangle—the "no solution" scenario. For example, if you calculate \(\sin B = 1.3\), the given sides and angle cannot form a valid triangle. Recheck your measurements or recognize the configuration is geometrically impossible.
Advertisement
Solve from two known angles
A triangle has one angle of thirty degrees and a second angle of sixty degrees. The side opposite thirty degrees measures four centimetres. The third angle is ninety degrees, so its opposite side is the hypotenuse. The sine rule gives the hypotenuse as four divided by the sine of thirty degrees, or eight centimetres. Check the ordering: the largest angle must face the longest side. Mark opposite pairs directly on the diagram to avoid using an adjacent side by mistake.
Using the Law of Sines to Solve Oblique Triangles
In any triangle, we can draw an altitude, a perpendicular line from one vertex to the opposite side, forming two right triangles. It would be preferable, however, to have methods that we can apply directly to non-right triangles without first having to create right triangles.
Any triangle that is not a right triangle is an oblique triangle. Solving an oblique triangle means finding the measurements of all three angles and all three sides. To do so, we need to start with at least three of these values, including at least one of the sides. We will investigate three possible oblique triangle problem situations:
ASA (angle-side-angle) We know the measurements of two angles and the included side. See diagram.
AAS (angle-angle-side) We know the measurements of two angles and a side that is not between the known angles. See diagram.
SSA (side-side-angle) We know the measurements of two sides and an angle that is not between the known sides. See diagram.
Knowing how to approach each of these situations enables us to solve oblique triangles without having to drop a perpendicular to form two right triangles. Instead, we can use the fact that the ratio of the measurement of one of the angles to the length of its opposite side will be equal to the other two ratios of angle measure to opposite side. Let’s see how this statement is derived by considering the triangle shown in diagram.
Using the right triangle relationships, we know that and Solving both equations for gives two different expressions for
We then set the expressions equal to each other.
Similarly, we can compare the other ratios.
Collectively, these relationships are called the Law of Sines.
Note the standard way of labeling triangles: angle (alpha) is opposite side angle (beta) is opposite side and angle (gamma) is opposite side See diagram.
While calculating angles and sides, be sure to carry the exact values through to the final answer. Generally, final answers are rounded to the nearest tenth, unless otherwise specified.
Solving for Two Unknown Sides and Angle of an AAS Triangle
Solve the triangle shown in diagram to the nearest tenth.
Solution
The three angles must add up to 180 degrees. From this, we can determine that
To find an unknown side, we need to know the corresponding angle and a known ratio. We know that angle and its corresponding side We can use the following proportion from the Law of Sines to find the length of
Similarly, to solve for we set up another proportion.
Therefore, the complete set of angles and sides is
Using The Law of Sines to Solve SSA Triangles
We can use the Law of Sines to solve any oblique triangle, but some solutions may not be straightforward. In some cases, more than one triangle may satisfy the given criteria, which we describe as an ambiguous case. Triangles classified as SSA, those in which we know the lengths of two sides and the measurement of the angle opposite one of the given sides, may result in one or two solutions, or even no solution.
Solving an Oblique SSA Triangle
Solve the triangle in diagram for the missing side and find the missing angle measures to the nearest tenth.
Solution
Use the Law of Sines to find angle and angle and then side Solving for we have the proportion
However, in the diagram, angle appears to be an obtuse angle and may be greater than 90°. How did we get an acute angle, and how do we find the measurement of Let’s investigate further. Dropping a perpendicular from and viewing the triangle from a right angle perspective, we have diagram. It appears that there may be a second triangle that will fit the given criteria.
The angle supplementary to is approximately equal to 49.9°, which means that (Remember that the sine function is positive in both the first and second quadrants.) Solving for we have
We can then use these measurements to solve the other triangle. Since is supplementary to the sum of and we have
Now we need to find and
We have
Finally,
To summarize, there are two triangles with an angle of 35°, an adjacent side of 8, and an opposite side of 6, as shown in diagram.
However, we were looking for the values for the triangle with an obtuse angle We can see them in the first triangle (a) in diagram.
Solving for the Unknown Sides and Angles of a SSA Triangle
In the triangle shown in diagram, solve for the unknown side and angles. Round your answers to the nearest tenth.
Solution
In choosing the pair of ratios from the Law of Sines to use, look at the information given. In this case, we know the angle and its corresponding side and we know side We will use this proportion to solve for
To find apply the inverse sine function. The inverse sine will produce a single result, but keep in mind that there may be two values for It is important to verify the result, as there may be two viable solutions, only one solution (the usual case), or no solutions.
In this case, if we subtract from 180°, we find that there may be a second possible solution. Thus, To check the solution, subtract both angles, 131.7° and 85°, from 180°. This gives
which is impossible, and so
To find the remaining missing values, we calculate Now, only side is needed. Use the Law of Sines to solve for by one of the proportions.
The complete set of solutions for the given triangle is
Finding the Triangles That Meet the Given Criteria
Find all possible triangles if one side has length 4 opposite an angle of 50°, and a second side has length 10.
Solution
Using the given information, we can solve for the angle opposite the side of length 10. See diagram.
We can stop here without finding the value of Because the range of the sine function is it is impossible for the sine value to be 1.915. In fact, inputting in a graphing calculator generates an ERROR DOMAIN. Therefore, no triangles can be drawn with the provided dimensions.
Finding the Area of an Oblique Triangle Using the Sine Function
Now that we can solve a triangle for missing values, we can use some of those values and the sine function to find the area of an oblique triangle. Recall that the area formula for a triangle is given as where is base and is height. For oblique triangles, we must find before we can use the area formula. Observing the two triangles in diagram, one acute and one obtuse, we can drop a perpendicular to represent the height and then apply the trigonometric property to write an equation for area in oblique triangles. In the acute triangle, we have or However, in the obtuse triangle, we drop the perpendicular outside the triangle and extend the base to form a right triangle. The angle used in calculation is or
Thus,
Similarly,
Finding the Area of an Oblique Triangle
Find the area of a triangle with sides and angle Round the area to the nearest integer.