CalcuNUM
Search calculators
Menu

Law of Sines Calculator

Find a triangle’s missing sides and third angle from one known side and two angles. Enter side b and the angles A and B in degrees.

  • Last updated:
Triangle inputs

Positive length of the side opposite angle B.

Angle opposite side b, in degrees.

The other known angle, in degrees.

How to use the law of sines calculator

First label the triangle so each lowercase side is opposite the matching uppercase angle. Side b must be opposite angle B; side a is opposite A, and side c is opposite C.

  1. Enter a positive length for the known side b.
  2. Enter angle B, the angle opposite b, in degrees.
  3. Enter angle A in degrees. Both angles must be positive and their sum must be less than 180°.
  4. Select Calculate. The main result is side a; the detailed results also show side c and angle C.

Formula and method

The law of sines connects each side of a plane triangle to the sine of its opposite angle. The known pair b and B provides the scale needed to find the other side lengths.

Each side is paired with the angle directly opposite it.

asin⁡A=bsin⁡B=csin⁡C\frac{a}{\sin A} = \frac{b}{\sin B} = \frac{c}{\sin C}
a / sin(A) = b / sin(B) = c / sin(C)
  1. Find the third angle: C = 180° − A − B.
  2. Find the side opposite A: a = b × sin(A) / sin(B).
  3. Find the side opposite C: c = b × sin(C) / sin(B).

For more detail on the underlying relationship, see the existing OpenStax explanation of the law of sines. The steps above describe the inputs supported by this calculator.

Worked example

Suppose b = 2 cm, B = 90°, and A = 30°. Enter 2 for side b, 90 for angle B, and 30 for angle A.

  1. C = 180° − 90° − 30° = 60°.
  2. a = 2 × sin(30°) / sin(90°) = 1 cm.
  3. c = 2 × sin(60°) / sin(90°) ≈ 1.73 cm when displayed.

The main result is 1 for side a. Open the detailed results to see side c, displayed as 1.73, and angle C, displayed as 60°. The calculator uses the unit you choose for b.

How to read and check the results

The solved sides are lengths, while C is an angle in degrees. Side a is opposite A and side c is opposite C. If the triangle’s angles and known side come from measurements, the solved values depend on the quality of those measurements.

As a quick reasonableness check, the side opposite the larger angle should be longer. For example, in the worked triangle, C is larger than A, so c is longer than a. Read about how CalcuNUM explains its methods in our methodology.

Assumptions and limitations

Important

Use this method for a plane triangle with one positive side b and two known angles. A and B must each be positive and add to less than 180°. This calculator does not solve a side-side-angle (SSA) input or choose between ambiguous SSA triangles.

The calculator does not infer a unit or correct measurement errors. Rounded results are convenient for reading but may hide small differences. Keep more precision in your source measurements when a later calculation requires it, and check any result against the requirements of your application.

FAQs

The results follow the law of sines for the entered values and a plane triangle. Measurement error in the known side or angles affects the answer. Display rounding does not make the original measurements more accurate.

Ordinary displayed results use at most two digits after the decimal point. Very small nonzero results may be shown in scientific notation. The displayed result is a rounded presentation of the calculation.

Enter the known side directly opposite angle B. If your diagram uses different labels, relabel the vertices so that the known side and its opposite angle are b and B before using the calculator.

Two angles determine the shape and the third angle, but not the size. One known side supplies the scale needed to find the other side lengths.

The three interior angles of a plane triangle total 180°. If A and B add to 180° or more, there is no positive angle left for C, so the entries do not form a triangle.

No. Enter both A and B in degrees. This calculator does not have a radians input or an angle-unit selector.

Use the same unit you want for the answers, such as centimetres, metres, inches or feet. Sides a and c use that same unit; the calculator does not convert between units.

No. This workflow requires one known side and two angles, including the angle opposite the known side. It does not accept two sides and a non-included angle as an SSA problem.

Review and sources

Updated