How to Use the Law of Sines Calculator
This law of sines calculator supports AAS, ASA, and SSA configurations — select your known configuration using the mode buttons. Then enter the known angles (in degrees) and sides. The calculator fills in all remaining elements: the third angle, any missing sides, the area (½ab·sin(C)), and the perimeter. For SSA, it detects and reports both solutions if the ambiguous case applies.
For problems where you know two sides and the included angle (SAS), or all three sides (SSS), use our Law of Cosines calculator instead.
The Law of Sines Formula
For any triangle with sides a, b, c and opposite angles A, B, C:
a / sin(A) = b / sin(B) = c / sin(C) = 2R
Where R is the circumradius (radius of the circle passing through all three vertices). This means each side divided by the sine of its opposite angle gives the same constant — a powerful relationship for solving triangles when angle-side pairs are known.
AAS — Two Angles and a Non-Included Side
Given A, B, and side a (opposite to A): find C = 180° − A − B, then b = a·sin(B)/sin(A) and c = a·sin(C)/sin(A). AAS is straightforward — exactly one triangle is possible.
ASA — Two Angles and the Included Side
Given A, C, and side b (between A and C): find B = 180° − A − C, then use the sine ratio. ASA also produces exactly one triangle.
The Ambiguous SSA Case
SSA (two sides and a non-included angle) is the only case that can produce 0, 1, or 2 valid triangles. Given angle A, opposite side a, and adjacent side b:
- Compute sin(B) = b·sin(A)/a
- If sin(B) > 1 → no triangle exists (the side a is too short to reach the opposite vertex)
- If sin(B) = 1 → exactly one right triangle (B = 90°)
- If sin(B) < 1 → two possible angles: B = arcsin(sin(B)) or B = 180° − arcsin(sin(B)). Check whether each leads to a valid triangle (all angles positive and summing to 180°)
The second solution only exists if A is acute and a < b. This ambiguity is a fundamental property of trigonometry — it cannot be resolved without additional information about the triangle.
Finding Triangle Area with the Law of Sines
Once all elements are known, area = ½ × a × b × sin(C) where C is the angle included between sides a and b. If you only have angles and one side, this calculator derives all sides first and then computes the area. For a triangle with A = 40°, B = 60°, a = 10: C = 80°, b = 10·sin(60°)/sin(40°) ≈ 13.47, c = 10·sin(80°)/sin(40°) ≈ 15.32, area = ½ × 10 × 13.47 × sin(80°) ≈ 66.36 square units.
For right triangles specifically, see our Pythagorean theorem calculator which handles those more directly.
Common Mistakes When Using the Law of Sines
- Using Law of Sines for SAS or SSS — you need a known angle-side opposite pair; SAS and SSS require the Law of Cosines
- Ignoring the SSA ambiguity — always check whether a second solution exists when given SSA
- Mixing up which side is opposite which angle — side a is always opposite angle A, b opposite B, c opposite C
- Angle sum error — always verify A + B + C = 180°; rounding errors can accumulate
- Using degrees vs radians — make sure your calculator (or this one) is set to degrees when working with angles in degrees
Sources & References
- Law of sines — Wikipedia
- Solution of triangles — Wikipedia