Law of Sines Calculator
Solves a triangle from matching side and angle pairs, including the ambiguous case.
In: A = 30°, B = 60°, a = 5
Out: b ≈ 8.660254
Geometry measures shapes and space. Trigonometry connects the angles of a triangle to its sides. These tools work with triangles, points and vectors.
Geometry and trigonometry calculators solve triangles (law of sines, law of cosines, SOH CAH TOA, right triangles, triangle area), measure distances and midpoints between points, and find angles between vectors using the dot product. These tools explain which case applies — including the ambiguous SSA case of the law of sines — so you always know whether zero, one or two triangles fit your numbers.
Solves a triangle from matching side and angle pairs, including the ambiguous case.
In: A = 30°, B = 60°, a = 5
Out: b ≈ 8.660254
Solves a triangle from three sides, or two sides and the angle between them.
Uses sine, cosine and tangent to find sides and angles in a right triangle.
Finds the missing sides and angles of a triangle with one 90° angle.
Finds the area of a triangle from its base and height or from its sides.
Finds the angle between two vectors using the dot product.
In: (3, 4) and (4, 3)
Out: about 16.26°
Finds the straight-line distance between two points on a grid.
Finds the point exactly halfway between two points.
If you know a side and its opposite angle plus one more part, use the Law of Sines Calculator. If you know three sides, or two sides and the included angle, use the Law of Cosines Calculator. For right triangles, use the Right Triangle Calculator or the SOH CAH TOA Calculator.
Use the Distance Between Two Points Calculator or the Midpoint Calculator for points, and the Angle Between Two Vectors Calculator for the angle between two vectors.
Use the law of sines when you know a matching side and opposite angle plus one more side or angle. Use the law of cosines when you know three sides, or two sides and the angle between them.
When you know two sides and a non-included angle (SSA), the sine rule can produce two valid triangles. The Law of Sines Calculator checks both and tells you which apply.
Last reviewed:
MathStatCalc calculators are for learning and checking your work. Follow your teacher's method and rounding rule if they differ.