Law of Sines Calculator
The law of sines links every side of a triangle to the sine of its opposite angle through one shared ratio. Give this calculator a known angle A with the side a opposite it, then add either angle B or side b, and it fills in the rest of the triangle. It returns all three angles and all three sides, rounded to four decimal places.
How to use the law of sines
- Enter angle A in degrees and the side a opposite it.
- Choose your second known value: I know angle B, or I know side b.
- Enter that second value in the field that appears.
- Read the six result cards for angles A, B and C and sides a, b and c.
- Click Copy result to save all six figures as text.
Examples
Angle B is known
angle A = 30, side a = 10, angle B = 45
side b 14.1421, angle C 105, side c 19.3185
Side b is known (acute solution)
angle A = 30, side a = 10, side b = 14.1421
angle B 45, angle C 105, side c 19.3185
Right angle at A
angle A = 90, side a = 10, angle B = 30
side b 5, angle C 60, side c 8.6603
Frequently asked questions
What is the law of sines?
The law of sines states that each side of a triangle divided by the sine of its opposite angle gives the same value. That common ratio, a over sin A equals b over sin B equals c over sin C, ties every side and angle together so one missing part can be found from the rest.
What inputs does this calculator need?
It always needs a matched pair, a known angle A and the side a opposite it, plus exactly one more value. Add angle B to find its opposite side b, or add side b to find its opposite angle B. From that pair and one extra the whole triangle is solved.
How does it find angle C and side c?
Angle C is whatever is left after A and B, so C equals 180 minus A minus B. Side c comes from the common ratio, side a divided by sin A, multiplied by the sine of angle C. That is why every result depends on the first angle-side pair being correct.
Why does it return the acute angle when I give a side?
Finding an angle from a side uses the inverse sine, which has two possible answers between 0 and 180 degrees, known as the ambiguous case. This tool reports the acute solution because it is the common one. If your triangle is obtuse at B, the true angle is 180 minus the value shown.
When is there no solution?
If the side opposite the unknown angle is too long, the sine ratio needed exceeds one, which is impossible, so no triangle exists and the calculator shows an error. It also errors when angles A and B add up to 180 degrees or more, since that leaves no room for angle C.
Are angles in degrees or radians?
You enter and read angles in degrees. Internally each angle is converted to radians by multiplying by pi over 180 before the sine is taken, then results are converted back to degrees, so you never handle radians yourself.
Can I solve a triangle from two angles and a side?
Yes. Enter the angle opposite your known side as angle A with that side as a, then enter the other known angle as angle B. Angle C follows automatically, and both remaining sides are computed from the ratio.
When should I use the law of cosines instead?
The law of sines needs an angle paired with its opposite side. If you only know three sides, or two sides with the angle between them, that pairing is missing and you should start with the law of cosines, then switch back here for the remaining parts.
How precise are the results?
Every angle and side is rounded to four decimal places to keep the display clean while hiding floating point noise. That is far more precision than most drawing or construction work requires.
Learn more
- The ambiguous case of the law of sines, explained
Why solving for an angle from a side can give two triangles, how to spot which situations are ambiguous, and how this tool handles it.
Related tools
Law of Cosines Calculator
Solve any triangle with the law of cosines. Enter two sides and the included angle (SAS) or all three sides (SSS) to find every side, angle and the area.
Triangle Area Calculator
Find the area of a triangle from base and height, three sides (Heron's formula) or two sides and an angle (SAS). Free, accurate and instant.
Triangle Calculator
Find a triangle's area from base and height or from three sides with Heron's formula, and solve right triangles with the Pythagorean theorem.
Trig Functions Calculator
Calculate sin, cos, tan, csc, sec and cot for any angle in degrees or radians. Undefined functions, like tan at 90 degrees, are clearly flagged.
Annulus Area Calculator
Calculate the area of an annulus, the ring between two concentric circles, from its outer and inner radius. Returns both circumferences and width too. Free.
Area Calculator
Find the area of a circle, square, rectangle, triangle, trapezoid, parallelogram, ellipse, sector or rhombus. Free and runs in your browser.