Law of Sines Calculator

Solve a triangle from one side and two angles using the sine rule, with the remaining sides and area.

Math and PercentUpdated 2026-11-193 min read
Law of Sines Calculator
The side opposite angle A, in any consistent length unit.
Angle A opposite side a, between 0 and 180 degrees.
A second known angle. A plus B must be less than 180 degrees.
Side b
...
Angle C...
Side c...
Common ratio a over sin A...
Triangle area...

What it does

The law of sines relates each side of a triangle to the sine of the angle opposite it. The ratio is the same for all three pairs, so knowing one complete pair and one other angle is enough to solve for the remaining sides.

This page handles the common case where you know side a, angle A, and angle B. It returns side b, angle C, side c, the shared ratio, and the area. The default values are a side of 7 with angles of 35 and 105 degrees.

The third angle comes from the angle sum of a triangle, which is 180 degrees. Once angle C is known, each missing side is the shared ratio multiplied by the sine of its own opposite angle. The ratio itself is side a divided by the sine of angle A.

Area uses the familiar sine area rule. Half of side a times side b times the sine of the included angle C gives the same result whichever pair of sides you choose. The tool uses the pair it has already computed.

The sine rule also has an ambiguous case when two sides and a non included angle are given. That situation can produce two valid triangles. By asking for two angles and a side, this tool avoids the ambiguity and returns a single answer.

How to use

  1. Enter the length of side a, opposite angle A.
  2. Enter angle A in degrees.
  3. Enter a second known angle B in degrees.
  4. Read side b, the first main result, and angle C beside it.
  5. Check side c and the common ratio to verify the proportions by hand.
  6. Use the area result when you need the triangle's enclosed space.

Formula

a / sin(A) = b / sin(B) = c / sin(C); C = 180 degrees minus A minus B; area = a times b times sin(C) / 2
a, b, c
Side lengths, each opposite the angle with the same capital letter.
A, B, C
Interior angles in degrees; A and B are inputs and C is computed.
ratio
The shared value a divided by the sine of A.

Angles are converted from degrees to radians before the sine is taken. The common ratio a over sin A is also twice the circumradius of the triangle. If A plus B reaches or exceeds 180 degrees, no triangle exists and the tool reports an error.

Worked example

Example: side 7 with angles 35 and 105 degrees

The page opens with a = 7, A = 35 degrees, and B = 105 degrees.

  1. Find the third angle: C = 180 minus 35 minus 105, which is 40 degrees.
  2. Compute the common ratio: 7 divided by sine of 35 degrees, about 12.204.
  3. Side b is the ratio times sine of 105 degrees, which is 11.79.
  4. Side c is the ratio times sine of 40 degrees, which is 7.84.
  5. Check the area: half times 7 times 11.79 times sine of 40 degrees, which is 26.52.
  6. The tool reports b = 11.79, C = 40.0 degrees, c = 7.84, ratio 12.204, and area 26.52.

Reference table

Triangle solutions from one side and two angles
Input a, A, BSide bAngle CSide cArea
7, 35°, 105°11.7940.0 °7.8426.52
10, 50°, 30°6.53100.0 °12.8632.14
9, 60°, 45°7.3575.0 °10.0431.94

Limits

  • Only the two angle case is solved, not the ambiguous two side case.
  • Side lengths must be above zero and at most 1,000,000.
  • The two known angles must add to less than 180 degrees.
  • Lengths and area use the same arbitrary unit as the input side.

Common mistakes

  • Forgetting to subtract both known angles from 180 to find C.
  • Using degrees directly in a calculator set to radians.
  • Pairing a side with the sine of a non opposite angle.
  • Assuming two sides and one angle always give a unique triangle.
  • Rounding the shared ratio too early and losing precision in the second side.

Try it yourself

Quick checks. Answers sit tucked under each question.

With a = 10, A = 50 degrees, and B = 30 degrees, find b and C.

C is 100.0 degrees and b is 6.53. The common ratio is 13.054.

With a = 9, A = 60 degrees, and B = 45 degrees, find c.

C is 75.0 degrees, so c is 10.04.

With a = 7, A = 35 degrees, and B = 105 degrees, find the area.

26.52 square units, from half of 7 times 11.79 times the sine of 40 degrees.

Questions

When can I use the law of sines?

Use it when you know a side with its opposite angle and one other angle or side, and the triangle is not ambiguous.

Why do I need two angles here?

With two angles you get the third from the angle sum, so the triangle is fixed and there is only one answer.

What is the common ratio?

It is a side divided by the sine of its opposite angle. It is the same for all three sides and equals twice the circumradius.

Does the unit of side a matter?

No. Any consistent length unit works, and the other sides and the area follow that choice.

What is the ambiguous case?

When two sides and a non included angle are known, the sine rule can give two possible angles. This tool avoids that setup.

How is the area computed?

Half of side a times side b times the sine of the included angle C.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.