Law of Sines Calculator

The law of sines solves triangles when you know two angles and a side, or two sides and a non-included angle. Angles of 40 and 60 degrees with a side of 8 opposite the 40 degree angle give a third angle of 80 degrees and sides of about 10.78 and 12.26. Use it in surveying, navigation and construction, when you can measure angles more easily than distances.

Law of Sines Calculator: inputs

Calculated result
Side b10.8
Side c12.3
Angle C (degrees)80

Law of Sines Calculator: Angle A (degrees) sensitivity

Law of Sines Calculator: Angle A (degrees) and Side b5 calculations vary the “Angle A (degrees)” input while holding the other entered inputs constant.3213.13611.84010.84410489.3

Law of Sines: worked example

Angle A (degrees)40
Angle B (degrees)60
Side a (opposite angle A)8
Side b10.8
Side c12.3
Angle C (degrees)80

Law of Sines: formula

a ÷ sin A = b ÷ sin B = c ÷ sin C, with C = 180° − A − B

Law of Sines: Wolfram MathWorld · OpenStax Algebra and Trigonometry: law of sines

Enter two angles and the side opposite one of them. The third angle is 180 degrees minus the sum of the other two, and the law of sines gives the remaining sides: each side divided by the sine of its opposite angle is the same for all three. Angles are in degrees, and the side is in any unit.

Make sure the known side is opposite the known angle A, as the labels indicate.

Law of Sines: changing Angle A (degrees)

Angle A (degrees)Side bSide cAngle C (degrees)
3213.115.188
3611.813.584
40 (example)10.812.380
441011.276
489.310.272

Law of Sines: compare input ranges

InputTested fromToSide b: low inputSide b: high inputSwing
Side a (opposite angle A)799.412.12.7 (25%)
Angle A (degrees)364411.8101.8 (17%)
Angle B (degrees)546610.111.41.3 (12%)

Law of Sines: individual input comparisons

InputValueSide bSide cAngle C (degrees)
Angle A (degrees)3213.115.188
3611.813.584
4010.812.380
441011.276
489.310.272
Angle B (degrees)489.212.492
5410.112.486
6010.812.380
6611.41274
7211.811.568
Side a (opposite angle A)68.19.280
79.410.780
810.812.380
912.113.880
1013.515.380

Law of Sines: combined input changes

Angle A (degrees) / Angle B (degrees)486072
3211.213.114.4
3610.111.812.9
409.210.811.8
448.61011
4889.310.2

Law of Sines: which assumptions move the result?

Law of Sines: Side b as Side a (opposite angle A) changesSide b starts at 8.1. Moving Side a (opposite angle A) from 6 to 10 changes it to 13.5, with Angle A (degrees) 40; Angle B (degrees) 60 kept fixed.68.179.4810.8912.11013.5
Chart quantityDisplayed settings
Side a (opposite angle A)6 → 10
Side b8.1 → 13.5
Angle A (degrees)40
Angle B (degrees)60
Law of Sines: Side b as Angle A (degrees) changesSide b starts at 13.1. Moving Angle A (degrees) from 32 to 48 changes it to 9.3, with Angle B (degrees) 60; Side a (opposite angle A) 8 kept fixed.3213.13611.84010.84410489.3
Chart quantityDisplayed settings
Angle A (degrees)32 → 48
Side b13.1 → 9.3
Angle B (degrees)60
Side a (opposite angle A)8

Law of Sines: values and definitions

Quantity and definitionValue used
Angle A (degrees)40
Angle B (degrees)60
Side a (opposite angle A)8
Side b10.8
Side c12.3
Angle C (degrees)80

Law of Sines: half and double Side a (opposite angle A)

Side a (opposite angle A)Side b
45.4
810.8
1621.6

Common error: Entering two angles that add to 180 or more. The third angle would be zero or negative, so no triangle exists.

The two-sides-and-a-non-included-angle case can have two solutions, the ambiguous case, which this angle-angle-side tool avoids. Angles that sum to 180 degrees or more do not form a triangle. Measurement error in angles has a large effect on computed sides for thin triangles.

Use the law of cosines for two sides with the included angle.

Geometry calculators: Cube Calculator, Equilateral Triangle Calculator, Trigonometry Calculator, Golden Ratio Calculator, Midpoint Calculator, Rectangle Area & Perimeter Calculator.

In any triangle the ratio of a side to the sine of its opposite angle is the same for all three sides. Knowing two angles gives you the third, since they total 180, and one side sets the scale.

Match each side to its opposite angle. Side a sits across from angle A, and swapping them scrambles the whole ratio.

See the triangle third side calculator for the law of cosines, the right triangle and Pythagorean theorem pages for right angles, and the trigonometry calculator for sine values. The triangle area and equilateral triangle pages give areas, and the arc length page handles circular measures.

What is the ambiguous case?

When you know two sides and a non-included angle, there can be two different triangles that fit, so extra information is needed.

What is the law of sines?

Divide a side by the sine of its opposite angle. Repeat for the other sides. The ratios agree in any nondegenerate triangle, provided each side is paired with its own opposite angle and the angle units are consistent.

When do I use the law of sines instead of the law of cosines?

Two angles and a side suit the law of sines. Two sides and an opposite angle can also use it, with an ambiguity check. Two sides and their included angle suit the law of cosines.

The known angle’s position determines which setup applies.