Law of Sines Calculator
Solve triangles using Angle-Side-Angle (ASA), Side-Angle-Angle (SAA), or Side-Side-Angle (SSA) parameters with step-by-step arithmetic.
Results are calculated automatically as you enter data.
▼ See explanations and tips below ▼
Related Calculators
What Is the Law of Sines?
The Law of Sines is a trigonometry rule for solving triangles that are not necessarily right triangles. It connects each side of a triangle with the sine of the angle opposite that side.
In standard triangle notation, side \(a\) is opposite Angle \(A\), side \(b\) is opposite Angle \(B\), and side \(c\) is opposite Angle \(C\). The Law of Sines says that these matching side-and-angle ratios are equal:
This relationship is useful when a triangle has enough known information to connect at least one side with its opposite angle. It is commonly used for oblique triangles, which are triangles that are not right triangles.
The Law of Sines is especially helpful for:
- ASA: two angles and the included side
- SAA or AAS: two angles and a non-included side
- SSA: two sides and an angle that is not between them
The SSA case needs extra care because it can sometimes produce no triangle, one triangle, or two different triangles.
Why the Law of Sines Matters
The Law of Sines gives students and problem-solvers a way to work with triangles when the Pythagorean theorem and basic right-triangle ratios are not enough. Many real triangle problems are oblique: a survey measurement, a slanted support, a navigation bearing, or a diagram in a trigonometry class may not include a right angle.
It also helps build an important habit in geometry and trigonometry: matching each side with the angle opposite it. A correct Law of Sines setup depends less on memorizing a procedure and more on reading the triangle labels accurately.
Key Terms to Know
- Oblique triangle: A triangle that is not a right triangle.
- Opposite side: The side across from a given angle. Side \(a\) is opposite Angle \(A\).
- Included side: The side between two known angles. In ASA, the known side is included between the two known angles.
- Non-included side: A side that is not between the two known angles. In SAA or AAS, the known side is non-included.
- SSA: A side-side-angle situation where two sides and a non-included angle are known.
- Ambiguous case: An SSA situation where the same given information may describe two possible triangles, one triangle, or no triangle.
- Inverse sine: The operation used to find an angle from a sine value, often written as \(\sin^{-1}(x)\) or \(\arcsin(x)\).
How the Law of Sines Works
A triangle's three interior angles always add to \(180^\circ\). When two angles are known, the third angle is found by subtraction:
Once one side and its opposite angle are known, the Law of Sines can scale the rest of the triangle. For example, if side \(c\) and Angle \(C\) are known, the shared ratio is:
Then the other sides can be found with:
This is why ASA and SAA triangles are usually direct to solve: two angles give the third angle, and the known side creates the scale of the triangle.
SSA is different. If \(a\), \(b\), and \(A\) are known, the Law of Sines gives:
Then an inverse sine gives a possible value of \(B\). But sine has the same positive value for an acute angle and its obtuse supplement. That means a second angle may also be possible:
Each possible value of \(B\) must still fit inside a triangle. The remaining angle is checked with:
Only solutions with positive angles are valid.
For SSA problems with an acute Angle \(A\), the altitude
is often used to understand the number of possible triangles:
| SSA situation | Number of possible triangles |
|---|---|
| \(a < h\) | 0 |
| \(a = h\) | 1 right triangle |
| \(h < a < b\) | 2 |
| \(a \ge b\) | 1 |
For a right or obtuse Angle \(A\), the known opposite side \(a\) must be longer than \(b\) to form a valid triangle. Otherwise, no triangle is possible.
Examples of the Law of Sines in Practice
Example 1: Solving an ASA Triangle
Suppose a triangle has:
- \(A = 60^\circ\)
- \(B = 45^\circ\)
- \(c = 10\)
First find the third angle:
Now use side \(c\) and Angle \(C\) to create the shared ratio:
Then solve for the missing sides:
So the solved triangle is approximately:
- \(A = 60^\circ\), \(B = 45^\circ\), \(C = 75^\circ\)
- \(a \approx 8.966\), \(b \approx 7.321\), \(c = 10\)
Example 2: Solving an SAA Triangle
Suppose a triangle has:
- \(a = 8\)
- \(A = 35^\circ\)
- \(B = 65^\circ\)
Find the third angle:
Use the known opposite pair \(a\) and \(A\):
Solve for \(b\):
Solve for \(c\):
The side lengths stay in the same unit as the entered side. If \(a = 8\) inches, then \(b\) and \(c\) are inches. If \(a = 8\) meters, then \(b\) and \(c\) are meters.
Example 3: The Ambiguous SSA Case
Suppose a triangle has:
- \(a = 6\)
- \(b = 8\)
- \(A = 35^\circ\)
Use the Law of Sines to find a possible value of \(B\):
The first possible angle is:
The second possible angle is the supplement:
Now check the remaining angle for each case.
For the first solution:
For the second solution:
Both remaining angles are positive, so both triangles are valid. This is why an SSA problem can have two solutions.
How to Interpret the Result
The solved side lengths use the same length unit as the side values you entered. The calculator does not need to know whether the unit is inches, centimeters, feet, meters, or another unit, as long as every side input uses the same unit.
The angles are in degrees. For a valid triangle, the three angle results should add to \(180^\circ\), allowing for small differences caused by rounding.
A result showing two SSA solutions means the same side-side-angle information can form two different triangles. Neither solution is automatically “more correct” unless a diagram, context, or additional condition tells you which triangle is intended.
An em dash in a result field means the current inputs are incomplete or invalid. A triangle diagram is helpful for visualization, but the numeric side and angle results are the values to use for checking work.
Common Mistakes and Misconceptions
Using radians instead of degrees: This calculator expects angle inputs in degrees. Entering radian values as if they were degrees will produce the wrong triangle or an invalid entry.
Mismatching sides and angles: Side \(a\) must be opposite Angle \(A\), side \(b\) must be opposite Angle \(B\), and side \(c\) must be opposite Angle \(C\). The Law of Sines only works when each side is paired with its opposite angle.
Mixing side units: Do not enter one side in inches and another side in centimeters. Use one consistent length unit for every side value.
Entering impossible angle sums: In ASA and SAA problems, the two entered angles must add to less than \(180^\circ\). If they add to \(180^\circ\) or more, there is no positive third angle left.
Assuming SSA always has one answer: SSA can produce zero, one, or two valid triangles. Always check whether the supplementary angle also creates a positive third angle.
Rounding too early: Rounding intermediate values can slightly change the final side lengths or angles. Keep more digits during hand calculations and round at the end.
Using the wrong mode: Choose the mode that matches the information you actually know. ASA, SAA, and SSA are different setups, even though they all may use the Law of Sines.
When to Use the Law of Sines
Use the Law of Sines when you are solving an oblique triangle and you have enough information to form or derive a side-opposite-angle pair.
It is especially useful when:
- You know two angles and one side.
- You know two sides and an angle opposite one of those sides.
- You need to solve for all missing sides and angles of an ASA or SAA triangle.
- You need to analyze whether an SSA triangle has no solution, one solution, or two solutions.
If you are given all three sides, or two sides and the included angle, the Law of Cosines is usually the more direct starting point.
Limitations and Things to Keep in Mind
The Law of Sines is a triangle-solving tool, not a guarantee that every set of inputs forms a triangle. Side lengths must be positive, angle measures must be positive and less than \(180^\circ\), and the final three angles must fit within \(180^\circ\).
This calculator supports ASA, SAA, and SSA setups. It does not solve every possible triangle input pattern. For example, it does not use SSS or SAS as direct modes, and it does not convert between length units.
Displayed side and angle results are rounded to a maximum of three decimal places. Intermediate sine values in the solution steps may show more precision. Because of rounding, checking the result by hand may give tiny differences in the last decimal place.
The triangle drawing is a visual aid. It is scaled to fit the display and should not be treated as an absolute measurement drawing.
For homework, teaching, and general trigonometry practice, calculator results are useful for checking and exploring solutions. For construction, engineering, surveying, navigation, or safety-related decisions, verify the calculation method, units, measurements, and rounding requirements before relying on the result.
How to Use This Calculator
- Choose ASA, SAA, or SSA mode.
- Enter the required values for that mode:
- ASA: Angle \(A\), Angle \(B\), and side \(c\)
- SAA: side \(a\), Angle \(A\), and Angle \(B\)
- SSA: side \(a\), side \(b\), and Angle \(A\)
- Use degrees for all angle inputs.
- Use one consistent length unit for every side input.
- Check the status message for incomplete or invalid entries.
- Read the solved side lengths and angles.
- For SSA ambiguous cases, switch between Solution 1 and Solution 2 to compare the two valid triangles.
- Review the solution steps and triangle diagram. Use the graph download button only after a valid triangle has been rendered.
Frequently Asked Questions
What is the Law of Sines used for?
The Law of Sines is used to solve triangles when you know a side and its opposite angle, or when you can find such a pair after calculating a missing angle. It is especially useful for ASA, SAA, and SSA triangle problems.
What is the difference between ASA and SAA?
In ASA, the known side is between the two known angles. In SAA, also called AAS in many textbooks, the known side is not between the two known angles. Both can be solved directly because two angles determine the third angle.
Why can SSA have two solutions?
SSA can have two solutions because two different angles can have the same sine value: an acute angle and its obtuse supplement. If both angles leave a positive third angle in the triangle, both triangles are valid.
How do I know if an SSA triangle has no solution?
One way is to calculate the possible sine value for the unknown angle. If the value is greater than \(1\), no angle can have that sine value. For an acute known angle, the altitude test using \(h = b\sin A\) also helps determine whether side \(a\) is too short to reach and form a triangle.
Do the side units matter?
The specific side unit does not matter as long as all side values use the same unit. If you enter one side in meters, the solved sides are also in meters. The calculator does not convert between mixed units.
Why do my answers differ slightly from the calculator?
Small differences usually come from rounding. The calculator rounds displayed side and angle results to a maximum of three decimal places, while hand calculations may use fewer or more digits at intermediate steps.
Sources and References
Books and Open Textbooks
- Jay Abramson. Precalculus 2e. OpenStax, 2021. Section 8.1, “Non-right Triangles: Law of Sines.” https://openstax.org/books/precalculus-2e/pages/8-1-non-right-triangles-law-of-sines
- Michael Corral. Elementary Trigonometry. LibreTexts edition, Section 2.1, “The Law of Sines.” Last updated November 17, 2022. https://math.libretexts.org/Bookshelves/Precalculus/ElementaryTrigonometry%28Corral%29/02%3AGeneralTriangles/2.01%3ATheLawofSines
- Carl Stitz and Jeff Zeager. Precalculus. LibreTexts edition, Section 11.2, “The Law of Sines.” Last updated October 3, 2022. https://math.libretexts.org/Bookshelves/Precalculus/Precalculus%28Stitz-Zeager%29/11%3AApplicationsofTrigonometry/11.02%3ATheLawofSines