Audited 27 Jul 2026·Last updated 27 Jul 2026·4 citations·Tier 2·0 uses

Law of Sines Calculator

Free Law of Sines calculator: solve SSA triangles including the ambiguous case (0, 1, or 2 solutions), with angle B, angle C, side c, and area.

Law of Sines Calculator

The side directly opposite the angle you know. This is the side the classical SSA ambiguous case revolves around.
The other known side — not opposite the known angle.
The known angle, opposite side a. Strictly between 0° and 180°.
If two triangles are possible, which one?
Angle B (degrees)
53.4641
The angle opposite side b, found via the Law of Sines: sin B = (b·sin A) ⁄ a.
Angle C (degrees)
86.5359
Side c
31.0576
Area
249.5432
Number of triangles that fit (1 or 2)
2

Background.

The Quanta Law of Sines calculator solves the SSA (side-side-angle) case of a triangle — you know one side, a second side, and the angle opposite the first side — using a/sin A = b/sin B = c/sin C. Unlike Quanta's general triangle solver, which deliberately restricts itself to the three unambiguous congruence cases (SSS, SAS, ASA), this calculator exists specifically to handle SSA, including its famous complication: SSA is the one classical input pattern that does not always determine a unique triangle. Depending on the numbers, zero, one, or two distinct triangles can satisfy the same three measurements, and this calculator returns the primary solution, tells you how many solutions actually exist, and lets you request the alternate solution when a second one is genuinely available.

SSA data shows up constantly in fields where you can measure a distance and a bearing angle but not a second angle directly. A ship's navigator sighting two landmarks knows the distance to one landmark, the angle to the other from the ship's heading, and the distance between the landmarks — an SSA triangle. A surveyor triangulating a property corner from a known baseline and a single measured angle faces the same setup. A fire-lookout tower operator reporting a smoke sighting by distance and bearing, cross-referenced against a second tower's known distance, is solving SSA. An artillery or aviation navigation problem involving a known range, a known baseline, and a single bearing angle is SSA as well. In every one of these cases, the ambiguous case is not a mathematical curiosity — it is a genuine, practical possibility that a careless calculator could silently paper over by picking one answer and hiding the fact that a second, equally valid answer exists.

The calculator handles this honestly. It computes h = b·sin(A) — the height of the triangle if angle A's opposite side swept down onto the baseline — and classifies your input using the classical rule: if the known side a is shorter than h, no triangle exists at all, and the calculator raises a clear error rather than returning a nonsensical result. If a equals h exactly, exactly one triangle exists, a right triangle with a 90° angle at B. If a is strictly between h and b, two distinct triangles satisfy the input, one with an acute angle B and one with an obtuse angle B — and the calculator's solution-preference option lets you inspect either one. If a is at least as large as b, exactly one triangle exists, and angle B is always acute.

If you already know you have SSS, SAS, or ASA data instead, Quanta's triangle solver and Law of Cosines calculator are the right tools — both guarantee a unique answer because those input patterns are never ambiguous. Reach for this calculator specifically when your known angle sits opposite one of your two known sides.

What is law of sines calculator?

The Law of Sines states that in any triangle, each side is proportional to the sine of its opposite angle, with the same constant of proportionality for all three: a/sin A = b/sin B = c/sin C = 2R, where R is the radius of the triangle's circumscribed circle. It is the natural tool whenever your known data pairs an angle with its opposite side plus one more measurement — here, a second side.

Given sides a and b and angle A (opposite a), the Law of Sines rearranges to sin B = (b·sin A) / a, which determines angle B up to the fundamental ambiguity of the sine function: sin(θ) = sin(180° − θ) for any angle θ, so both an acute value and its obtuse supplement are mathematically valid candidates for B. Whether both candidates correspond to an actual triangle depends on comparing a, b, and h = b·sin A. If a < h, neither candidate produces a valid triangle (angle sum would exceed 180°) — no solution. If a = h, the two candidates coincide at exactly 90° — one solution, a right triangle. If h < a < b, both candidates yield a valid third angle and a positive third side — two solutions, the ambiguous case. If a ≥ b, only the acute candidate yields a valid triangle — one solution.

Once angle B is resolved, angle C follows from the angle-sum identity (C = 180° − A − B) and side c follows from the Law of Sines again (c = a·sin C / sin A). The area follows from (1/2)·a·b·sin C, the same formula used throughout Quanta's other triangle calculators.

How to use this calculator.

  1. Enter side a — the side directly opposite the angle you know.
  2. Enter side b — the other known side.
  3. Enter angle A in degrees — the known angle, opposite side a.
  4. Leave the solution preference on "Acute" for the default, smaller-angle-B solution. If the calculator reports that two triangles fit (solutionCount = 2), switch to "Obtuse" to see the alternate, larger-angle-B triangle.
  5. Read angle B, angle C, and side c together — they fully describe the resulting triangle alongside your original inputs.
  6. Check solutionCount: 1 means your inputs determine a unique triangle (or you are looking at one of the two ambiguous solutions); 2 confirms you are in the genuinely ambiguous zone and both an acute and an obtuse triangle are valid.
  7. If the calculator raises an error, no triangle exists for your inputs — side a is too short to reach the third vertex given the angle and side b you entered. Double-check your measurements, or confirm you have not mislabeled which angle is A.

The formula.

a⁄sinA = b⁄sinB = c⁄sinC

The Law of Sines follows from dropping a perpendicular height h from vertex C onto side c (or, equivalently, from any vertex onto the opposite side). In the right triangle formed on one side of that perpendicular, h = b·sin A; in the right triangle formed on the other side, h = a·sin B. Setting the two expressions for h equal gives a·sin B = b·sin A, which rearranges to a/sin A = b/sin B. Repeating the construction from a different vertex gives the third ratio, c/sin C, equal to the same value — and that shared value equals 2R, where R is the circumradius, a fact provable by inscribing the triangle in its circumscribed circle and applying the inscribed-angle theorem. The underlying idea — that corresponding sides of similar configurations are proportional — is the same principle Euclid proves for equiangular triangles in Book VI, Proposition 4 of the Elements.

The SSA ambiguous case arises because the equation sin B = (b·sin A)/a can have two valid solutions for B in the range (0°, 180°): an acute angle θ and its supplement 180° − θ, since sine is positive and symmetric about 90° across that whole range. Both are mathematically valid arcsine outputs; the question is whether each one closes into a real triangle once you add angle A and check that the sum stays under 180°. Write h = b·sin A for the height of the configuration. If a < h, side a is too short to reach the baseline at all — neither candidate for B produces a valid triangle, so zero solutions exist. If a = h, the two candidates coincide exactly at B = 90°, giving one right-triangle solution. If h < a < b, both the acute candidate and its obtuse supplement keep angle A + angle B under 180°, so both close into valid, geometrically distinct triangles — two solutions. If a ≥ b, the obtuse candidate always pushes A + B over 180° (because a ≥ b implies A ≥ B, and an obtuse B combined with A ≥ B would itself already exceed 90° + 90°), so only the acute candidate survives — one solution. This calculator computes all four branches explicitly rather than blindly taking the first arcsine result, and raises a descriptive error for the zero-solution case instead of ever returning a not-a-number result.

A worked example.

Example

A surveyor has staked out a baseline of 25 metres (side b) and measured a 40° angle at one end (angle A), with the side opposite that angle — connecting to the point being located — measured at 20 metres (side a). First, check for ambiguity: h = b·sin A = 25 × sin 40° ≈ 25 × 0.6428 ≈ 16.070 metres. Because h (16.070) is less than a (20), which in turn is less than b (25), this is the classical ambiguous case — two distinct triangles satisfy the data, so solutionCount = 2. With the acute preference selected, sin B = h/a = 16.070/20 ≈ 0.8035, giving angle B ≈ 53.46°. Angle C follows from the angle sum: 180° − 40° − 53.46° ≈ 86.54°. Side c follows from the Law of Sines again: c = a·sin C/sin A ≈ 20 × 0.99817/0.64279 ≈ 31.06 metres, and the area is (1/2)×20×25×sin(86.54°) ≈ 249.5 square metres. Had the surveyor instead needed the obtuse alternative — switching solutionPreference to "obtuse" — angle B would instead be 180° − 53.46° ≈ 126.54°, angle C would shrink to 180° − 40° − 126.54° ≈ 13.46°, and side c would shrink correspondingly to roughly 7.24 metres: a real but very different second triangle, satisfying the exact same 20 m / 25 m / 40° input. Without checking solutionCount, the surveyor could easily stake the wrong one of the two valid points.

angle A40
solution Preferenceacute
side B25
side A20

Frequently asked questions.

What is the Law of Sines?
The Law of Sines states that in any triangle, a/sin A = b/sin B = c/sin C = 2R, where a, b, c are the side lengths, A, B, C are the angles opposite those sides respectively, and R is the radius of the triangle's circumscribed circle. It is the standard tool whenever your known data links an angle to its opposite side — as in the SSA case this calculator solves, or in ASA/AAS, which Quanta's triangle solver handles because those cases are never ambiguous.
What is the "ambiguous case" of the Law of Sines, and why does it happen?
SSA (side-side-angle) is ambiguous because the equation sin B = (b·sin A)/a can be satisfied by two different angles in the range 0°–180°: an acute angle and its obtuse supplement, since sine is positive and symmetric about 90° throughout that range. Depending on how the known side a compares to b and to h = b·sin A, both candidates, only one, or neither may actually close into a valid triangle — which is why the same three SSA measurements can correspond to zero, one, or two real triangles.
How do I know if my SSA triangle has 0, 1, or 2 solutions?
Compute h = b·sin A. If your known side a is less than h, there are 0 solutions — no triangle exists. If a equals h, there is exactly 1 solution, a right triangle with B = 90°. If a is strictly between h and b, there are 2 solutions — the ambiguous case. If a is greater than or equal to b, there is exactly 1 solution, with angle B always acute. This calculator performs that classification automatically and reports the count as the solutionCount output.
Why doesn't Quanta's triangle solver handle SSA directly?
Quanta's triangle solver deliberately restricts itself to SSS, SAS, and ASA — the three classical congruence cases that Euclid proved always determine a unique triangle — precisely so it can promise a single, unambiguous answer every time. SSA breaks that promise, so it needed its own dedicated tool: this calculator, which surfaces the ambiguity explicitly (via solutionCount) rather than silently picking one of possibly two valid answers and hiding the other from you.
What's the difference between this calculator and the Law of Cosines calculator?
The Law of Sines relates each side to its opposite angle and is the natural tool when you have that kind of matched pair, as in SSA (this calculator) or ASA. The Law of Cosines, c² = a² + b² − 2ab·cos C, relates all three sides to one angle, and is the natural tool for SSS or SAS, where you know a complete side-angle-side relationship around one vertex rather than an angle-opposite-side pair. Quanta's Law of Cosines calculator is the sibling tool for that case.
How do I get the second (obtuse) solution when two triangles fit?
Switch the solution preference to "Obtuse." This only changes anything when solutionCount = 2 — if your inputs determine a unique triangle, requesting the obtuse alternative returns a clear error, because there genuinely is no second triangle to show you. When two solutions do exist, the obtuse option reflects angle B to its supplement (180° minus the acute value) and recomputes angle C and side c accordingly, giving you the second, equally valid triangle.
What does it mean if the calculator says "no triangle exists"?
It means your three measurements — side a, side b, and angle A — cannot form any real triangle: side a is too short to reach the third vertex given the height implied by side b and angle A. Geometrically, if you tried to swing side a (hinged at the far end of side b) down toward the baseline, it would not reach far enough to close the triangle. Double-check your measurements and make sure angle A is truly the angle opposite side a and not a different angle of the triangle — mislabeling which angle goes with which side is the most common cause of this error.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 313 calculators remain free
  • No billing is enabled
Coming soon