CalcMountain

Law of Sines Calculator

Enter two angles and one side to solve the triangle using the law of sines: a/sin(A) = b/sin(B) = c/sin(C). Finds all missing sides and angles.

The Law of Sines is a foundational equation in trigonometry that relates each side of a triangle to the sine of the opposite angle. Written compactly: a/sin(A) = b/sin(B) = c/sin(C). This elegant formula works for any triangle — not just right triangles — making it indispensable for surveying, navigation, astronomy, and engineering.

The Law of Sines complements the Law of Cosines. Together they solve any triangle: - **AAS / ASA**: Law of Sines (two angles plus one side). - **SSS / SAS**: Law of Cosines (three sides or two sides plus included angle). - **SSA**: Law of Sines, but with the famous "ambiguous case" — possibly 0, 1, or 2 triangles.

The common ratio a/sin(A) has a beautiful geometric interpretation: it equals 2R, where R is the circumradius (radius of the circle passing through all three vertices). This connects triangle geometry to circles in a deep way.

Historical context: the Law of Sines was used by Indian astronomers as early as the 9th century, formalized by Persian mathematician Nasir al-Din al-Tusi in the 13th century, and widely adopted in European mathematics during the Renaissance. Today it's a standard tool in any trigonometry course and any field that deals with non-right triangles.

Common applications: surveying (triangulating positions), navigation (sextant-based positioning), astronomy (stellar parallax), engineering (truss analysis), architecture (roof and structural angles), and any geometry involving oblique triangles.

Inputs

Results

Side a

10

Side b

13.473

Side c

15.3209

Angle A

40°

Angle B

60°

Angle C

80°

Area

66.3414 sq units

Perimeter

38.7939

Last updated:

Formula

**Law of Sines:** a/sin(A) = b/sin(B) = c/sin(C) = 2R Where: - a, b, c = sides of triangle - A, B, C = opposite angles - R = circumradius (radius of circle through all vertices) **Common usage forms:** To find a side: a = (sin(A) / sin(B)) × b To find an angle: sin(A) = (a / b) × sin(B), then A = arcsin(...) **Worked example: AAS** Given: A = 40°, B = 60°, a = 10. Find C, b, c. C = 180° − 40° − 60° = 80° (angles sum to 180°). b: a/sin(A) = b/sin(B) 10/sin(40°) = b/sin(60°) b = 10 × sin(60°)/sin(40°) b = 10 × 0.866/0.643 ≈ 13.47 c: 10/sin(40°) = c/sin(80°) c = 10 × sin(80°)/sin(40°) c = 10 × 0.985/0.643 ≈ 15.32 Complete triangle: A = 40°, B = 60°, C = 80°; a = 10, b = 13.47, c = 15.32. **Worked example: ASA** Given: A = 40°, c = 10, B = 60°. Find C, a, b. C = 80° (same as above). c is between A and B (ASA configuration). 10/sin(80°) = a/sin(40°) a = 10 × sin(40°)/sin(80°) = 10 × 0.643/0.985 ≈ 6.53 b = 10 × sin(60°)/sin(80°) ≈ 8.79 **Worked example: SSA (ambiguous case)** Given: a = 8, b = 10, A = 40°. Find B. sin(B)/b = sin(A)/a sin(B) = 10 × sin(40°)/8 = 10 × 0.643/8 ≈ 0.804 B = arcsin(0.804) ≈ 53.5° (one solution) OR B = 180° − 53.5° = 126.5° (also valid since sin is positive in both quadrants 1 and 2) Two possible triangles! Check each: For B = 53.5°: C = 180° − 40° − 53.5° = 86.5° (valid). For B = 126.5°: C = 180° − 40° − 126.5° = 13.5° (valid). Both triangles are possible. This is the SSA ambiguous case. **SSA cases:** | Condition | Solutions | |---|---| | a ≥ b | 1 solution (only B ≤ 90°) | | a < b sin(A) | 0 solutions (impossible) | | a = b sin(A) | 1 solution (right triangle at B) | | b sin(A) < a < b | 2 solutions | | a = b | 1 solution (isosceles) | **Cases where Law of Sines works:** | Case | Description | Use Law of Sines? | |---|---|---| | AAS | 2 angles + side opposite one | Yes (unique) | | ASA | 2 angles + included side | Yes (unique) | | SSA | 2 sides + angle opposite one | Yes (0, 1, or 2 solutions) | | SAS | 2 sides + included angle | No (use Law of Cosines) | | SSS | 3 sides | No (use Law of Cosines) | **Triangle area from Law of Sines:** Area = (1/2) × a × b × sin(C) = (1/2) × a × c × sin(B) = (1/2) × b × c × sin(A) Or in terms of circumradius: Area = (abc) / (4R) **Circumradius from Law of Sines:** R = a / (2 × sin(A)) = b / (2 × sin(B)) = c / (2 × sin(C)) Used for circle/triangle problems. **Sum of angles:** A + B + C = 180° (always for a triangle). Find third angle from two others. **Common applications:** - **Surveying**: triangulating positions from known points. - **Navigation**: sextant + known landmarks → ship position. - **Astronomy**: stellar parallax measurements. - **Engineering**: truss design with non-right angles. - **Construction**: angled rafters, hipped roofs. - **Sports**: angles in pool, archery, basketball. - **Computer graphics**: triangle mesh calculations. **SSA ambiguous case visualization:** Picture angle A at one vertex with side b extending out. Side a hangs from the other end of b. Depending on length of a: - a too short: doesn't reach baseline (0 triangles). - a = b sin(A): exactly reaches perpendicular (1 right triangle). - b sin(A) < a < b: reaches baseline in two places (2 triangles). - a = b: special case (1 triangle, isosceles). - a > b: only one valid configuration (1 triangle). **Numerical considerations:** For very obtuse angles: sin(180° − A) = sin(A). Use arcsin carefully — gives value in [-90°, 90°] only. In SSA, check if 180° − arcsin(value) also gives valid triangle. **Extended Law of Sines:** For triangle inscribed in circle of radius R: a/sin(A) = b/sin(B) = c/sin(C) = 2R Equivalent: any chord of length L subtends angle θ at circumference, with L = 2R sin(θ). **Connection to inscribed angles:** Inscribed angle theorem: angle subtended by chord at circumference is half the angle subtended at center. Law of Sines is consequence of this inscribed-angle property. **Worked example: surveying** Two observers (A, B) are 200 m apart. Both observe object at C. Angle BAC = 65°, angle ABC = 75°. Find ACB: ACB = 180° − 65° − 75° = 40°. Distance from A to C using Law of Sines: AC/sin(75°) = 200/sin(40°) AC = 200 × sin(75°)/sin(40°) = 200 × 0.966/0.643 ≈ 300.4 m Distance from B to C: BC = 200 × sin(65°)/sin(40°) = 200 × 0.906/0.643 ≈ 281.8 m **Common pitfalls:** - **Wrong correspondence**: ensure side opposite the angle. - **Degrees vs radians**: sin() typically uses radians in programming. - **SSA ambiguity**: check for two solutions. - **arcsin range**: only returns values 0-90° (need to check obtuse). - **Angle sum**: third angle = 180° − other two. **Software:** - **Excel**: SIN(RADIANS(angle)) for conversion. - **Python**: math.sin(math.radians(angle)) - **MATLAB**: built-in trig functions (use degrees with sind, asind). - **Calculator**: most scientific calculators have degree mode. - **Geometric calculators**: dedicated triangle solvers. **Triangle inequality:** For valid triangle: each side < sum of other two. Verify before solving. For Law of Sines to give valid solution: - All angles must be positive. - All sides must be positive. - Angle sum must equal 180°. **Connection to Law of Cosines:** - **Law of Sines**: relates sides and opposite angles. - **Law of Cosines**: relates one side to other two and included angle. Use whichever fits the given information. **Common applications:** - **Land surveying**: distances and bearings. - **Navigation**: maritime and aerial. - **Construction**: trusses, roofing, framing. - **Architecture**: structural angles. - **Astronomy**: positional astronomy. - **Sports**: trajectory analysis. - **Robotics**: forward kinematics. - **GPS**: trilateration with angles. **Pitfalls:** - **AAS vs SAA**: same setup, just notation. Treat the same. - **SSA ambiguity**: must check both possible solutions. - **Degree/radian conversion**: programming languages use radians. - **Verifying angle sum**: useful sanity check. - **Choosing right form**: solve for unknown side or angle. - **Significant figures**: input precision affects output.

How to use this calculator

  1. Choose AAS (2 angles + non-included side) or ASA (2 angles + included side).
  2. Enter two angles in degrees.
  3. Enter the known side.
  4. Calculator returns the third angle and the two unknown sides.
  5. For SSA case: check both possible answers (ambiguous).
  6. Triangle sum: third angle = 180° − sum of two known angles.

Worked examples

Surveying triangulation

**Scenario:** Two surveyors 500 m apart on a road. Each measures angle to a tree across the field: 55° and 70° respectively. **Calculation:** Third angle = 180 - 55 - 70 = 55°. Distance from first surveyor to tree: 500 × sin(70°)/sin(55°) = 500 × 0.940/0.819 ≈ 574 m. From second: 500 × sin(55°)/sin(55°) = 500 m. **Result:** Tree is ~574 m and ~500 m from the two stakes. Standard triangulation — used in surveying, navigation, GPS systems.

Truss analysis

**Scenario:** Roof truss with apex angle 60° and base angles 60° each. Vertical members from apex span 4 m base. Length of side rafters? **Calculation:** Triangle: angles 60°, 60°, 60° = equilateral. Side rafters = base = 4 m. **Result:** Equilateral triangle, all sides 4 m. Simple symmetric case. More complex trusses use different angles requiring Law of Sines or Cosines for analysis.

Ambiguous SSA case

**Scenario:** Two sides given (a=8, b=10) and angle A=40° opposite side a. Find B. **Calculation:** sin(B) = (10/8) × sin(40°) = 1.25 × 0.643 = 0.804. B = arcsin(0.804) ≈ 53.5° OR 180-53.5 = 126.5°. **Result:** Two possible triangles: B ≈ 53.5° (acute) or B ≈ 126.5° (obtuse). Check each: 40 + 53.5 + C = 180 → C = 86.5° (valid). 40 + 126.5 + C = 180 → C = 13.5° (also valid). The classic SSA ambiguity — both triangles exist.

When to use this calculator

**Use Law of Sines for:**

- **AAS / ASA**: two angles + one side known. - **SSA**: two sides + angle opposite one (with ambiguity check). - **Surveying**: triangulating positions. - **Navigation**: position from bearings. - **Astronomy**: stellar parallax. - **Engineering**: triangle/truss analysis. - **Architecture**: rafter and roof calculations.

**When to use Law of Cosines instead:**

- **SAS**: two sides + included angle. - **SSS**: three sides. - **When sides are emphasized**: Law of Cosines often more direct.

**Decision flowchart:**

Given: - 2 angles + 1 side → Law of Sines (AAS or ASA). - 2 sides + angle opposite → Law of Sines (SSA, ambiguous). - 2 sides + included angle → Law of Cosines (SAS). - 3 sides → Law of Cosines (SSS).

**Triangle sum reminder:**

A + B + C = 180° for any triangle. Given two angles, third is determined. This is independent of side lengths.

**SSA ambiguity:**

The SSA case (two sides + angle opposite one) can have: - 0 solutions: side too short to reach. - 1 solution: side exactly perpendicular or longer than other. - 2 solutions: side reaches in two places.

Always check both candidates when solving SSA.

**Common applications:**

- **Land surveying**: traditional method before GPS. - **Geological surveying**: terrain mapping. - **Aviation**: triangulation navigation. - **Marine navigation**: positions from lighthouses. - **Astronomical positioning**: star fixes. - **Construction**: roofing angles, post-and-beam frames. - **Engineering**: bridge and tower analysis. - **Sports**: angle of approach in pool, basketball trajectories.

**Numerical methods:**

For programming: B = math.degrees(math.asin(math.sin(math.radians(A)) * b / a))

For SSA: also compute B prime = 180 - B and check validity.

**Pythagorean special case:**

For right triangle (C = 90°): Law of Sines: a/sin(A) = c/sin(90°) = c. So a = c × sin(A) — standard right-triangle trig.

**Connections to other concepts:**

- **Circumradius**: R = a/(2sin A). Useful for circle-circumscribed-triangle problems. - **Area**: Area = (abc)/(4R) using circumradius. - **Inscribed angles**: connection to circle geometry.

**Software:**

- **Excel**: combine SIN, DEGREES, RADIANS, ASIN. - **Python**: math.sin, math.asin (use radians). - **MATLAB**: sind(), asind() for degrees. - **Online triangle solvers**: many tools handle SSA ambiguity automatically. - **CAD**: parametric triangle solving.

**Educational notes:**

Law of Sines is typically introduced in Algebra II or Pre-Calculus. Bridges algebra and geometry. Foundation for understanding more complex trigonometric identities. Essential for AP and college entrance math.

**Common mistakes:**

- **Wrong pairing**: side opposite angle (A with a, B with b, etc.). - **Mixing degrees and radians**: programming languages typically use radians. - **Missing ambiguous case in SSA**: must check both candidates. - **arcsin range**: returns -90° to 90°; obtuse answers need 180° - x. - **Forgetting triangle inequality**: invalid triangles produce nonsense.

**Pitfalls:**

- **Forgetting angles sum to 180°**: easy sanity check. - **SSA ambiguity**: must check both possible solutions. - **Degree/radian confusion**: critical in programming. - **Wrong correspondence**: angle and opposite side must match. - **Negative side length**: indicates impossible triangle. - **Calculation precision**: small angles can produce numerical issues.

Common mistakes to avoid

  • Wrong correspondence of angle and opposite side.
  • Forgetting the SSA ambiguous case (might have 0, 1, or 2 solutions).
  • Mixing degrees and radians in trig functions.
  • Not checking 180° - arcsin(x) as alternative solution.
  • Using Law of Sines for SAS or SSS (need Law of Cosines).
  • Forgetting angles must sum to 180°.
  • arcsin returning value in wrong range.
  • Ignoring triangle inequality (sides too short to form triangle).

Frequently Asked Questions

Sources & further reading

SponsoredShop Top Deals on AmazonSupport CalcMountain — browse top-rated products at no extra cost to you.

Related Calculators