Sin Triangle Calculator
Solve a triangle side with the law of sines: from side a, its opposite angle A and a second angle B, get b = a·sin B ÷ sin A and the third angle C.
Sin Triangle Calculator
Background.
Measuring a distance you cannot walk — across a river, between two hilltops — is the oldest job of the law of sines. Lay out one line you can measure, sight the far point from both ends, and the triangle is fixed: one side and two angles determine every other part of it.
The rule behind that is that in any triangle each side is proportional to the sine of the angle facing it: a / sin A = b / sin B = c / sin C, and the shared ratio is the diameter of the circle passing through all three corners. So once you know side a and the angle A opposite it, any other side follows from its own opposite angle, b = a × sin B ÷ sin A. The third angle needs no trigonometry at all, because the angles of a flat triangle add up to 180°.
That is the calculation done here. From side a, its opposite angle A and a second angle B, it returns side b and the third angle C = 180° − A − B. The two angles must leave room for a positive third, so their sum has to stay below 180°.
The pairing matters. Your known side must face one of your known angles. In the river problem the measured baseline lies between the two sighted angles instead, so subtract them from 180° first to get the angle opposite the baseline, and enter that as A.
Two behaviours surprise people. Because sin 60° equals sin 120°, replacing B by its supplement leaves b unchanged even though the triangle changes shape. And the answer gets touchy when A is small: dividing by a small sine magnifies any error in measuring A. The ambiguous case — two sides and an angle not between them, which can give two triangles, one or none — is not handled here.
What is sin triangle calculator?
The law of sines states that the ratio of any side of a triangle to the sine of its opposite angle is the same for all three sides, and equals the diameter of the circle through the triangle's vertices. Solving from one side and two angles — the AAS case, or ASA once the third angle is found — gives exactly one triangle, so the unknown side has a single value.
How to use this calculator.
- Enter the side you know as side a, in any length unit; side b comes out in the same unit.
- Enter angle A, the angle directly opposite that side, in degrees. If your two known angles sit at the two ends of the known side, enter 180° minus their sum as A instead.
- Enter angle B, the angle opposite the side you want to find. A and B together must come to less than 180°.
- Read side b and the third angle C. For the remaining side c, run it again with C as the target angle, keeping the same a and A.
The formula.
b = a · sin B ÷ sin A and C = 180° − A − B. Here a is the known side, A the angle opposite it, B the angle opposite the unknown side b, and C the remaining angle. The first equation is the law of sines rearranged. It follows from dropping a perpendicular from the third corner onto side c: that height can be written both as b · sin A and as a · sin B, and setting the two equal gives the law. Angles are entered in degrees and converted to radians by multiplying by π/180 before the sines are taken. The ratio sin B ÷ sin A sets the scale, so equal angles give equal sides and the larger angle always faces the longer side. When A is small, errors in it are magnified: with a = 5 and B = 60°, A = 5° gives b ≈ 49.68, while A = 6° gives b ≈ 41.43.
A worked example.
Side a is 5 units long and the angle opposite it, A, is 30°. The target angle B is 60°. The third angle is 180 − 30 − 60 = 90°, so this is a right triangle. For side b, sin 60° = 0.8660254 and sin 30° = 0.5, so b = 5 × 0.8660254 ÷ 0.5 = 8.6602540378, which is exactly 5√3. The shared ratio is 5 ÷ 0.5 = 10. That is the diameter of the circumscribed circle and, because C is a right angle, also the hypotenuse: c = 10 × sin 90° = 10. Those are the familiar 1 : √3 : 2 proportions of a 30-60-90 triangle, scaled up by 5.
Frequently asked questions.
What if I know two angles and the side between them?
Why does a 120° target angle give the same side as 60°?
Can I use it when I know two sides and one angle?
Why are my angles rejected?
How do I find the third side as well?
Does it work for right triangles?
References& sources.
- [1]OpenStax, Rice University. Precalculus 2e, 2021. Trigonometry and analytic geometry chapters. Retrieved 2026-08-06.
- [2]OpenStax, Rice University. College Algebra 2e, 2021. Algebra and function chapters. Retrieved 2026-08-06.
- [3]NIST/SEMATECH. e-Handbook of Statistical Methods, 2012. Chapter 1.3 and Chapter 4. Retrieved 2026-08-06.
How this page was produced
- Published by
- Quanta Calculator
- Overseen by
- Daniel, Quanta Calculator Researcher
- Primary sources
- 3 cited below
- Method
- b = a·sin(B)/sin(A); C = 180°−A−B
- Published
- Last verified
Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 1560 calculators remain free
- No billing is enabled