Law of Sines
In any triangle, each side divided by the sine of its opposite angle is the same: the circumcircle’s diameter 2R.
a / sin A = b / sin B = c / sin C = 2R
Knowing one side and two angles gives the other sides.
R is the radius of the circle through all three vertices (the circumcircle).
Calculator
Change a value and the result and picture update instantly.
Result
Side b
Circumradius R
Animated picture
The picture follows your values. Some points and shapes can be dragged.
Use in game development
Triangulation — finding a distance from the angles seen from two points — uses it.
Code example (JavaScript)
const b = a * Math.sin(B) / Math.sin(A);
What the symbols mean
| Symbol | Meaning |
|---|---|
a | Side a |
A | Angle A (°) |
B | Angle B (°) |
b | Side b |
R | Circumradius R |
More formulas in this category
Frequently asked questions
- What is the formula for Law of Sines?
- The formula for Law of Sines is a / sin A = b / sin B = c / sin C = 2R. In any triangle, each side divided by the sine of its opposite angle is the same: the circumcircle’s diameter 2R.
Math Formula Quiz Trigonometry
Sources
Checked: 2026-11-29