Law of Sines Calculator — Solve Triangle Sides & Angles
Apply the law of sines to solve triangles. Enter known side-angle pairs to find missing sides, angles, and the circumradius.
The formula
a / sin(A) = b / sin(B) = c / sin(C) = 2R
- a, b, c
- Side lengths
- A, B, C
- Angles
- R
- Circumradius
- sin
- Sine function
How Law of Sines Works
a / sin(A) = b / sin(B) = c / sin(C) = 2R
The law of sines relates the side lengths of any triangle to the sines of its opposite angles. The ratio of any side length to the sine of its opposite angle is constant and equal to the diameter of the circumscribed circle (2R). This relationship holds for all triangles, including acute, obtuse, and right triangles, making it one of the most versatile tools in trigonometry for solving unknown sides and angles.
- a, b, c
- Side lengths — The lengths of the three sides of the triangle, each opposite its corresponding vertex.
- A, B, C
- Angles — The interior angles at vertices A, B, and C respectively, measured in degrees.
- R
- Circumradius — The radius of the circumscribed circle that passes through all three vertices of the triangle.
- sin
- Sine function — A trigonometric function relating an angle to the ratio of the opposite side length to the hypotenuse in a right triangle.
How to Use
- Enter at least 3 known values from the triangle, with at least one complete side-angle pair (e.g., side a and angle A, or side b and angle B).
- Leave unknown fields empty. The calculator will solve for all missing sides, angles, and the circumradius.
- The law of sines equation a/sin(A) = b/sin(B) = c/sin(C) = 2R is applied to find the ratio, then all missing values are computed from it.
- Use the results section to see the complete triangle solution, including the circumradius R and the constant ratio value.
- For best results, provide two angles and one side (ASA or AAS), or two sides and a non-included angle (SSA). Note that the ambiguous SSA case may yield one valid solution.
Quick Reference
| a / sin(A) | Constant ratio = 2R (circumdiameter) |
| Missing side | side = ratio × sin(opposite angle) |
| Missing angle | angle = sin⁻¹(side / ratio) |
| Angle sum | A + B + C = 180° |
Common Uses
- •Surveying and navigation: determining distances between points that are not directly measurable by creating triangles from known baselines and measuring angles
- •Astronomy: calculating distances to stars and planets using triangulation from two observation points on Earth
- •Civil engineering: designing bridges, roofs, and trusses where non-right triangles must be solved for structural calculations
- •Physics: resolving vector components and forces in non-orthogonal coordinate systems
- •Architecture: computing roof pitches, dormer angles, and other structural elements where right-angle assumptions do not apply
Understanding the Result
The law of sines is a fundamental relationship in trigonometry that applies to any triangle, not just right triangles. It states that the ratio of a side length to the sine of its opposite angle is constant across all three sides of a triangle. This constant is equal to the diameter (2R) of the circumscribed circle that passes through all three vertices. The law of sines is derived from the geometry of the circumcircle. For any triangle ABC, the central angle subtended by chord a (side BC) at the center of the circumcircle is 2A (twice the inscribed angle A). The chord length a is therefore 2R sin(A), which rearranges to a/sin(A) = 2R. The same reasoning applies to sides b and c, yielding the complete law of sines. The law of sines is particularly useful when working with non-right triangles. It is the primary tool for solving ASA (angle-side-angle) and AAS (angle-angle-side) configurations, where two angles and any side are known. In these cases, the third angle is immediately found from the sum of angles (A + B + C = 180 degrees), and then the remaining sides are computed using the sine ratio. The law of sines also handles SSA (side-side-angle) configurations, though these present the ambiguous case: given two sides and a non-included angle, there may be zero, one, or two possible triangles. This ambiguity arises because the sine function is positive for both acute and obtuse angles (sin(θ) = sin(180° - θ)). For example, if sin(B) = 0.8, angle B could be approximately 53.1° or 126.9°. The correct solution depends on whether the sum of the known angle and the candidate angle remains less than 180 degrees. In right triangles (where one angle equals 90 degrees), the law of sines simplifies to standard SOH CAH TOA relationships: sin(90°) = 1, so the side opposite the right angle equals R, the circumdiameter. The law of sines is also closely related to the law of cosines, and together they form the complete toolkit for solving any triangle given sufficient information. In practical applications, the law of sines is used extensively in surveying, where surveyors measure a baseline distance and two angles to determine the location of a distant point through triangulation. The same principle is used in GPS trilateration, astronomy for measuring stellar distances, and in computer graphics for 3D rendering calculations.
Frequently Asked Questions
- Does the law of sines work for all types of triangles?
- Yes, the law of sines works for all triangles — acute, obtuse, and right triangles. The formula a/sin(A) = b/sin(B) = c/sin(C) = 2R is universally valid for any triangle in Euclidean geometry. In a right triangle, one angle is 90° and sin(90°) = 1, so the side opposite the right angle equals the circumdiameter, which simplifies the relationship.
- What is the ambiguous case of the law of sines?
- The ambiguous case occurs in SSA (side-side-angle) configurations, where you are given two sides and a non-included angle. Because sin(θ) = sin(180° - θ), there may be two possible angle solutions — an acute angle and its obtuse supplement — leading to zero, one, or two valid triangles. The calculator resolves this by selecting the solution that produces a valid angle sum (A + B + C = 180°).
- How is the circumradius R related to the triangle?
- The circumradius R is the radius of the unique circle that passes through all three vertices of a triangle. It is given by R = a / (2 sin(A)) = b / (2 sin(B)) = c / (2 sin(C)). For any triangle, the circumdiameter (2R) equals the constant ratio a/sin(A). The circumcenter (center of this circle) is the intersection point of the perpendicular bisectors of the triangle's sides.
- What if I only know all three sides?
- If you know all three sides but no angles, the law of sines alone cannot solve the triangle because you have no angle to compute a sine ratio. In this case, use the law of cosines first to find any angle, then use the law of sines to find the remaining angles. This combined approach can solve any SSS triangle completely.
Cite this calculator
TheCalcUniverse. "Law of Sines Calculator — Solve Triangle Sides & Angles." TheCalcUniverse, 2026, https://thecalcuniverse.com/math/law-of-sines/. Accessed July 24, 2026.
Embed this calculator on your site
You may also like
-
Law of Cosines
Solve triangles using the law of cosines. Find missing sides (SSS) or angles (SAS) with step-by-step work. Fre…
-
Trig Calculator
Calculate sine, cosine, tangent and their reciprocals for any angle. Also find angles from trig values with re…
-
Triangle Solver
Solve any triangle using SSS, SAS, or ASA input modes. Computes all sides, angles, area, and perimeter with dy…
-
Right Triangle
Solve right triangles using the Pythagorean theorem and SOH CAH TOA trigonometry. Find sides, angles, area, an…