Law of Sines Calculator

TRIGONOMETRY
Area
Angle C
Side b (opposite B)
Side c (opposite C)
Perimeter
Law of sines: sides opposite angles
ABCabc
Each side divided by the sine of its opposite angle is the same ratio: a/sin A = b/sin B = c/sin C. Side a sits opposite angle A, and so on.

The law of sines

The law of sines says that in any triangle, each side divided by the sine of its opposite angle gives the same ratio: a / sin A = b / sin B = c / sin C. This calculator uses it to solve a triangle when you know two angles and one side — the AAS or ASA case — returning the third angle, the other two sides, the area, and the perimeter.

How it solves

The two angles give the third immediately, since they sum to 180 degrees. The known side and its opposite angle fix the common ratio, and multiplying that ratio by the sine of each other angle produces the remaining sides.

The ambiguous case

When you instead know two sides and an angle not between them (SSA), the law of sines can yield zero, one, or two valid triangles. That ambiguity is why this tool uses the clean two-angle-and-a-side setup; for side-heavy data, the law of cosines is safer.

Related tools

For two sides and the included angle, or all three sides, use the law of cosines calculator. For 90-degree triangles, the right triangle calculator.

Worked example

With angle A = 40, angle B = 60, and side a = 10: angle C is 80, the ratio is about 15.56, so side b is about 13.47 and side c about 15.32.

FAQ

Which side must I enter?

The side opposite angle A. Pairing a side with its opposite angle is what sets the ratio the law of sines needs.

What if the two angles sum to 180 or more?

Then no triangle exists — the three angles must total exactly 180 — and the calculator flags it.

Spotted an error or have a suggestion for this calculator? Let us know →
Scroll to Top

The calculators and tools on Formula Factory are provided for general guidance and informational purposes only. Results are estimates based on standard formulas and the values you enter — they do not constitute professional engineering, electrical, or architectural advice. Always verify calculations with a qualified professional before making decisions for any safety-critical, code-compliance, or commercial application. Formula Factory makes no representations or warranties as to the accuracy or completeness of any result, and accepts no liability for errors, omissions, or any outcomes arising from reliance on this information.