Skip to content

Law of Sines Calculator

Type two angles and a side, or two sides and an angle opposite one of them.

Type two angles and a side, or two sides and an angle opposite one of them. When two triangles fit (the ambiguous case), both are drawn and solved.

°
°
°

Two sides and an angle not between them (SSA). Each angle sits opposite the side with its letter.

More optionsNo length unit

Length unit

A label for the answers; the maths is the same in any unit.

ExampleSide c, triangle 1

9.2198

Two triangles fit these values; this is the one with B ≈ 59°.

Type your own values, or drag a corner.

a 6b 8c 9.22A40°B59°C81°

Drag the round handles on the corners. The dotted arc is everywhere side a can reach from C: it crosses the base twice, so two triangles fit.

Keep fixed while dragging
Every side and angle of the triangle
SideOpposite angle
a = 6givenA = 40°given
b = 8givenB = 58.987°
c = 9.2198C = 81.013°

Area 23.7054Perimeter 23.2198

Area, perimeter, heights and circlesEvery other measurement of this triangle
More measurements of the triangle
Area23.7054 square units
Perimeter23.2198
Height to side a7.9018
Height to side b5.9263
Height to side c5.1423
Inradius (inscribed circle)2.0418
Circumradius (circle through the corners)4.6672
Angles in radiansA 0.6981, B 1.0295, C 1.4139
How this works: 5 sources,

How this works

Method

In any triangle, each side divided by the sine of the angle opposite it gives the same number: a/sin A = b/sin B = c/sin C. (That number is the diameter of the circle through the three corners.) Once you know one side and the angle opposite it, every other side or angle follows from one division. Full method

How it’s tested

3 worked examples for this page are checked by automated tests before every release: given the inputs, the tool must show the expected answer.

Privacy

On your device. Nothing you enter or open leaves this browser. About privacy labels

Changes

  • First published: any three values, both triangles in the ambiguous case, exact answers, worked steps, a drawing you can drag and seven focused pages.

Every change on What’s new

How we make toolsReport a mistake

How the law of sines works

In any triangle, each side divided by the sine of the angle opposite it gives the same number: a/sin A = b/sin B = c/sin C. (That number is the diameter of the circle through the three corners.) Once you know one side and the angle opposite it, every other side or angle follows from one division.

With two angles and a side, find the third angle first, since the angles add up to 180°. For A = 50°, B = 70° and c = 12: C = 60°, then a = 12 × sin 50° ÷ sin 60° ≈ 10.6146 and b = 12 × sin 70° ÷ sin 60° ≈ 13.0208. These are the ASA and AAS cases, and they always give exactly one triangle.

Two sides and an angle opposite one of them (SSA) is the ambiguous case. The law of sines gives the sine of a second angle, and two angles under 180° share every sine below 1: B and 180° − B. If both leave room for the third angle, two different triangles fit; if the side opposite the known angle is too short to reach, none does. The drawing above shows why: the free side swings like a compass and can cross the base twice.

a / sin A = b / sin B = c / sin C

The ambiguous case: b = 10, A = 30°, and side a growing

How many triangles fit when b = 10 and A = 30° as side a changes. The height b × sin A = 5 is the shortest a that reaches.

How many triangles fit when b = 10 and A = 30° as side a changes. The height b × sin A = 5 is the shortest a that reaches.
Side aTrianglesAngle BSide c
3Nonea is shorter than 5—
4Nonea is shorter than 5—
5One90°5√3
6Two56.44° or 123.56°5√3 + √11 or 5√3 − √11
7Two45.58° or 134.42°5√3 + 2√6 or 5√3 − 2√6
8Two38.68° or 141.32°5√3 + √39 or 5√3 − √39
9Two33.75° or 146.25°5√3 + 2√14 or 5√3 − 2√14
10One30°10√3
11One27.04°5√3 + 4√6
12One24.62°5√3 + √119
Show all 11 rows
15One19.47°10√2 + 5√3

Common questions

When does SSA give two triangles?

When the side opposite the known angle is longer than the height it has to reach (b × sin A) but shorter than the other known side b, and the known angle is acute. For b = 10 and A = 30° that means 5 < a < 10. The calculator shows both and lets you pick.

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

Use sines when you know an angle and the side opposite it, which is every ASA, AAS and SSA problem. Use cosines when you know two sides and the angle between them (SAS) or all three sides (SSS), because then no angle has its opposite side known.

Why does my textbook say “no solution”?

In the SSA case, if a is shorter than b × sin A, the side can’t reach the base at all. With b = 10 and A = 30°, a side of 3 or 4 is too short. The calculator says how long the side would have to be.