Law of Sines Formula

The law of sines states that in any triangle, the ratio of a side's length to the sine of its opposite angle remains constant across all three side-angle pairs. This relationship also equals the diameter of the circumcircle (the circle passing through all three vertices).

a / sin(α) = b / sin(β) = c / sin(γ)

  • a, b, c — The three sides of the triangle
  • α, β, γ — The angles opposite to sides a, b, and c respectively

When and How to Use the Law of Sines

Apply the law of sines when your triangle fits one of these scenarios:

  • AAS (Angle-Angle-Side): You know two angles and one side. Calculate the remaining two sides directly.
  • ASA (Angle-Side-Angle): You know two angles and the side between them. Find the other sides.
  • SSA (Side-Side-Angle): You know two sides and an angle opposite one of them. This case can yield zero, one, or two valid triangles (the ambiguous case).

To find a missing side, rearrange the formula: a = b × sin(α) / sin(β). To find a missing angle, use the inverse sine: α = arcsin(a × sin(β) / b).

Unlike the law of cosines (which requires three sides or two sides and the included angle), the sine rule is simpler when you already know angles. It avoids squaring terms and works elegantly with angle-heavy problems.

The Ambiguous Case (SSA)

When you know two sides and an angle opposite one of them (SSA), the triangle may not be unique. This ambiguity arises only under specific conditions:

  • The known angle is acute (less than 90°)
  • The side opposite the known angle is shorter than the other known side
  • The side opposite the known angle is longer than the altitude from the opposite vertex

In these situations, two different triangles can satisfy the given measurements. The law of sines calculator checks for this by computing whether a second solution exists. If both solutions are geometrically valid, both will be displayed. Understanding this subtlety prevents accepting a single answer when multiple configurations are possible.

Law of Sines vs. Law of Cosines

Choosing between these two foundational rules depends on what information you possess:

  • Law of Sines: Use when you have two angles and one side, or two sides and an angle opposite one of them. Faster computation, fewer arithmetic steps.
  • Law of Cosines: Use when you have all three sides (SSS), or two sides and the angle between them (SAS). Essential when angles are sparse but side measurements are complete.

A simple decision rule: if your known angle is opposite a known side, reach for the sine rule. If your angle sits between two known sides, use the cosine rule.

Common Pitfalls and Considerations

Avoid these frequent errors when applying the law of sines:

  1. Angle-Side Correspondence — Always verify that each angle matches its opposite side. In a triangle labeled with vertices A, B, C, angle A is opposite side a. Swapping these destroys the calculation. Double-check your diagram before entering values.
  2. Degree vs. Radian Mode — Ensure your calculator is set to the correct angle unit. Most scientific calculators default to degrees, but programming environments use radians. One radian ≈ 57.3°—mixing units creates wildly incorrect results.
  3. The Ambiguous Case Trap — In SSA scenarios, don't assume uniqueness. If the known side opposite the given angle is shorter than the other known side, calculate both possible angles and triangle configurations. Ignoring the second solution can lead to missing valid answers.
  4. Insufficient Information — The law of sines requires at least one complete angle-side pair where the angle and its opposite side are both known. If you lack this pairing—for instance, knowing only three sides or two sides with the included (not opposite) angle—switch to the law of cosines instead.

Frequently Asked Questions

Does the law of sines work for right triangles?

Yes. The law of sines applies to all triangles, including right triangles. In a right triangle, the 90° angle has a sine value of 1, which simplifies the relationship. However, for right triangles specifically, the Pythagorean theorem and basic trigonometric ratios (sine, cosine, tangent) are often more direct. The law of sines becomes particularly valuable when you lack a right angle and need to solve oblique triangles.

How do I find a missing angle using the law of sines?

Rearrange the formula to isolate the sine of the unknown angle. If you need angle α and know side a, side b, and angle β, use: sin(α) = a × sin(β) / b. Then apply the inverse sine (arcsin) function: α = arcsin(a × sin(β) / b). Be aware that arcsin returns only one value; in the ambiguous SSA case, the second possible angle is 180° minus this result.

What's the difference between law of sines and law of cosines?

The law of sines relates sides to the sines of opposite angles and works best when you know angles and need sides, or vice versa. The law of cosines squares sides and involves the cosine of an angle between them, making it ideal when all three sides are known (SSS), or two sides plus their included angle (SAS). In short: use sines for angle-heavy problems, cosines for side-heavy ones.

Can the law of sines produce two solutions?

Yes, in the ambiguous SSA case. When you know two sides and an angle opposite one of them, two different triangles may satisfy the constraints. This occurs when the known angle is acute, the opposite side is shorter than the other known side, but longer than the altitude to that side. Always check whether a second valid solution exists before finalizing your answer.

How do I apply the law of sines to a 30-60-90 triangle?

Label the sides opposite 30°, 60°, and 90° as a, b, and c respectively. The law of sines gives: a / sin(30°) = b / sin(60°) = c / sin(90°). Since sin(30°) = 0.5, sin(60°) = √3/2, and sin(90°) = 1, this simplifies to: a = c/2 and b = c√3/2. These ratios mean if the shortest side is 1, the middle side is √3 ≈ 1.73, and the hypotenuse is 2.

What information do I need to solve a triangle with the law of sines?

At minimum, you need one complete angle-side pair (an angle and the side opposite it) plus one additional piece of information: either another angle or another side. Valid combinations are AAS (two angles, one side), ASA (two angles, one side), and SSA (two sides, one angle opposite). If you have SSS or SAS instead, use the law of cosines.

More math calculators (see all)