Last verified · v1.0
Calculator · math
Ssa Triangle Calculator (Law Of Sines, Ambiguous Case)
Calculate SSA triangle angles via the Law of Sines. Handles the ambiguous case — returns both valid solutions or flags when no triangle exists.
Inputs
Angle B (opposite side b)
—
Explain my result
Get a plain-English breakdown of your result with practical next steps.
The formula
How the
result is
computed.
Understanding the SSA Triangle Calculator (Law of Sines — Ambiguous Case)
The SSA configuration — two known sides and a non-included angle — is the only standard triangle setup that can yield zero, one, or two valid triangles from identical inputs. This phenomenon, called the ambiguous case, arises because the given angle is not enclosed between the two known sides, leaving geometric ambiguity about how many triangles satisfy the constraints. The SSA triangle calculator resolves this ambiguity by applying the Law of Sines and systematically testing both solution branches against validity conditions before returning a result.
Variables
- a — length of the side lying opposite the known angle A
- b — length of the second known side, opposite the unknown angle B that the calculator returns
- A — the known angle in degrees, opposite side a
- Solution branch — selects whether to return the acute angle B₁ or the obtuse alternative B₂ = 180° − B₁; returns 0 if the chosen branch does not form a valid triangle
The Law of Sines Formula and Its Derivation
The Law of Sines, described in the Oregon Institute of Technology Math 112 Trigonometry Notes and the UNC Chapel Hill Math 130 Trigonometry Course Notes, states that for any triangle with sides a, b, c opposite angles A, B, C respectively, the following ratio holds constant:
a / sin A = b / sin B = c / sin C
To solve the SSA case for angle B, isolate the first two ratios and cross-multiply:
b × sin A = a × sin B
Dividing both sides by a isolates sin B:
sin B = (b × sin A) / a
Applying the arcsine function yields the first solution branch, always an acute angle between 0° and 90°:
B₁ = arcsin((b × sin A) / a)
Because the sine function is symmetric about 90° — that is, sin(θ) = sin(180° − θ) — a second angle produces the same sine value. The obtuse alternative is therefore:
B₂ = 180° − B₁
Both branches are validated by computing C = 180° − A − B and confirming C > 0°. Any branch where C ≤ 0° does not form a real triangle and is reported as invalid.
The Ambiguous Case: Determining the Number of Solutions
As documented in the Rochester Institute of Technology's Ambiguous Triangles reference sheet, the number of valid triangles depends on the altitude h = b × sin A and the relative magnitudes of a, b, and h. Understanding these conditions before calculating prevents misinterpretation of results.
When Angle A Is Acute (A < 90°)
- a < h: No triangle exists — side a is too short to reach the opposite baseline, so no valid triangle closes.
- a = h: Exactly one right triangle exists, with angle B = 90°.
- h ≤ a < b: Two distinct triangles exist — the classic ambiguous case where both B₁ and B₂ are valid.
- a ≥ b: Exactly one triangle exists; B₂ would push the angle sum past 180°, so only B₁ is valid.
When Angle A Is Obtuse or Right (A ≥ 90°)
- a ≤ b: No triangle exists — a side opposite an obtuse angle must be the longest side.
- a > b: Exactly one triangle exists and B₁ is the unique valid solution.
Worked Example
Given a = 10, b = 14, and A = 35°, first compute sin B:
sin B = (14 × sin 35°) / 10 = (14 × 0.5736) / 10 ≈ 0.8030
First branch: B₁ = arcsin(0.8030) ≈ 53.5°, giving C₁ = 180° − 35° − 53.5° = 91.5° (valid, C₁ > 0°).
Second branch: B₂ = 180° − 53.5° = 126.5°, giving C₂ = 180° − 35° − 126.5° = 18.5° (also valid). Both triangles exist for these inputs, illustrating the two-solution ambiguous case.
Practical Applications
Land surveyors apply SSA calculations when measuring parcels across rivers or structures where direct access is impossible — two distances and one remote angle are measurable, but the included angle is not. Maritime and aerial navigation systems use the Law of Sines for bearing and course corrections when two waypoint distances and a departure angle are known. Structural engineers apply SSA geometry to analyze cable-stayed bridge and roof-truss configurations, and astronomers use the same framework for stellar parallax measurements where two baseline distances and one observation angle define the geometry without a direct distance reading.
Reference