Skip to content

Law of Sines Calculator

Enter two angles and a side of any triangle to find the other sides, the third angle and the area with the law of sines, a ÷ sin A = b ÷ sin B = c ÷ sin C.

Calculator Details

Area:28.2629 sq unitsSee results ↓

Use when you know two angles and the side between them

Angle opposite side a

Angle opposite side b

Side between angles A and B

Your Results

Area: 28.2629 sq units

Area

28.2629 sq units

Scalene acute triangle, perimeter 25.3209 units

Perimeter

25.3209 units

By angles

Acute Triangle

By sides

Scalene

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

Detailed Breakdown

Sides and angles of your triangle
VertexAngleOpposite side
A40° (given)a = 6.527 (solved)
B60° (given)b = 8.7939 (solved)
C80° (solved)c = 10 (given)
Total180°Perimeter 25.3209

Area 28.2629 square units; semiperimeter 12.6604.

How This Calculator Works

How It's Calculated

Your triangle (ASA)

C = 180° − 40° − 60° = 80°
a = c·sin A / sin C = 6.527; b = c·sin B / sin C = 8.7939
s = (a + b + c) / 2 = 12.6604; Area = √[s(s − a)(s − b)(s − c)] = 28.2629
  • Pythagorean theorem (right triangles): a² + b² = c², where c is the hypotenuse.
  • Law of cosines: c² = a² + b² − 2ab·cos(C). Finds a side from two sides and the angle between them (SAS), or the angles from three sides (SSS).
  • Law of sines: a/sin(A) = b/sin(B) = c/sin(C). Finds the sides once two angles are known (ASA, AAS).
  • Heron's formula: Area = √[s(s − a)(s − b)(s − c)] with s = (a + b + c)/2.
  • Shoelace formula (from coordinates): Area = |x1(y2 − y3) + x2(y3 − y1) + x3(y1 − y2)| / 2; the sign of the sum shows whether the corners run counter-clockwise (+) or clockwise (−).

Frequently Asked Questions

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

Use the law of sines when you know a side and the angle opposite it, plus one more side or angle: the ASA, AAS and SSA cases. Use the law of cosines for two sides and the angle between them (SAS) or all three sides (SSS), where no side is paired with its opposite angle.

What is the ambiguous case of the law of sines?

With two sides and an angle that is not between them (SSA), there can be two triangles, one or none. Given a = 8, b = 10 and A = 40°, sin B = 10 × sin 40° ÷ 8 ≈ 0.8035, so B is about 53.5° or 126.5°, and both give valid triangles. Check each possible angle against the 180° total.

Does the law of sines work for right triangles?

Yes. With C = 90°, sin C = 1, so c ÷ 1 = a ÷ sin A, which is the familiar sin A = opposite ÷ hypotenuse. The common ratio in the law is also the diameter of the triangle's circumscribed circle, 2R.

How is the law of sines used in surveying and navigation?

To find a distance you cannot measure directly. Measure a baseline and the angles from each end to a far point, such as a tree across a river, and the law of sines gives the distance to it. This is the idea behind triangulation.

Solves flat (Euclidean) triangles from two sides of a right triangle, SSS, SAS, ASA or AAS, or the coordinates of the three corners (shoelace formula), with angles in degrees. Results are rounded to 10 significant digits. Not included: the ambiguous SSA case (two sides and a non-included angle), spherical triangles, radians, and units (sides are in whatever unit you use).

Law of Sines Calculator: Solve Any Triangle

By FindMySum · Last reviewed

A law of sines calculator solves triangles that do not have a right angle. The law of sines says the ratio of each side to the sine of the angle opposite it is the same for all three sides: a ÷ sin A = b ÷ sin B = c ÷ sin C. Once you know one side with its opposite angle, every other side and angle follows from that common ratio.

Worked example

A triangle has angle A = 40°, angle B = 60° and side c = 10 (the side between those two angles: the ASA case).

  1. Third angle: C = 180° − 40° − 60° = 80°.
  2. Common ratio: c ÷ sin C = 10 ÷ sin 80° = 10 ÷ 0.98481 ≈ 10.1543.
  3. Side a: 10.1543 × sin 40° = 10.1543 × 0.64279 ≈ 6.527.
  4. Side b: 10.1543 × sin 60° = 10.1543 × 0.86603 ≈ 8.794.
  5. Area: ½ × a × b × sin C = ½ × 6.527 × 8.794 × 0.98481 ≈ 28.26 square units.

The perimeter is 6.527 + 8.794 + 10 ≈ 25.32, and the largest side, c, is opposite the largest angle, C, as it must be.

Getting it right

Make sure the calculator or spreadsheet is in degrees, not radians, before taking sines: sin 40 in radians is a completely different number. Keep the pairs straight: side a is always opposite angle A. Rounding early creeps into later steps, so carry the common ratio to several decimals.

For two sides and the included angle, or three sides, the triangle calculator switches to the law of cosines; for right triangles alone, the right triangle calculator is quicker.

Sources

This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy