Law of Sines Calculator

Solve any triangle using the Law of Sines with step-by-step solutions and visual representation

What This Calculator Does

This advanced Law of Sines calculator helps you solve triangles when you know:

  • ASA (Angle-Side-Angle): Two angles and the side between them
  • AAS (Angle-Angle-Side): Two angles and a non-included side
  • SSA (Side-Side-Angle): Two sides and a non-included angle (ambiguous case)

The calculator automatically detects the ambiguous case (SSA) and provides all possible solutions with detailed step-by-step explanations.

Enter Your Triangle Values

Triangle Visualization

Solution

Law of Sines Formula

The Law of Sines states that the ratio of the length of a side of a triangle to the sine of its opposite angle is constant for all three sides and angles:

\[\frac{a}{\sin A} = \frac{b}{\sin B} = \frac{c}{\sin C}\]

Or equivalently:

\[\frac{\sin A}{a} = \frac{\sin B}{b} = \frac{\sin C}{c}\]

Where:

  • \(a, b, c\) are the lengths of the sides of the triangle
  • \(A, B, C\) are the angles opposite to sides \(a, b,\) and \(c\) respectively

Key Properties

  • The sum of all angles in a triangle equals \(180°\): \(A + B + C = 180°\)
  • Each side is proportional to the sine of its opposite angle
  • Can be used to find unknown sides or angles when certain combinations are known

When to Use Law of Sines (vs Law of Cosines)

Scenario Use Law of Sines Use Law of Cosines
ASA - Two angles and included side ✓ Yes ✗ No
AAS - Two angles and non-included side ✓ Yes ✗ No
SSA - Two sides and non-included angle ✓ Yes (Ambiguous) ✓ Yes (Alternative)
SAS - Two sides and included angle ✗ No ✓ Yes
SSS - Three sides ✗ No ✓ Yes

Decision Guide

Use Law of Sines when:

  • You know two angles and any side (ASA or AAS)
  • You know two sides and an angle opposite one of them (SSA - but beware of ambiguous case)
  • You need to find an angle when you know its opposite side and another angle-side pair

Use Law of Cosines when:

  • You know three sides (SSS)
  • You know two sides and the included angle (SAS)
  • You want to avoid the ambiguous case in SSA scenarios

Ambiguous Case (SSA) Explained

The SSA (Side-Side-Angle) case is called the "ambiguous case" because it can result in zero, one, or two valid triangles depending on the given measurements.

Why Is It Ambiguous?

When you know two sides and an angle that is NOT between them, the third side can potentially "swing" to create two different triangles, one triangle, or no triangle at all.

The Three Possible Outcomes

Case 1: No Triangle Exists

This occurs when the side opposite the known angle is too short to reach the third vertex.

Condition: If \(a < b \cdot \sin(A)\), no triangle is possible.

Example: \(a = 5\), \(b = 10\), \(A = 30°\)

Check: \(b \cdot \sin(A) = 10 \times \sin(30°) = 10 \times 0.5 = 5\)

Since \(a = 5\) is not greater than \(5\), no valid triangle exists.

Case 2: Exactly One Triangle

This occurs when:

  • The known angle \(A \geq 90°\) (obtuse or right), OR
  • The side opposite the known angle is longer than or equal to the other known side: \(a \geq b\)

Example: \(a = 10\), \(b = 8\), \(A = 30°\) → One solution since \(a > b\)

Case 3: Two Triangles (Ambiguous)

This occurs when the side opposite the known angle is shorter than the other known side but long enough to form a triangle.

Condition: If \(b \cdot \sin(A) < a < b\) and \(A\) is acute, two solutions exist.

Example: \(a = 7\), \(b = 10\), \(A = 30°\) → Two solutions

The two solutions have angles \(B_1\) and \(B_2\) where \(B_2 = 180° - B_1\)

How This Calculator Handles SSA

Our calculator automatically:

  • Detects whether the SSA case will produce 0, 1, or 2 solutions
  • Calculates all valid solutions
  • Provides warnings when the ambiguous case applies
  • Shows step-by-step work for each possible triangle

Worked Examples

Example 1: ASA Case (Angle-Side-Angle)
Given: \(A = 45°\), \(B = 60°\), \(c = 10\)
1
Find the Third Angle (C)
The sum of angles in a triangle is \(180°\):
\[C = 180° - A - B\]
\[C = 180° - 45° - 60°\]
\[\boxed{C = 75°}\]
2
Find Side \(a\) Using Law of Sines
Apply the Law of Sines:
\[\frac{a}{\sin A} = \frac{c}{\sin C}\]
Solve for \(a\):
\[a = \frac{c \cdot \sin A}{\sin C} = \frac{10 \cdot \sin(45°)}{\sin(75°)}\]
\[a = \frac{10 \times 0.7071}{0.9659}\]
\[\boxed{a \approx 7.32}\]
3
Find Side \(b\) Using Law of Sines
Apply the Law of Sines:
\[\frac{b}{\sin B} = \frac{c}{\sin C}\]
Solve for \(b\):
\[b = \frac{c \cdot \sin B}{\sin C} = \frac{10 \cdot \sin(60°)}{\sin(75°)}\]
\[b = \frac{10 \times 0.8660}{0.9659}\]
\[\boxed{b \approx 8.97}\]
Final Answer
\(a \approx 7.32\), \(b \approx 8.97\), \(C = 75°\)
Example 2: AAS Case (Angle-Angle-Side)
Given: \(A = 50°\), \(B = 70°\), \(a = 8\)
1
Find the Third Angle (C)
Using the angle sum property:
\[C = 180° - A - B\]
\[C = 180° - 50° - 70°\]
\[\boxed{C = 60°}\]
2
Find Side \(b\) Using Law of Sines
Apply the Law of Sines:
\[\frac{b}{\sin B} = \frac{a}{\sin A}\]
Solve for \(b\):
\[b = \frac{a \cdot \sin B}{\sin A} = \frac{8 \cdot \sin(70°)}{\sin(50°)}\]
\[b = \frac{8 \times 0.9397}{0.7660}\]
\[\boxed{b \approx 9.81}\]
3
Find Side \(c\) Using Law of Sines
Apply the Law of Sines:
\[\frac{c}{\sin C} = \frac{a}{\sin A}\]
Solve for \(c\):
\[c = \frac{a \cdot \sin C}{\sin A} = \frac{8 \cdot \sin(60°)}{\sin(50°)}\]
\[c = \frac{8 \times 0.8660}{0.7660}\]
\[\boxed{c \approx 9.04}\]
Final Answer
\(b \approx 9.81\), \(c \approx 9.04\), \(C = 60°\)
Example 3: SSA Case - Ambiguous (Two Solutions)
Given: \(a = 7\), \(b = 10\), \(A = 30°\)
Ambiguous Case Warning
This is an SSA configuration where \(a < b\) and angle \(A\) is acute, which may produce two valid triangles.
1
Find \(\sin B\) Using Law of Sines
Apply the Law of Sines:
\[\frac{\sin B}{b} = \frac{\sin A}{a}\]
Solve for \(\sin B\):
\[\sin B = \frac{b \cdot \sin A}{a} = \frac{10 \cdot \sin(30°)}{7}\]
\[\sin B = \frac{10 \times 0.5}{7} = \frac{5}{7}\]
\[\boxed{\sin B \approx 0.7143}\]
2
Find Possible Values of Angle \(B\)
Since \(\sin B = 0.7143\) and \(0 < \sin B < 1\), there are two possible angles:
\[B_1 = \arcsin(0.7143) \approx 45.58°\]
\[B_2 = 180° - B_1 = 180° - 45.58° \approx 134.42°\]
Both values are valid since \(A + B_1 < 180°\) and \(A + B_2 < 180°\)
Solution 1
3a
Triangle 1: Using \(B_1 = 45.58°\)
Find angle \(C_1\):
\[C_1 = 180° - A - B_1 = 180° - 30° - 45.58°\]
\[\boxed{C_1 = 104.42°}\]
Find side \(c_1\):
\[c_1 = \frac{a \cdot \sin C_1}{\sin A} = \frac{7 \cdot \sin(104.42°)}{\sin(30°)}\]
\[c_1 = \frac{7 \times 0.9686}{0.5}\]
\[\boxed{c_1 \approx 13.56}\]
Solution 2
3b
Triangle 2: Using \(B_2 = 134.42°\)
Find angle \(C_2\):
\[C_2 = 180° - A - B_2 = 180° - 30° - 134.42°\]
\[\boxed{C_2 = 15.58°}\]
Find side \(c_2\):
\[c_2 = \frac{a \cdot \sin C_2}{\sin A} = \frac{7 \cdot \sin(15.58°)}{\sin(30°)}\]
\[c_2 = \frac{7 \times 0.2685}{0.5}\]
\[\boxed{c_2 \approx 3.76}\]
Final Answer - Two Valid Triangles
Triangle 1: \(B \approx 45.58°\), \(C \approx 104.42°\), \(c \approx 13.56\)
Triangle 2: \(B \approx 134.42°\), \(C \approx 15.58°\), \(c \approx 3.76\)

Frequently Asked Questions

What is the Law of Sines used for?

The Law of Sines is used to solve triangles when you know either two angles and one side (ASA or AAS) or two sides and a non-included angle (SSA). It's particularly useful for finding unknown angles or sides in oblique (non-right) triangles.

When should I use Law of Sines instead of Law of Cosines?

Use the Law of Sines when you know two angles and any side (ASA or AAS), as it provides a more direct solution. Use the Law of Cosines when you know three sides (SSS) or two sides and the included angle (SAS). For SSA cases, either law can work, but Law of Cosines avoids the ambiguous case issue.

What is the ambiguous case in Law of Sines?

The ambiguous case occurs with SSA (Side-Side-Angle) triangles, where the given information can result in zero, one, or two valid triangles. This happens because when you know two sides and an angle that's not between them, there may be multiple ways to complete the triangle, or the triangle may be impossible to form.

Can Law of Sines be used for right triangles?

Yes, the Law of Sines works for right triangles, but basic trigonometry (SOH-CAH-TOA) is usually simpler and more direct. However, the Law of Sines is primarily designed for oblique triangles where standard right triangle trigonometry doesn't apply.

What units should I use for angles?

This calculator accepts angles in degrees, which is the most common unit for triangle problems. Make sure all your angle measurements are in degrees for accurate results. The calculator will also output angles in degrees.

Why does my SSA triangle have no solution?

An SSA triangle has no solution when the side opposite the known angle is too short to reach the third vertex. Mathematically, this occurs when a < b × sin(A). The calculator will detect this and inform you that no valid triangle exists with the given measurements.

How accurate are the calculator results?

The calculator provides results rounded to 2 decimal places for practical use. Internally, it uses high-precision floating-point arithmetic. For most educational and practical purposes, this level of precision is more than sufficient.

Can I use this calculator for homework?

Yes! This calculator is designed as a learning tool. It shows complete step-by-step solutions so you can understand the process, not just get the answer. Use it to check your work and learn the methodology for solving Law of Sines problems.