Law of Sines Calculator

Instantly calculate the unknown sides and angles of any triangle.

Understanding the Law of Sines

The Law of Sines is a fundamental trigonometric rule that establishes a proportional relationship between the sides of a triangle and the sines of their corresponding opposite angles. It is incredibly useful for solving triangles when you know either two angles and one side (AAS or ASA) or two sides and an angle opposite one of them (SSA).

The Formula

The formula for the Law of Sines can be written in two equivalent forms:

  • a / sin(A) = b / sin(B) = c / sin(C) (Best for finding a missing side)
  • sin(A) / a = sin(B) / b = sin(C) / c (Best for finding a missing angle)

Where:

  • a, b, c are the lengths of the triangle's sides.
  • A, B, C are the interior angles opposite those respective sides.

When Can You Use the Law of Sines?

To use the Law of Sines effectively to solve a complete triangle, you need to know at least three distinct parts of the triangle, and importantly, one of those known parts must form a "matching pair" (a side and its opposite angle). Specifically, the Law of Sines is used in these scenarios:

  1. AAS (Angle-Angle-Side): You know two angles and a non-included side. You can easily find the third angle (since angles must sum to 180°), and then use the Law of Sines to find the remaining sides.
  2. ASA (Angle-Side-Angle): You know two angles and the included side between them. Again, find the third angle first, then use the Law of Sines.
  3. SSA (Side-Side-Angle): You know two sides and an angle that is NOT between them. This is famously known as the Ambiguous Case.

The Ambiguous Case (SSA) Explained

The SSA case is considered ambiguous because the given information might not result in a single, unique triangle. Depending on the lengths of the sides and the measure of the angle, there could be:

  • No Triangle (0 Solutions): If the side opposite the given angle is too short to reach the other side, a closed triangle cannot be formed. Our calculator will return an "impossible triangle" error in this scenario.
  • Exactly One Triangle (1 Solution): The given information perfectly describes one unique triangle. This happens if it forms a right triangle or if the side opposite the angle is longer than the other given side.
  • Two Different Triangles (2 Solutions): If the side opposite the given angle is longer than the height but shorter than the other given side, two valid triangles can be formed (one acute and one obtuse). Our calculator automatically detects this and provides the Alternative Solution below the primary result.

Why is the Law of Sines Important?

The Law of Sines allows us to move beyond right triangles. While basic trigonometry (SOH CAH TOA) only applies to triangles with a 90-degree angle, the Law of Sines applies to any triangle—acute, obtuse, or right. It is heavily utilized in fields requiring precise spatial calculations, such as surveying, navigation, architecture, and engineering.

Frequently Asked Questions

What is the Law of Sines used for?

The Law of Sines is used to find unknown sides or angles in any triangle. It is particularly useful when you know two angles and one side (AAS or ASA) or two sides and a non-included angle (SSA).

Can the Law of Sines be used on right triangles?

Yes. The Law of Sines works on any triangle, including right triangles. However, for right triangles, basic trigonometric ratios (sine, cosine, tangent) are usually faster and easier to use.

What is the ambiguous case of the Law of Sines?

The ambiguous case occurs when you are given two sides and an angle not included between them (SSA). Because of how the geometry can fold, this specific combination of knowns can result in zero, one, or two possible valid triangles.

Why do the angles of a triangle always sum to 180 degrees?

In Euclidean geometry, the sum of the interior angles of any planar triangle is exactly 180 degrees (or π radians). This property is fundamental when solving triangles, as knowing any two angles immediately gives you the third.

What is the difference between the Law of Sines and the Law of Cosines?

The Law of Sines relates opposite sides and angles using a direct proportion, requiring at least one known side-angle pair. The Law of Cosines is a generalized Pythagorean theorem used when you have three sides (SSS) or two sides and the included angle (SAS), where the Law of Sines cannot be applied initially.