Law of Sines Calculator
Solve triangles with the law of sines.
Loading tool…
About this tool
Enter a side, its opposite angle and one more piece to solve the triangle. a = 7, A = 40° and B = 60° give b = 9.43107.
How to use
1
Step 1
Enter side a and its opposite angle A in degrees.
2
Step 2
Enter either the angle B (to find side b) or the side b (to find angle B); leave the other at 0.
3
Step 3
Press Calculate.
How it works
The law of sines says each side divided by the sine of its opposite angle is the same for the whole triangle. Given a, A and B, b = a·sin B ÷ sin A. Given a, A and b, sin B = b·sin A ÷ a.
a ÷ sin A = b ÷ sin B = c ÷ sin C
Worked example
Find a side (AAS)
- Input
- a = 10, A = 30°, B = 45°
- Output
- b = 14.1421
- Walkthrough
- b = 10 × sin 45° ÷ sin 30° = 10 × 0.70711 ÷ 0.5 = 14.1421.
Limitations
- Angles are in degrees and must each be less than 180° (A + B must be less than 180° when you give both).
- If side b is too long for a and A to close a triangle, the tool shows a "No triangle exists" error.
- When you give two sides and a non-included angle (SSA), there can be two valid triangles. The tool returns the acute one: for a = 10, A = 30°, b = 15 it shows B = 48.5904° and not the other solution, 131.4096°.
Questions
What is b if a = 7, A = 40° and B = 60°?
9.43107.
What is b if a = 10, A = 30° and B = 45°?
14.1421.
What is B if a = 10, A = 30° and b = 15?
48.5904° (the acute solution; 131.4096° also fits).
Features
- Side or angle
- Degrees input
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
Finding mean, median, and mode
Khan Academy
Descriptive stats used across statistics tools.
Watch on YouTubeArea of a Circle
Khan Academy
Works πr² from diameter or radius for circle tools.
Watch on YouTube
- Area of Plane Shapes
Math is Fun
Quick formulas for common 2D shapes used across geometry tools.
- Circle
Math is Fun
Radius, diameter, circumference, and area in one place.