Law of Sines Calculator

Your ultimate tool for solving any oblique triangle with precision. Tackle AAS, ASA, and the tricky SSA (ambiguous) case with detailed, step-by-step solutions.

Unlocking the geometry of triangles...

Start Calculating Now
Ad Placeholder (e.g., 970x90)

Enter Known Values

Results & Visualization

Enter the known values of your triangle and click "Calculate" to see the results here.

The visualizer below will also update to show your solved triangle.

Triangle will be drawn here

🌐 What is the Law of Sines?

The Law of Sines (or Sine Rule) is a fundamental theorem in trigonometry that establishes a relationship between the sides and angles of any triangle. Unlike trigonometric functions like SOH CAH TOA, which only apply to right-angled triangles, the Law of Sines is applicable to all triangles, including oblique triangles (those without a 90° angle).

It's an indispensable tool for solving triangles, a process known as "triangle solution," where you find unknown side lengths and angle measures based on known information.

🧪 The Law of Sines Formula

For any triangle with side lengths a, b, and c, and their opposite angles A, B, and C respectively, the Law of Sines states:

a/sin(A) = b/sin(B) = c/sin(C)

This elegant equation shows that the ratio of the length of a side of a triangle to the sine of its opposite angle is constant for all three sides. You can also express this as:

sin(A)/a = sin(B)/b = sin(C)/c

Our law of sines calculator uses this precise formula to solve for the missing parts of your triangle with incredible accuracy.

🤔 When to Use the Law of Sines?

The Law of Sines is your go-to method when you have a "known pair"—that is, a known side and its opposite angle. You can solve a triangle if you are given:

  • Angle-Angle-Side (AAS): You know two angles and a non-included side (a side that is not between the two angles).
  • Angle-Side-Angle (ASA): You know two angles and the included side (the side that is between the two angles).
  • ⚠️ Side-Side-Angle (SSA): You know two sides and a non-included angle. This is known as the Ambiguous Case because it can result in zero, one, or two possible triangles. Our ambiguous case law of sines calculator is specifically designed to handle this complexity.

You cannot use the Law of Sines if you only know:

  • Side-Side-Side (SSS): All three sides are known. (Use the Law of Cosines for this).
  • Side-Angle-Side (SAS): Two sides and the included angle are known. (Use the Law of Cosines for this).
Ad Placeholder (e.g., 300x250 or responsive)

🚀 How to Use Our Law of Sines Calculator

Our tool is designed for maximum efficiency and clarity. Follow these simple steps to solve your triangle in seconds:

  1. Select the Case: From the dropdown menu, choose the combination of values you know: AAS, ASA, or SSA. This helps the calculator apply the correct logic.
  2. Enter Your Values: Input the known side lengths and angle measures (in degrees) into the corresponding fields. The calculator will guide you by enabling only the relevant fields for the chosen case.
  3. Click "Calculate Triangle": Press the button, and our powerful engine will instantly compute all unknown sides, angles, the triangle's area, and its perimeter.
  4. Review the Results: The "Results & Visualization" panel will populate with the answers. You'll see the calculated values clearly listed.
  5. Analyze the Visualization: A dynamically generated SVG image of your solved triangle will appear, providing a helpful visual reference for the proportions.
  6. Explore Step-by-Step Solutions: The results will include a detailed, step-by-step breakdown of how each value was calculated, making it a fantastic learning tool.

🚨 The Ambiguous Case (SSA) Explained

The Side-Side-Angle (SSA) case is called "ambiguous" because the given information might not form a unique triangle. Depending on the values, you could have zero, one, or two valid triangles. Our ssa law of sines calculator automatically detects and explains which scenario applies.

Let's say you are given side a, side b, and angle A.

Scenario 1: No Triangle Exists (Zero Solutions)

This happens if side a is too short to reach the base of the triangle. Mathematically, this occurs when:

  • a < b * sin(A)

The side a simply isn't long enough to complete the triangle.

Scenario 2: One Triangle Exists (One Solution)

A single, unique triangle is formed under two conditions:

  • Right Triangle: Side a is exactly the length of the altitude (height) of the triangle. a = b * sin(A). This forms one right-angled triangle.
  • Obtuse or Acute Triangle: Side a is longer than or equal to side b. a ≥ b. In this case, side a can only swing to form one possible triangle.

Scenario 3: Two Triangles Exist (Two Solutions)

This is the classic ambiguous case. It occurs when angle A is acute and side a is shorter than side b but long enough to reach the base. Mathematically:

  • b * sin(A) < a < b

In this situation, side a can swing inward to form a second valid triangle. Our calculator will provide the dimensions for both possible triangles, labeling them "Solution 1" and "Solution 2".

📚 Law of Sines Examples

Example 1: Solving an AAS Triangle

Imagine a triangle where: Angle A = 40°, Angle B = 60°, and Side a = 4.

  1. Find Angle C: The sum of angles in a triangle is 180°. So, C = 180° - 40° - 60° = 80°.
  2. Find Side b: Use the Law of Sines: b / sin(B) = a / sin(A).
    b = (a * sin(B)) / sin(A) = (4 * sin(60°)) / sin(40°) ≈ 5.39.
  3. Find Side c: Use the Law of Sines again: c / sin(C) = a / sin(A).
    c = (a * sin(C)) / sin(A) = (4 * sin(80°)) / sin(40°) ≈ 6.13.

Our solve triangles using the law of sines calculator automates this entire process.

Example 2: Solving an SSA Ambiguous Case

Given: Side a = 6, Side b = 8, and Angle A = 35°.

  1. Check for ambiguity: First, calculate b * sin(A) = 8 * sin(35°) ≈ 4.59.
  2. Analyze: Since 4.59 < 6 < 8 (i.e., b * sin(A) < a < b), we know there are two possible solutions.
  3. Find Angle B: sin(B) / b = sin(A) / a.
    sin(B) = (b * sin(A)) / a = (8 * sin(35°)) / 6 ≈ 0.7648.
  4. Solution 1 (Angle B is acute): B1 = arcsin(0.7648) ≈ 49.9°.
    Then, C1 = 180° - 35° - 49.9° = 95.1°.
    And c1 = (a * sin(C1)) / sin(A) ≈ (6 * sin(95.1°)) / sin(35°) ≈ 10.42.
  5. Solution 2 (Angle B is obtuse): B2 = 180° - 49.9° = 130.1°.
    Then, C2 = 180° - 35° - 130.1° = 14.9°.
    And c2 = (a * sin(C2)) / sin(A) ≈ (6 * sin(14.9°)) / sin(35°) ≈ 2.69.

This demonstrates the power of an ambiguous case law of sines calculator in handling complex scenarios effortlessly.

❓ Frequently Asked Questions (FAQ)

Q1: Can I use the Law of Sines for a right triangle?

A: Yes, you can! For a right triangle, one angle (say, C) is 90°, and sin(90°) = 1. The Law of Sines becomes a / sin(A) = b / sin(B) = c / 1. This simplifies to sin(A) = a/c and sin(B) = b/c, which are the basic SOH CAH TOA definitions. While it works, using SOH CAH TOA or the Pythagorean theorem is often more direct for right triangles.

Q2: What is the difference between the Law of Sines and the Law of Cosines?

A: They are both used for oblique triangles, but for different scenarios.
• Use Law of Sines for AAS, ASA, and SSA cases (when you have a known angle-opposite-side pair).
• Use Law of Cosines for SAS and SSS cases (when you don't have a known angle-opposite-side pair).

Q3: Why is it called the "ambiguous" case?

A: "Ambiguous" means open to more than one interpretation. In the SSA case, the given information can be interpreted to form zero, one, or two distinct triangles. The outcome isn't certain without further calculation, hence the name.

Q4: Does this law of sines calculator show steps?

A: Absolutely. One of the core features of this tool is its ability to function as a law of sines calculator with steps. After each calculation, a detailed, easy-to-follow explanation of the formulas used and the values substituted is provided in the results panel.

Q5: Is this tool similar to a law of sines calculator on Mathway or Symbolab?

A: Yes, our calculator provides similar core functionality to popular platforms like Mathway or Symbolab by solving triangle problems. However, our tool is 100% free, requires no sign-up, runs entirely in your browser for privacy and speed, and is specifically optimized for a seamless user experience focused solely on the Law of Sines.

Ad Placeholder (e.g., 728x90)

Support Our Work

❤️ Donate via UPI

If you find this tool helpful, please consider a small donation to keep it free and running.

UPI QR Code

💙 Support via PayPal

International users can contribute securely through PayPal. Every bit helps us improve!

PayPal QR Code for Donation