Audited 05 Aug 2026·Last updated 28 Oct 2026·3 citations·Tier 2·0 uses

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

°
°
Solved side b
8.6603
Length of side b, the side opposite angle B, in the same unit as side a.
Third angle
90°

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.

  1. Enter the side you know as side a, in any length unit; side b comes out in the same unit.
  2. 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.
  3. Enter angle B, the angle opposite the side you want to find. A and B together must come to less than 180°.
  4. 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); C = 180°−A−B

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.

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.

target Angle60
opposite Angle30
known Side5

Frequently asked questions.

What if I know two angles and the side between them?
That is the ASA case. Subtract the two angles from 180° to get the third, which is the angle opposite your known side, and enter it as A. For a 50 m baseline with sighted angles of 70° and 60° at its ends, A is 50°, and with B = 60° the side facing it comes out at about 56.53 m.
Why does a 120° target angle give the same side as 60°?
Because the sine of an angle equals the sine of its supplement, so sin 120° = sin 60°. With a = 5 and A = 30°, both give b ≈ 8.66, but the triangles differ: the 60° version has a 90° third angle, while the 120° version has a 30° third angle and is isosceles, with c equal to a.
Can I use it when I know two sides and one angle?
Not directly. If the angle lies between the two sides, you need the law of cosines instead. If it lies opposite one of them, the SSA case, sin B = b · sin A ÷ a can lead to two valid triangles, one or none, and this page does not attempt to choose between them.
Why are my angles rejected?
Because A + B must be less than 180°, leaving a positive third angle; two angles summing to 180° or more cannot belong to a flat triangle. Check that both are interior angles in degrees, not radians, and that you have not entered an exterior angle by mistake.
How do I find the third side as well?
Run the page again with the third angle C as the target angle, keeping side a and angle A. In the 30-60-90 example that gives c = 5 × sin 90° ÷ sin 30° = 10. The same a and A pair works for every side, because the ratio a ÷ sin A is shared by all three.
Does it work for right triangles?
Yes. With C = 90°, sin C = 1, so the shared ratio a ÷ sin A is simply the hypotenuse, and the law of sines reduces to the familiar definition sin A = opposite ÷ hypotenuse. For a right triangle the ordinary sine, cosine and tangent definitions give the same answers more directly.

How this page was produced

Published by
Quanta Calculator
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
Coming soon