Law of Sines Calculator

Published on: February 2, 2025
Final Answer: Free | Full Steps: Plus

This Law of Sines Calculator takes two angles and the side opposite one of them and works out the two missing sides, showing the working line by line. The third angle comes first, because the three angles of a triangle always add up to a half turn. The law then ties each side to the sine of the angle facing it, so rearranging it makes a missing side the subject. Following the same pattern every time keeps each side matched to the right angle.

A B C a b c

In the diagram, each side is named after the angle opposite it: \(a\) faces \(A\), \(b\) faces \(B\) and \(c\) faces \(C\).

Step-by-step method

  1. Set up the problem.
  2. Write the Law of Sines.
  3. Put the known values into the Law of Sines.
  4. Work out angle C with the angle sum of a triangle.
  5. Find side b.
  6. Find side c.

Formula: Law of Sines

Each side divided by the sine of the angle opposite it gives the same value, so one known pair finds the missing sides.

\(\frac{a}{\sin(A)} = \frac{b}{\sin(B)} = \frac{c}{\sin(C)}\)

Formula: Angle Sum of a Triangle

The three angles of a triangle add up to 180°, which gives the third angle C.

\(A + B + C = 180^{\circ}\)

Useful Tips to Remember

Use the law of sines when you know an angle and the side opposite it, plus one more side or angle. Each side must be paired with the angle directly opposite it. When given two sides and an angle that is not between them, there may be two possible triangles, which is called the ambiguous case. Use the angle sum of \(180^\circ\) to find the last angle.

Required knowledge

Where Is the Law of Sines Used?

The law of sines links each side of a triangle to the sine of its opposite angle, so the ratios \(\frac{a}{\sin A}\), \(\frac{b}{\sin B}\) and \(\frac{c}{\sin C}\) are all equal. It finds missing sides and angles when you know two angles and a side, or two sides and an angle opposite one of them. Surveyors use it for triangulation, finding the distance to a far point from two measured angles, and astronomers have used it to estimate distances to the Moon. Navigators also use it to fix positions from bearings.

  • Triangulating distances in surveying and map making
  • Finding the height of a mountain or tower from two viewpoints
  • Fixing a ship's or aircraft's position from bearings
  • Estimating distances in astronomy
  • Solving triangles in engineering and construction drawings

Law of Sines Practice Problems

Example 1 solves a triangle with \(A = 35^\circ\), \(B = 65^\circ\) and \(a = 8\), and Example 2 uses \(A = 50^\circ\), \(B = 55^\circ\) and \(a = 14\). Try finding the missing sides yourself first. For two more free worked examples, check out the Law of Sines Notes.

The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together to check your answers and to understand why each step works.

See Example 1 Hide Example 1

Problem

\(A = 35^{\circ},\; B = 65^{\circ},\; a = 8\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the Law of Sines.
  3. Put the known values into the Law of Sines.
  4. Work out angle C with the angle sum of a triangle.
  5. Find side b.
  6. Find side c.

Formula

Formula: Law of Sines

Each side divided by the sine of the angle opposite it gives the same value, so one known pair finds the missing sides.

\(\frac{a}{\sin(A)} = \frac{b}{\sin(B)} = \frac{c}{\sin(C)}\)

Formula: Angle Sum of a Triangle

The three angles of a triangle add up to 180°, which gives the third angle C.

\(A + B + C = 180^{\circ}\)

Step 1

Step 1 - Set up the problem.

In this problem: Two angles and the side opposite one of them are known: \(A = 35^{\circ}\), \(B = 65^{\circ}\) and \(a = 8\), and sides \(b\) and \(c\) are missing.

\(A = 35^{\circ},\; B = 65^{\circ},\; a = 8\)
A B C 35° 65° 8 b c

Step 2

Step 2 - Write the Law of Sines.

In this problem: The Law of Sines says each side and the sine of the angle opposite it keep the same ratio, so \(\frac{a}{\sin(A)} = \frac{b}{\sin(B)} = \frac{c}{\sin(C)}\).

\(\frac{a}{\sin(A)} = \frac{b}{\sin(B)} = \frac{c}{\sin(C)}\)

Step 3

Step 3 - Put the known values into the Law of Sines.

In this problem: Put \(a = 8\), \(A = 35^{\circ}\) and \(B = 65^{\circ}\) into the formula. Angle \(C\) is not known yet, so it stays as it is for now.

\(\frac{8}{\sin(35^{\circ})} = \frac{b}{\sin(65^{\circ})} = \frac{c}{\sin(C)}\)

Step 4

Step 4 - Work out angle C with the angle sum of a triangle.

In this problem: Angle \(C\) is still missing. The three angles of any triangle add up to \(180^{\circ}\), so it comes from \(A + B + C = 180^{\circ}\).

\(A + B + C = 180^{\circ}\)

Step 4a

Step 4a - Put the two known angles into the angle sum.

In this problem: Replacing \(A\) with \(35^{\circ}\) and \(B\) with \(65^{\circ}\) gives \(35^{\circ} + 65^{\circ} + C = 180^{\circ}\).

\(35^{\circ} + 65^{\circ} + C = 180^{\circ}\)

Step 4b

Step 4b - Solve for angle C.

In this problem: Taking \(35^{\circ}\) and \(65^{\circ}\) away from \(180^{\circ}\) leaves \(80^{\circ}\).

\(C = 180^{\circ} - 35^{\circ} - 65^{\circ} = 80^{\circ}\)

Step 4c

Step 4c - Put angle C into the Law of Sines.

In this problem: Swap \(C\) in step 3 for \(80^{\circ}\).

\(\frac{8}{\sin(35^{\circ})} = \frac{b}{\sin(65^{\circ})} = \frac{c}{\sin(80^{\circ})}\)

Step 5

Step 5 - Find side b.

In this problem: Take the pair with \(b\) and the known pair \(\frac{8}{\sin(35^{\circ})}\) from step 4c: \(\frac{b}{\sin(65^{\circ})} = \frac{8}{\sin(35^{\circ})}\).

\(\frac{b}{\sin(65^{\circ})} = \frac{8}{\sin(35^{\circ})}\)

Step 5a

Step 5a - Rearrange to make b the subject.

In this problem: Making \(b\) the subject gives \(b = \frac{8 \times \sin(65^{\circ})}{\sin(35^{\circ})}\), worked through below.

\(b = \frac{8 \times \sin(65^{\circ})}{\sin(35^{\circ})}\)

Step 5b

Step 5b - Solve for side b.

In this problem: Working out \(\frac{8 \times \sin(65^{\circ})}{\sin(35^{\circ})}\) gives \(b \approx 12.64\).

\(b = \frac{8 \times \sin(65^{\circ})}{\sin(35^{\circ})} \approx 12.64\)

Step 6

Step 6 - Find side c.

In this problem: Take the pair with \(c\) and the known pair \(\frac{8}{\sin(35^{\circ})}\) from step 4c: \(\frac{c}{\sin(80^{\circ})} = \frac{8}{\sin(35^{\circ})}\).

\(\frac{c}{\sin(80^{\circ})} = \frac{8}{\sin(35^{\circ})}\)

Step 6a

Step 6a - Rearrange to make c the subject.

In this problem: Making \(c\) the subject gives \(c = \frac{8 \times \sin(80^{\circ})}{\sin(35^{\circ})}\), worked through below.

\(c = \frac{8 \times \sin(80^{\circ})}{\sin(35^{\circ})}\)

Step 6b

Step 6b - Solve for side c.

In this problem: Working out \(\frac{8 \times \sin(80^{\circ})}{\sin(35^{\circ})}\) gives \(c \approx 13.74\).

\(c = \frac{8 \times \sin(80^{\circ})}{\sin(35^{\circ})} \approx 13.74\)

Final Answer

\(b \approx 12.64,\; c \approx 13.74\)
See Example 2 Hide Example 2

Problem

\(A = 50^{\circ},\; B = 55^{\circ},\; a = 14\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the Law of Sines.
  3. Put the known values into the Law of Sines.
  4. Work out angle C with the angle sum of a triangle.
  5. Find side b.
  6. Find side c.

Formula

Formula: Law of Sines

Each side divided by the sine of the angle opposite it gives the same value, so one known pair finds the missing sides.

\(\frac{a}{\sin(A)} = \frac{b}{\sin(B)} = \frac{c}{\sin(C)}\)

Formula: Angle Sum of a Triangle

The three angles of a triangle add up to 180°, which gives the third angle C.

\(A + B + C = 180^{\circ}\)

Step 1

Step 1 - Set up the problem.

In this problem: Two angles and the side opposite one of them are known: \(A = 50^{\circ}\), \(B = 55^{\circ}\) and \(a = 14\), and sides \(b\) and \(c\) are missing.

\(A = 50^{\circ},\; B = 55^{\circ},\; a = 14\)
A B C 50° 55° 14 b c

Step 2

Step 2 - Write the Law of Sines.

In this problem: The Law of Sines says each side and the sine of the angle opposite it keep the same ratio, so \(\frac{a}{\sin(A)} = \frac{b}{\sin(B)} = \frac{c}{\sin(C)}\).

\(\frac{a}{\sin(A)} = \frac{b}{\sin(B)} = \frac{c}{\sin(C)}\)

Step 3

Step 3 - Put the known values into the Law of Sines.

In this problem: Put \(a = 14\), \(A = 50^{\circ}\) and \(B = 55^{\circ}\) into the formula. Angle \(C\) is not known yet, so it stays as it is for now.

\(\frac{14}{\sin(50^{\circ})} = \frac{b}{\sin(55^{\circ})} = \frac{c}{\sin(C)}\)

Step 4

Step 4 - Work out angle C with the angle sum of a triangle.

In this problem: Angle \(C\) is still missing. The three angles of any triangle add up to \(180^{\circ}\), so it comes from \(A + B + C = 180^{\circ}\).

\(A + B + C = 180^{\circ}\)

Step 4a

Step 4a - Put the two known angles into the angle sum.

In this problem: Replacing \(A\) with \(50^{\circ}\) and \(B\) with \(55^{\circ}\) gives \(50^{\circ} + 55^{\circ} + C = 180^{\circ}\).

\(50^{\circ} + 55^{\circ} + C = 180^{\circ}\)

Step 4b

Step 4b - Solve for angle C.

In this problem: Taking \(50^{\circ}\) and \(55^{\circ}\) away from \(180^{\circ}\) leaves \(75^{\circ}\).

\(C = 180^{\circ} - 50^{\circ} - 55^{\circ} = 75^{\circ}\)

Step 4c

Step 4c - Put angle C into the Law of Sines.

In this problem: Swap \(C\) in step 3 for \(75^{\circ}\).

\(\frac{14}{\sin(50^{\circ})} = \frac{b}{\sin(55^{\circ})} = \frac{c}{\sin(75^{\circ})}\)

Step 5

Step 5 - Find side b.

In this problem: Take the pair with \(b\) and the known pair \(\frac{14}{\sin(50^{\circ})}\) from step 4c: \(\frac{b}{\sin(55^{\circ})} = \frac{14}{\sin(50^{\circ})}\).

\(\frac{b}{\sin(55^{\circ})} = \frac{14}{\sin(50^{\circ})}\)

Step 5a

Step 5a - Rearrange to make b the subject.

In this problem: Making \(b\) the subject gives \(b = \frac{14 \times \sin(55^{\circ})}{\sin(50^{\circ})}\), worked through below.

\(b = \frac{14 \times \sin(55^{\circ})}{\sin(50^{\circ})}\)

Step 5b

Step 5b - Solve for side b.

In this problem: Working out \(\frac{14 \times \sin(55^{\circ})}{\sin(50^{\circ})}\) gives \(b \approx 14.97\).

\(b = \frac{14 \times \sin(55^{\circ})}{\sin(50^{\circ})} \approx 14.97\)

Step 6

Step 6 - Find side c.

In this problem: Take the pair with \(c\) and the known pair \(\frac{14}{\sin(50^{\circ})}\) from step 4c: \(\frac{c}{\sin(75^{\circ})} = \frac{14}{\sin(50^{\circ})}\).

\(\frac{c}{\sin(75^{\circ})} = \frac{14}{\sin(50^{\circ})}\)

Step 6a

Step 6a - Rearrange to make c the subject.

In this problem: Making \(c\) the subject gives \(c = \frac{14 \times \sin(75^{\circ})}{\sin(50^{\circ})}\), worked through below.

\(c = \frac{14 \times \sin(75^{\circ})}{\sin(50^{\circ})}\)

Step 6b

Step 6b - Solve for side c.

In this problem: Working out \(\frac{14 \times \sin(75^{\circ})}{\sin(50^{\circ})}\) gives \(c \approx 17.65\).

\(c = \frac{14 \times \sin(75^{\circ})}{\sin(50^{\circ})} \approx 17.65\)

Final Answer

\(b \approx 14.97,\; c \approx 17.65\)

Notes and Practice Mode

A B C a b c

Example Problems

Click one to load it into the box and solve it.