Law of Sines Calculator
Solve triangles fast using the Law of Sines: a/sin(A) = b/sin(B) = c/sin(C). Includes a SSA ambiguous case checker (0 / 1 / 2 solutions), a clean triangle diagram, and student-friendly step-by-step.
Opposite pairs (super important)
Angle A is opposite side a, angle B opposite b, angle C opposite c. If you mismatch opposite pairs, you’ll get nonsense.
Background
The Law of Sines connects each side of a triangle to the sine of its opposite angle: a/sin(A)=b/sin(B)=c/sin(C). It’s the go-to tool when you know ASA/AAS (two angles and a side) or SSA (two sides and a non-included angle), where the ambiguous case can produce 0, 1, or 2 valid triangles.
How to use this calculator
- Pick a mode: Solve triangle, Missing side, or Missing angle.
- Choose degrees or radians, then enter your given values.
- For SSA, check the ambiguous-case output to see whether there are 0, 1, or 2 triangles.
- Use the diagram to visually confirm your opposite pairs: A ↔ a, B ↔ b, C ↔ c.
How this calculator works
- Law of Sines: a/sin(A)=b/sin(B)=c/sin(C).
- Angle sum: A+B+C=180° (or π in radians).
- SSA ambiguity: because sin(θ)=sin(180°−θ), SSA can yield two triangles.
Formula & Equation Used
Law of Sines: a/sin(A)=b/sin(B)=c/sin(C)
Angle sum: C = 180° − A − B (or C=π−A−B)
SSA helper: sin(B)=b·sin(A)/a, with possible B₂=180°−B₁
Example Problem & Step-by-Step Solution
Example 1 — ASA
Given A=45°, B=65°, and a=12. Solve the triangle.
- Compute the third angle: C=180°−45°−65°=70°.
- Compute the common ratio: k=a/sin(A)=12/sin(45°).
- Find missing sides: b=k·sin(B), c=k·sin(C).
Example 2 — SSA (two solutions possible)
Given A=30°, a=10, b=14. Determine how many triangles exist, then solve.
- Compute h=b·sin(A)=14·sin(30°)=7.
- Since h<a<b (7 < 10 < 14), there are two possible triangles.
- Compute sin(B)=b·sin(A)/a, then B₁=sin⁻¹(...) and B₂=180°−B₁.
- For each solution, compute C=180°−A−B, then c=a·sin(C)/sin(A).
Example 3 — Missing side (A, a, B → b)
Given A=40°, a=9, and B=65°. Find side b.
- Start with the Law of Sines proportion: a/sin(A)=b/sin(B).
- Solve for b: b = a·sin(B)/sin(A).
- Plug in: b = 9·sin(65°)/sin(40°).
- Compute: b ≈ 12.68.
Quick sanity check: since B is bigger than A, side b should be bigger than a — and it is.
Common mistakes
- Opposite-pair mismatch: using a with B, etc.
- SSA trap: forgetting the possible second angle 180°−θ.
- Radians vs degrees: typing degrees while your calculator is in radians (or vice versa).
Frequently Asked Questions
Q: When is the Law of Sines the best tool?
When you have ASA/AAS or SSA. If you have SAS or SSS, Law of Cosines is often the better starting point.
Q: Why does SSA sometimes give two triangles?
Because sin(θ)=sin(180°−θ). So an arcsin step can produce a second valid angle.
Q: How do I classify the triangle?
If one angle is 90° → right. If all angles < 90° → acute. If one angle > 90° → obtuse.