How this calculation works
Both an acute angle and its supplement have the same sine. A candidate is possible only if there is room left for the third angle.
Use sin(B) = b sin(A)/a and test both B and 180°−BA worked example
With A=30°, a=7 and b=10, both angles with sin(B)=5/7 leave a positive third angle.
Good to know
Near a tangency, classification depends on numerical precision.
Reference: OpenStax Algebra and Trigonometry, Trigonometric Applications (opens in a new tab) ↗
Test both angles with the same sine
With A = 30 degrees, opposite side a = 7 and other side b = 10, the sine rule gives sin B = b sin A/a = 5/7. The inverse sine returns about 45.585 degrees, but its supplementary angle, about 134.415 degrees, has the same sine.
Both candidates leave a positive third angle. Their C values are about 104.415 and 15.585 degrees. Applying c = a sin C/sin A gives approximately 13.559 and 3.761 for the remaining side. The SVG constructs both possibilities from a shared vertex and side b, with two circle intersections on the same ray.
Use the altitude threshold to understand ambiguity
For an acute known angle A, the perpendicular altitude b sin A is the minimum opposite side that reaches the ray. In the example it is 5. An a below 5 gives no triangle, a equal to 5 gives one right triangle, and 5 < a < 10 gives two triangles. At a = 10 only one nondegenerate triangle remains.
For an obtuse known angle, the opposite side must exceed the other known side, and at most one triangle exists. Testing A + B < 180 degrees handles these cases without accepting a flat triangle. The Triangle angle bisector length calculator becomes useful after a complete triangle has been identified. Near tangency, rounded input and numerical tolerance can affect whether one or two intersections are distinguished.
A few questions, answered
Why does an inverse sine miss a possibility?
Its principal output covers only one angle. Angles B and 180° − B have equal sine, so both need a triangle-angle check.
Is SSA always ambiguous?
No. Depending on the angle and lengths it can give zero, one or two triangles.