Trigonometry

Law of Sines

Last updated: March 2026 · Advanced
Before you start

You should be comfortable with:

Real-world applications
📐
Carpentry

Measurements, material estimation, cutting calculations

Electrical

Voltage drop, wire sizing, load balancing

SOH CAH TOA only works for right triangles. But most real-world triangles — a plot of land, a roof truss, a surveying problem — are not right triangles. The law of sines lets you solve any triangle when you have a matched side-angle pair.

The Formula

For any triangle with sides aa, bb, cc opposite angles AA, BB, CC:

asinA=bsinB=csinC\frac{a}{\sin A} = \frac{b}{\sin B} = \frac{c}{\sin C}

This can also be written with sines in the numerator:

sinAa=sinBb=sinCc\frac{\sin A}{a} = \frac{\sin B}{b} = \frac{\sin C}{c}

The law says: the ratio of any side to the sine of its opposite angle is the same for all three sides of the triangle.

Law of Sines — Side-Angle Pairs

ABCabcSide a is opposite angle A, side b opposite B, side c opposite C

When to Use the Law of Sines

You need the law of sines when you have a matched pair — a side and the angle directly opposite it — plus one more piece of information:

Given InformationCaseWhat You Can Find
Two angles + one sideAAS or ASAThe remaining sides
Two sides + an angle opposite one of themSSAThe remaining angle (ambiguous — see below)

Memory aid: If you know a side and the angle across from it, start with the law of sines. If you don’t have a matched pair (e.g., SAS or SSS), use the law of cosines instead.

Worked Examples

Example 1: Solving a Triangle (AAS)

In triangle ABCABC: A=40°A = 40°, B=75°B = 75°, and a=10a = 10. Find side bb.

Step 1 — Find the third angle:

C=180°40°75°=65°C = 180° - 40° - 75° = 65°

Step 2 — Set up the law of sines:

asinA=bsinB\frac{a}{\sin A} = \frac{b}{\sin B}

10sin40°=bsin75°\frac{10}{\sin 40°} = \frac{b}{\sin 75°}

Step 3 — Solve for bb:

b=10×sin75°sin40°=10×0.96590.6428=9.6590.6428=15.03b = \frac{10 \times \sin 75°}{\sin 40°} = \frac{10 \times 0.9659}{0.6428} = \frac{9.659}{0.6428} = 15.03

Answer: b15.03b \approx 15.03

Example 2: Finding All Remaining Parts (ASA)

In triangle ABCABC: A=50°A = 50°, C=70°C = 70°, and b=12b = 12 (the side between angles A and C). Find all remaining parts.

Step 1 — Find angle BB:

B=180°50°70°=60°B = 180° - 50° - 70° = 60°

Step 2 — Find side aa:

asin50°=12sin60°\frac{a}{\sin 50°} = \frac{12}{\sin 60°}

a=12×sin50°sin60°=12×0.76600.8660=10.61a = \frac{12 \times \sin 50°}{\sin 60°} = \frac{12 \times 0.7660}{0.8660} = 10.61

Step 3 — Find side cc:

c=12×sin70°sin60°=12×0.93970.8660=13.02c = \frac{12 \times \sin 70°}{\sin 60°} = \frac{12 \times 0.9397}{0.8660} = 13.02

Answer: B=60°B = 60°, a10.61a \approx 10.61, c13.02c \approx 13.02

The Ambiguous Case (SSA)

When you know two sides and an angle opposite one of them (SSA), the law of sines can produce zero, one, or two valid triangles. This is called the ambiguous case, and it is the trickiest part of the law of sines.

Why It Happens

The equation sinB=bsinAa\sin B = \frac{b \sin A}{a} can have:

  • No solution — if the result is greater than 1 (impossible for sine)
  • One solution — if B=90°B = 90°, or if the second possible angle makes the angle sum exceed 180°
  • Two solutions — if both BB and 180°B180° - B produce valid triangles

Example 3: SSA with Two Solutions

In triangle ABCABC: a=8a = 8, b=12b = 12, and A=30°A = 30°. Find angle BB.

sinAa=sinBb\frac{\sin A}{a} = \frac{\sin B}{b}

sinB=bsinAa=12×sin30°8=12×0.58=0.75\sin B = \frac{b \sin A}{a} = \frac{12 \times \sin 30°}{8} = \frac{12 \times 0.5}{8} = 0.75

B=sin1(0.75)=48.59°B = \sin^{-1}(0.75) = 48.59°

But sine is also positive in Quadrant II, so BB could also be:

B2=180°48.59°=131.41°B_2 = 180° - 48.59° = 131.41°

Check both solutions:

  • Solution 1: A+B=30°+48.59°=78.59°A + B = 30° + 48.59° = 78.59°C=101.41°C = 101.41° ✓ (valid)
  • Solution 2: A+B2=30°+131.41°=161.41°A + B_2 = 30° + 131.41° = 161.41°C=18.59°C = 18.59° ✓ (also valid)

Answer: This triangle has two valid solutionsB48.59°B \approx 48.59° or B131.41°B \approx 131.41°.

Quick Check for the Ambiguous Case

After finding sinB\sin B:

  1. If sinB>1\sin B > 1no triangle exists
  2. If sinB=1\sin B = 1one right triangle (B=90°B = 90°)
  3. If sinB<1\sin B < 1 → calculate BB and 180°B180° - B, then check if each makes the angle sum valid

Real-World Application: Surveying — Distance Across a River

A surveyor needs to find the distance to a point across a river without crossing it.

Setup: The surveyor stands at point AA and spots a landmark at point BB across the river. They walk 100 meters along the riverbank to point CC. They measure angle A=85°A = 85° (between the riverbank and the line of sight to BB) and angle C=62°C = 62°.

Step 1 — Find angle BB:

B=180°85°62°=33°B = 180° - 85° - 62° = 33°

Step 2 — Apply the law of sines. Side AC=100AC = 100 m is opposite angle BB.

ACsinB=ABsinC\frac{AC}{\sin B} = \frac{AB}{\sin C}

AB=100×sin62°sin33°=100×0.88290.5446=162.1 mAB = \frac{100 \times \sin 62°}{\sin 33°} = \frac{100 \times 0.8829}{0.5446} = 162.1 \text{ m}

Answer: The landmark is approximately 162 meters from the surveyor’s starting point — measured without ever crossing the river.

Common Mistakes

  1. Forgetting the ambiguous case. When using SSA, always check for two possible solutions.
  2. Using the law of sines without a matched pair. You need to know a side AND its opposite angle. If you only have SAS or SSS, use the law of cosines.
  3. Not finding the third angle first. In AAS/ASA problems, always compute the missing angle before applying the law of sines.
  4. Dividing instead of cross-multiplying. Set up asinA=bsinB\frac{a}{\sin A} = \frac{b}{\sin B}, then solve: b=asinBsinAb = \frac{a \sin B}{\sin A}.

Practice Problems

Test your understanding with these problems. Click to reveal each answer.

Problem 1: In triangle ABCABC: A=50°A = 50°, C=70°C = 70°, and c=15c = 15. Find side aa.

We already have a matched pair (C=70°C = 70° with c=15c = 15), so apply the law of sines directly:

asinA=csinC\frac{a}{\sin A} = \frac{c}{\sin C}

a=15×sin50°sin70°=15×0.76600.9397=12.23a = \frac{15 \times \sin 50°}{\sin 70°} = \frac{15 \times 0.7660}{0.9397} = 12.23

Answer: a12.23a \approx 12.23

Problem 2: In triangle ABCABC: a=20a = 20, A=35°A = 35°, and B=100°B = 100°. Find side bb.

We already have a matched pair (A=35°A = 35° with a=20a = 20), so apply the law of sines directly:

bsinB=asinA\frac{b}{\sin B} = \frac{a}{\sin A}

b=20×sin100°sin35°=20×0.98480.5736=34.34b = \frac{20 \times \sin 100°}{\sin 35°} = \frac{20 \times 0.9848}{0.5736} = 34.34

Answer: b34.34b \approx 34.34

Problem 3: In triangle ABCABC: a=10a = 10, b=15b = 15, and A=25°A = 25°. How many valid triangles exist? Find angle BB.

sinB=15×sin25°10=15×0.422610=0.6339\sin B = \frac{15 \times \sin 25°}{10} = \frac{15 \times 0.4226}{10} = 0.6339

B1=sin1(0.6339)=39.34°B_1 = \sin^{-1}(0.6339) = 39.34°

B2=180°39.34°=140.66°B_2 = 180° - 39.34° = 140.66°

Check: A+B2=25°+140.66°=165.66°A + B_2 = 25° + 140.66° = 165.66°C=14.34°C = 14.34°

Both solutions are valid. Answer: Two valid triangles. B39.34°B \approx 39.34° or B140.66°B \approx 140.66°.

Problem 4: A surveyor measures triangle PQRPQR with P=48°P = 48°, Q=64°Q = 64°, and PQ=200PQ = 200 m. Find side QRQR.

R=180°48°64°=68°R = 180° - 48° - 64° = 68°. Side PQ=r=200PQ = r = 200 m (opposite angle RR).

QRsinP=PQsinR\frac{QR}{\sin P} = \frac{PQ}{\sin R}

QR=200×sin48°sin68°=200×0.74310.9272160.29 mQR = \frac{200 \times \sin 48°}{\sin 68°} = \frac{200 \times 0.7431}{0.9272} \approx 160.29 \text{ m}

Answer: QR160.29QR \approx 160.29 meters.

Problem 5: In triangle ABCABC: a=6a = 6, b=4b = 4, and A=100°A = 100°. Does this SSA case have 0, 1, or 2 solutions?

sinB=4×sin100°6=4×0.98486=0.6565\sin B = \frac{4 \times \sin 100°}{6} = \frac{4 \times 0.9848}{6} = 0.6565

B1=sin1(0.6565)=41.03°B_1 = \sin^{-1}(0.6565) = 41.03°

B2=180°41.03°=138.97°B_2 = 180° - 41.03° = 138.97°

Check B2B_2: A+B2=100°+138.97°=238.97°A + B_2 = 100° + 138.97° = 238.97° — exceeds 180°, so B2B_2 is invalid.

Answer: Only one valid triangle with B41.03°B \approx 41.03°.

Key Takeaways

  • The law of sines states asinA=bsinB=csinC\frac{a}{\sin A} = \frac{b}{\sin B} = \frac{c}{\sin C}
  • Use it when you have a matched side-angle pair (AAS, ASA, or SSA)
  • The SSA (ambiguous) case can produce 0, 1, or 2 valid triangles — always check
  • If you don’t have a matched pair (SAS or SSS), use the law of cosines instead
  • The law of sines is essential for surveying, navigation, and any indirect measurement problem

Return to Trigonometry for more topics in this section.

Last updated: March 28, 2026