Law Of Sines Interactive Calculator

← Back to Engineering Library

Solving an oblique triangle — one with no 90-degree angle — requires a reliable relationship between its sides and angles, and that's exactly what the Law of Sines provides. Use this Law of Sines calculator to calculate unknown sides and angles using any valid combination of angle-side pairs (AAS, ASA, SSA, and more). It's essential in land surveying, aerospace navigation, structural engineering, and robotics kinematics — anywhere you need to resolve a triangle from indirect measurements. This page includes the formula, a worked example, theory, and FAQ.

What is the Law of Sines?

The Law of Sines states that each side of a triangle divided by the sine of its opposite angle gives the same value for all 3 sides. It lets you find unknown sides or angles in any triangle when you know at least one angle-side pair and one additional measurement.

Simple Explanation

Think of it like a scaling rule for triangles — the bigger the angle opposite a side, the longer that side must be, and the relationship is always proportional. If you know 2 angles and 1 side, you can find everything else. It works for any triangle shape, not just right-angled ones.

📐 Browse all 1000+ Interactive Calculators

Triangle Diagram

Law Of Sines Interactive Calculator Technical Diagram

Law of Sines Calculator

How to Use This Calculator

  1. Select your calculation mode from the dropdown — choose the combination that matches your known values (e.g., ASA, AAS, SSA).
  2. Enter your known angle values in degrees into the angle input fields that appear.
  3. Enter your known side length(s) into the side input fields shown for your selected mode.
  4. Click Calculate to see your result.

📹 Video Walkthrough — Law Of Sines Interactive Calculator

Law Of Sines Interactive Calculator

Law of Sines Interactive Visualizer

Explore how the Law of Sines relates triangle sides and angles through dynamic visualization. Adjust angles and see how the proportional relationships maintain the formula a/sin(A) = b/sin(B) = c/sin(C) in real-time.

Angle A (degrees) 40°
Angle B (degrees) 60°
Side a (units) 70

ANGLE C

80°

SIDE B

94.4

SIDE C

107.2

FIRGELLI Automations — Interactive Engineering Calculators

Law of Sines Equations

Primary Law of Sines Formula

Use the formula below to calculate the proportional relationship between sides and angles in any triangle.

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

Where:

  • a, b, c = lengths of the sides of the triangle (any consistent units: meters, feet, kilometers, etc.)
  • A, B, C = measures of the angles opposite to sides a, b, and c respectively (degrees or radians)

Solving for Unknown Side

Use the formula below to calculate an unknown side when 2 angles and 1 side are known.

a = b × sin(A) / sin(B)

When angle A, side b, and angle B are known, this rearrangement directly yields side a. Similar rearrangements apply for finding sides b or c.

Solving for Unknown Angle

Use the formula below to calculate an unknown angle from 2 known sides and 1 known angle.

sin(A) = a × sin(B) / b
A = arcsin(a × sin(B) / b)

When sides a and b, and angle B are known, this equation yields angle A. Note that the inverse sine function may produce ambiguous solutions in certain SSA (Side-Side-Angle) configurations.

Angle Sum Property

Use the formula below to calculate the third angle once 2 angles are known.

A + B + C = 180°

The sum of interior angles in any triangle always equals 180 degrees (or π radians). This property is frequently combined with the Law of Sines to determine the third angle when two angles are known.

Simple Example

Mode: AAS — Angle A = 40°, Angle B = 60°, Side a = 7 units.

Angle C = 180° − 40° − 60° = 80°

Side b = 7 × sin(60°) / sin(40°) = 7 × 0.8660 / 0.6428 = 9.44 units

Side c = 7 × sin(80°) / sin(40°) = 7 × 0.9848 / 0.6428 = 10.72 units

Theory & Engineering Applications

The Law of Sines represents one of the most elegant relationships in planar trigonometry, extending the utility of right-triangle trigonometry to oblique triangles—those without a 90-degree angle. Unlike the Law of Cosines, which requires knowledge of two sides and an included angle or all three sides, the Law of Sines operates efficiently when dealing with angle-side pairs, making it particularly valuable in scenarios where direct measurement of all sides is impractical or impossible.

Mathematical Foundation and Derivation

The Law of Sines emerges from the geometric properties of triangles inscribed in circles. Consider a triangle ABC inscribed in a circle of radius R. The extended version of the Law of Sines states that a/sin(A) = b/sin(B) = c/sin(C) = 2R, where R is the circumradius of the triangle. This relationship can be proven by dropping perpendiculars from vertices to opposite sides, creating right triangles whose trigonometric relationships yield the proportionality. The elegance of this law lies in its symmetry: each ratio of side to sine of opposite angle remains constant throughout the triangle, providing multiple pathways to solve for unknown quantities.

What many practitioners overlook is that the Law of Sines is fundamentally a statement about areas and projections. The ratio a/sin(A) can be interpreted as twice the area of the triangle divided by the product of sides b and c. This deeper geometric meaning explains why the law fails when sin(A) approaches zero—the triangle degenerates into a line. Understanding this geometric foundation helps engineers recognize when computational instability might occur, particularly in near-collinear configurations common in long-baseline surveying.

The Ambiguous Case: SSA Configuration

One critical non-obvious aspect of the Law of Sines involves the ambiguous case that arises in Side-Side-Angle (SSA) problems. When given two sides and an angle opposite one of them, the configuration may yield zero, one, or two valid triangles. This ambiguity occurs because the arcsine function returns values between -90° and 90°, but supplementary angles (180° - θ) have identical sine values. In practical applications such as GPS triangulation or antenna positioning, failing to account for this ambiguity can lead to solutions that are geometrically valid but physically impossible given constraints.

The ambiguity manifests specifically when the known angle is acute (less than 90°) and the side opposite this angle is shorter than the other known side. In such cases, the perpendicular from the unknown vertex may intersect the opposite side at two distinct points, creating two valid triangles with different shapes but satisfying the same initial conditions. Navigation systems must implement logic to reject invalid solutions based on additional constraints such as direction of travel, known altitude limits, or geographic boundaries.

Computational Considerations and Numerical Stability

From a computational perspective, the Law of Sines exhibits excellent numerical stability for well-conditioned triangles—those where angles differ significantly from 0° or 180° and no angle approaches 90°. However, when angles are very small or approach 180 degrees, the sine function changes slowly, and small errors in angle measurement can propagate dramatically into computed side lengths. In surveying applications spanning kilometers with angular measurements precise to arc-seconds, error propagation analysis becomes essential.

Advanced implementations employ interval arithmetic or Monte Carlo methods to bound solution uncertainty. For example, a surveyor measuring angles to ±0.01° precision in a triangle with a 5.23° angle should expect computed sides to carry relative uncertainties of approximately 0.2%, derived from the derivative ∂(a/b)/∂A ≈ cot(A) when angles are expressed in radians. This sensitivity analysis directly informs instrument selection and measurement protocols in professional practice.

Engineering Applications Across Disciplines

Civil Engineering and Surveying: The Law of Sines forms the mathematical backbone of triangulation networks used to establish geodetic control points. When terrain obstacles prevent direct distance measurement between reference monuments, surveyors establish multiple observation stations and measure angles using theodolites or total stations. By creating chains of overlapping triangles, they propagate positional accuracy across regions spanning hundreds of kilometers. Modern GPS has reduced reliance on pure triangulation, but hybrid approaches combining satellite positioning with terrestrial angle measurements still employ the Law of Sines for local densification and verification.

Aerospace and Navigation: Aircraft navigation systems use the Law of Sines in VOR (VHF Omnidirectional Range) triangulation, where pilots determine position by measuring bearing angles to two or more ground-based transmitters. Given the known separation between transmitters (the baseline), the measured angles form a triangle with the aircraft at one vertex. Real-time computation of position requires rapid solution of these triangles at rates exceeding 10 Hz to support dynamic flight operations. Marine navigation employs identical principles when using shore-based lighthouses or radio beacons for positional fixing.

Structural Analysis: In truss design and analysis, the Law of Sines helps determine member lengths and angles when geometric constraints dictate certain angular relationships. When designing roof trusses with specific pitch angles and span requirements, engineers use the law to compute exact member lengths before fabrication. The precision is critical—a 0.5° angular error in a 15-meter truss can create a 130-millimeter length discrepancy, potentially causing assembly failure or structural weakness.

Robotics and Machine Vision: Robotic manipulators with multiple revolute joints create kinematic chains forming complex spatial triangles. Forward kinematics calculations—determining end-effector position from joint angles—frequently decompose into planar triangle problems solvable via the Law of Sines. Machine vision systems performing stereo triangulation to estimate object distance analyze the geometry of camera baselines and image plane projections, again reducing to oblique triangle solutions where the law provides computational efficiency superior to iterative methods.

Worked Example: Land Surveying Application

A civil engineering firm must determine the distance across a river to establish a property boundary. Direct measurement is impossible due to swift currents and depth. The surveyors establish point A on the near bank and sight point C on the far bank. They measure angle CAB (angle A) as 47.38° using a theodolite with 20-arc-second precision. Moving along the shore to point B, located 235.7 meters from A, they measure angle ABC (angle B) as 68.25°.

Given:

  • Side c (baseline AB) = 235.7 m
  • Angle A (at point A) = 47.38°
  • Angle B (at point B) = 68.25°

Find: The distances AC (side b) and BC (side a) to establish the exact position of boundary point C.

Solution:

Step 1: Calculate angle C using the angle sum property.
Angle C = 180° - 47.38° - 68.25° = 64.37°

Step 2: Apply the Law of Sines to find side a (distance BC).
a / sin(A) = c / sin(C)
a = c × sin(A) / sin(C)
a = 235.7 m × sin(47.38°) / sin(64.37°)
a = 235.7 m × 0.7357 / 0.9015
a = 235.7 m × 0.8161
a = 192.36 m

Step 3: Apply the Law of Sines to find side b (distance AC).
b / sin(B) = c / sin(C)
b = c × sin(B) / sin(C)
b = 235.7 m × sin(68.25°) / sin(64.37°)
b = 235.7 m × 0.9298 / 0.9015
b = 235.7 m × 1.0314
b = 243.10 m

Step 4: Verify the solution using the computed triangle.
Check: The ratio a/sin(A) should equal b/sin(B) and c/sin(C).
192.36 / 0.7357 = 261.47
243.10 / 0.9298 = 261.47
235.7 / 0.9015 = 261.47

All three ratios match to within rounding error, confirming the solution. The boundary point C is located 243.10 meters from point A and 192.36 meters from point B. Given the 20-arc-second angular precision (approximately 0.0056°), the positional uncertainty at point C is approximately ±0.13 m in the perpendicular direction and ±0.07 m along the baseline, well within the ±0.5 m tolerance specified for boundary surveys in most jurisdictions.

This worked example demonstrates the practical power of the Law of Sines in real-world engineering: by measuring only angles and a single baseline distance, surveyors established coordinates for an inaccessible point with precision sufficient for legal property demarcation. The same methodology extends to offshore platform positioning, bridge construction over waterways, and archaeological site mapping where direct access is restricted.

For additional mathematical and engineering calculation tools, visit our comprehensive free engineering calculators library.

Practical Applications

Scenario: Marine Navigation Emergency

Captain Rodriguez is navigating a cargo vessel through fog off the coast when GPS signals become unreliable due to solar interference. She identifies two coastal lighthouses via radar with known separation of 8.7 nautical miles. Using the ship's gyrocompass, she measures bearing angles of 32.5° to lighthouse A and 71.3° to lighthouse B from her current position. The angle at her vessel's position is therefore 180° - 32.5° - 71.3° = 76.2°. Using the Law of Sines with calculator mode "Complete Triangle Solution," she inputs angle A = 32.5°, angle B = 71.3°, and known lighthouse separation c = 8.7 nm. The calculator reveals her distance to lighthouse A is 4.83 nm and to lighthouse B is 8.35 nm, allowing her to triangulate exact position and safely navigate through the shipping channel until GPS service restores. This centuries-old technique remains a critical backup navigation skill that has prevented countless maritime accidents.

Scenario: Architectural Renovation Challenge

Elena, a structural engineer assessing a historic building for seismic retrofit, needs to determine the exact length of replacement roof truss members without removing the existing structure. She measures the angle at the ridge peak as 58.7° and the angle at one supporting wall as 67.4°. The horizontal span between support walls is 11.34 meters. Using the "ASA" calculator mode with angle A = 58.7°, side b (horizontal span) = 11.34 m, and angle B = 67.4°, she calculates the sloped member length as 10.47 meters. This precise measurement allows her to pre-fabricate replacement members in the workshop, minimizing disruption to building operations during the retrofit. The calculation also reveals the third angle (53.9°), helping her specify the exact cutting angles for carpenter crews, eliminating trial-and-error fitting that would waste expensive engineered lumber.

Scenario: Wildfire Monitoring and Evacuation Planning

Forest Service incident commander James is coordinating evacuation of a mountain community threatened by an approaching wildfire. From lookout tower A, fire spotters report the fire at bearing 247° with observed angle of 18.3° below horizontal. From tower B, located 4.87 km away on a different ridge, spotters report bearing 312° with depression angle 22.6°. The geometry creates a triangle with the fire at the third vertex. James uses the "SSA" calculator mode, entering the known tower separation (4.87 km) and the computed angles between the baseline and sight lines. The calculator reveals the fire is 2.74 km from tower A and 3.15 km from tower B, placing it dangerously close to the community's main access road. This precise triangulation, updated every 15 minutes as the fire advances, allows James to time evacuation orders with precision, ensuring residents depart before the road becomes impassable while avoiding premature evacuation that could cause public distrust in future emergencies.

Frequently Asked Questions

▼ When should I use the Law of Sines instead of the Law of Cosines?

▼ What is the ambiguous case and how do I handle it in real applications?

▼ How does measurement precision affect Law of Sines calculations?

▼ Can the Law of Sines be used for three-dimensional problems?

▼ Why does my calculator show "no valid triangle" for certain inputs?

▼ How accurate are Law of Sines calculations compared to direct measurement?

Free Engineering Calculators

Explore our complete library of free engineering and physics calculators.

Browse All Calculators →

About the Author

Robbie Dickson — Chief Engineer & Founder, FIRGELLI Automations

Robbie Dickson brings over two decades of engineering expertise to FIRGELLI Automations. With a distinguished career at Rolls-Royce, BMW, and Ford, he has deep expertise in mechanical systems, actuator technology, and precision engineering.

Wikipedia · Full Bio

Need to implement these calculations?

Explore the precision-engineered motion control solutions used by top engineers.

Share This Article
Tags