Law of Sines Calculator

Solve triangles using the Law of Sines. Handles SSA and SAA configurations, detects the ambiguous case, and shows all solutions with step-by-step working.

📐 Law of Sines Calculator

Enter side a (opposite angle A), side b, and angle A

°

Enter side a, angle A (opposite a), and angle B

°
°
Angle A
Angle B
Angle C
Side a
Side b
Side c
Triangle Area
Sine Ratio (a/sin A)

Step-by-step working

📐 What is the Law of Sines?

The Law of Sines (also called the Sine Rule) is a fundamental trigonometric relationship that applies to every triangle, not just right triangles. It states that the ratio of a side length to the sine of its opposite angle is constant throughout the triangle: a/sin(A) = b/sin(B) = c/sin(C). This common ratio equals 2R, where R is the circumradius — the radius of the circle that passes through all three vertices of the triangle.

The Law of Sines is the primary tool for solving triangles in two important situations. The first is SAA (or AAS): when you know one side and two angles, the third angle is found by subtracting from 180°, and the Law of Sines gives the remaining sides. This always has a unique solution. The second is SSA: when you know two sides and a non-included angle — the famous ambiguous case, which may produce zero, one, or two valid triangles depending on the specific values.

Real-world applications are extensive. In surveying and navigation, the Law of Sines is used for triangulation — computing distances to an inaccessible point by observing angles from two known locations. In architecture and structural engineering, it helps calculate forces and lengths in truss structures. In astronomy, it underpins stellar parallax calculations. In physics, oblique collisions and wave refraction problems use the same sine ratio relationships.

This calculator handles both SAA and SSA configurations. For SSA (the ambiguous case), it detects and displays both solutions when they exist — a feature many basic calculators miss. The step-by-step working shows the sine ratio calculation and angle sum verification so you can follow the method and use it in your own work.

📐 Formula

a / sin(A) = b / sin(B) = c / sin(C) = 2R
a, b, c = side lengths of the triangle
A, B, C = angles opposite to sides a, b, c respectively
R = circumradius (radius of the circumscribed circle)
Angle sum: A + B + C = 180°
Area: = ½ × a × b × sin(C)
Example: If a = 7, A = 40°, B = 60°: b = 7 × sin(60°) / sin(40°) ≈ 9.42, C = 80°, c = 7 × sin(80°) / sin(40°) ≈ 10.73

📖 How to Use This Calculator

Steps

1
Choose a configuration — Select SSA if you know two sides and a non-included angle (side a, side b, and angle A). Select SAA if you know one side and two angles (side a, angle A, and angle B).
2
Enter the known values — Type the values in the input fields. All angles must be in degrees and all sides must be positive. For SAA, angles A and B must sum to less than 180°.
3
Read all triangle parts — The calculator shows all three angles, all three sides, the triangle area, and the common sine ratio a/sin(A). If the ambiguous SSA case applies, a second solution is shown below the main result.

💡 Example Calculations

Example 1 — SAA: One Side and Two Angles

Triangle with a = 8, A = 45°, B = 60°

1
Find C: C = 180° − 45° − 60° = 75°
2
Find b: b = a × sin(B) / sin(A) = 8 × sin(60°) / sin(45°) = 8 × 0.8660 / 0.7071 = 9.7980
3
Find c: c = 8 × sin(75°) / sin(45°) = 8 × 0.9659 / 0.7071 = 10.9282
Angles: 45°, 60°, 75°  |  Sides: 8, 9.7980, 10.9282  |  Area = ½ × 8 × 9.7980 × sin(75°) ≈ 37.8564
Try this example →

Example 2 — SSA: Ambiguous Case (Two Solutions)

Triangle with a = 7, b = 10, A = 40°

1
sin(B) = b × sin(A) / a = 10 × sin(40°) / 7 = 10 × 0.6428 / 7 = 0.9182
2
Since 0 < sin(B) < 1, two angles satisfy this: B₁ = arcsin(0.9182) ≈ 66.7°, and B₂ = 180° − 66.7° = 113.3°
3
Solution 1: C₁ = 180°−40°−66.7° = 73.3°, c₁ ≈ 9.66. Solution 2: C₂ = 180°−40°−113.3° = 26.7°, c₂ ≈ 4.55
Two valid triangles exist. The ambiguous case applies — check both solutions.
Try this example →

Example 3 — SSA: Unique Solution (a ≥ b)

Triangle with a = 12, b = 8, A = 50°

1
Since a ≥ b (12 ≥ 8), there is at most one solution. sin(B) = 8 × sin(50°) / 12 = 8 × 0.7660 / 12 = 0.5107
2
B = arcsin(0.5107) ≈ 30.7°. C = 180° − 50° − 30.7° = 99.3°
3
c = 12 × sin(99.3°) / sin(50°) = 12 × 0.9875 / 0.7660 = 15.47
Unique solution: B ≈ 30.7°, C ≈ 99.3°, c ≈ 15.47  |  Area ≈ 36.67
Try this example →

❓ Frequently Asked Questions

What is the Law of Sines?+
The Law of Sines states that a/sin(A) = b/sin(B) = c/sin(C) = 2R for any triangle, where a, b, c are sides, A, B, C are opposite angles, and R is the circumradius. It holds for all triangles — acute, obtuse, and right. The law derives from the fact that the same arc subtends equal inscribed angles in a circle.
When should I use the Law of Sines vs the Law of Cosines?+
Use the Law of Sines for SAA/AAS (one side and two angles) and SSA (two sides and a non-included angle). Use the Law of Cosines for SAS (two sides and the included angle, a² = b² + c² − 2bc cos A) and SSS (all three sides). The mnemonic: if you have an angle–side pair plus one more piece, use the Law of Sines.
What is the ambiguous case of the Law of Sines?+
The ambiguous case occurs with SSA: given sides a, b and angle A (opposite to a). If a < b sin(A): no triangle. If a = b sin(A): one right triangle. If b sin(A) < a < b: two triangles (both B ≈ arcsin(sin B) and 180° − B are valid). If a ≥ b: one triangle. The “ambiguous” label comes from the fact that sin(B) = sin(180°−B), giving two possible angles.
How do you find the missing side using the Law of Sines?+
Set up the proportion: a/sin(A) = x/sin(X), where x is the unknown side and X is its opposite angle. Solve: x = a × sin(X) / sin(A). Example: a = 10, A = 30°, B = 70° → b = 10 × sin(70°) / sin(30°) = 10 × 0.9397 / 0.5 = 18.79. Always identify which side and angle are opposite each other.
What does 2R mean in the Law of Sines?+
The common ratio a/sin(A) = b/sin(B) = c/sin(C) equals 2R, where R is the circumradius — the radius of the circle passing through all three triangle vertices (the circumscribed circle). This is the Inscribed Angle Theorem: an inscribed angle is half the central angle subtending the same arc. So a = 2R sin(A), directly relating side length to the circumradius and opposite angle.
How is the Law of Sines used in navigation and surveying?+
Triangulation uses the Law of Sines to find the distance to an inaccessible point P from two known positions A and B. Measure the baseline AB and the angles PAB and PBA. Then PA/sin(PBA) = AB/sin(APB). This technique was used to survey entire countries in the 18th and 19th centuries, and is the basis of GPS triangulation. Sailors used it to find their distance from a lighthouse by measuring horizontal angles.
Can the Law of Sines be used for obtuse triangles?+
Yes — the Law of Sines works for all triangles including obtuse ones (with one angle > 90°). Note that sin(A) = sin(180°−A), so an obtuse angle and its supplement have the same sine. This is exactly why the SSA ambiguous case can produce two solutions: the obtuse and acute values of B give the same sin(B). The formula a/sin(A) = b/sin(B) holds regardless of whether A, B, C are acute or obtuse.
How do you compute triangle area with the Law of Sines?+
Area = ½ × a × b × sin(C) for any two sides and their included angle. Using the Law of Sines, you can also write Area = a² sin(B) sin(C) / (2 sin(A)), expressing area entirely in terms of one side and two angles. This calculator computes area from the two known sides (or derived sides) and the included angle once the full triangle is solved.
What is the SSS (three sides) case and why does the Law of Sines not apply directly?+
With SSS, you know all three sides but no angle. The Law of Sines needs at least one angle (because it is a ratio involving sin(angle)). Use the Law of Cosines instead: cos(A) = (b² + c² − a²) / (2bc) to find one angle, then use the Law of Sines for the remaining angles. Alternatively, use the Law of Cosines for all three angles independently.
How do you verify a Law of Sines solution?+
Check three things: (1) A + B + C = 180° exactly. (2) All sides and angles are positive. (3) The sine ratio is consistent: a/sin(A) = b/sin(B) = c/sin(C). This calculator shows the common ratio a/sin(A) for direct verification. A quick area cross-check also works: ½ab sin(C) should equal ½ac sin(B) and ½bc sin(A).