Try it with your numbers
Show every step
Use it whenever you know one side and the angle directly across from it, plus one more piece of information. The solver above handles the arithmetic, and the sections below explain why the formula holds and where it can mislead you.
What is the law of sines formula?
Lowercase letters are side lengths, and each capital letter is the angle opposite the side with the same letter. Side sits across from angle , never next to it. Getting that pairing right is most of the battle.
You only ever use two of the three ratios at a time. To find a side, put the unknown on top:
To find an angle, flip every fraction so the unknown sine is on top:
This saves you from dividing by an unknown sine. The recipe needs one complete pair (a side and its opposite angle) plus one more fact about the second pair.
The formula also contains something you already know. In a right triangle with , , so is just the hypotenuse . The law then says , which is the opposite-over-hypotenuse rule from SOH CAH TOA. The law of sines is that rule, stretched to triangles with no right angle.
Quick check
Answer:
Why does the law of sines work?
The proof is one picture. Drop a perpendicular of length from vertex down to side . This cuts the triangle into two right triangles, and in each one the height is a hypotenuse times a sine:
Both expressions equal the same height, so . Divide both sides by and you get . Repeat with a different vertex to bring in .
If the triangle has an obtuse angle, the foot of the height lands outside the triangle. The proof still holds because , one of the basic trigonometric identities. The same idea gives a second proof. The area is , and dividing everything by produces the law. The area of a triangle using sine and the law of sines are the same fact seen from two sides.
Each ratio equals , where is the radius of the circle passing through all three vertices. In a right triangle the hypotenuse is a diameter of that circle, which matches the ratio equalling .
This explains why the ratio is constant. It measures the size of the triangle’s circumscribed circle, so it does not change from one vertex to the next.
Law of sines or law of cosines: which one do you use?
Check what you are given, then ask whether a side and its opposite angle are both known. If they are, the law of sines can start. If not, it cannot.
| Given | Name | Start with |
|---|---|---|
| Two angles and a side not between them | AAS | Law of sines |
| Two angles and the side between them | ASA | Law of sines (find the third angle first) |
| Two sides and an angle not between them | SSA | Law of sines (may be ambiguous) |
| Two sides and the angle between them | SAS | Law of cosines |
| Three sides | SSS | Law of cosines |
With SAS or SSS, no side has a known opposite angle, so every ratio has two unknowns and the law of sines stalls. With three angles (AAA), the law only gives ratios between sides, so it describes a shape but not a size.
A useful habit is to write the givens beside the diagram and draw a line from each known angle to the side opposite it. If you see one complete pair, go with the law of sines.
How to solve a triangle with the law of sines (AAS and ASA)
These two cases always give exactly one triangle, so no tricks are needed. Take , and .
Step 1. Find the third angle:
Step 2. Find using the known pair and :
Step 3. Find the same way:
In ASA problems, find the third angle first. The side between the two given angles is opposite that third angle, which creates the matched pair you need. Skipping this step is the usual reason students feel stuck on ASA.
Try this: Draw a triangle with , and . Find first, then and . You should get and .
The ambiguous case of the law of sines (SSA)

With two sides and a non-included angle, the triangle may not be unique. The reason sits in the formula: when you solve for an angle, you get a sine value, and two angles between and share the same sine, namely and . On the unit circle, sine is the height, so a point in the first quadrant and its mirror in the second have equal heights.
Your calculator hides this. The inverse trigonometric functions return only the acute angle, so the obtuse one is yours to find. Because the two candidate angles are supplementary, subtract the calculator’s answer from .
To decide how many triangles exist before any arithmetic, compute the height (with acute and opposite ):
- If , no triangle exists.
- If , one right triangle exists.
- If , two triangles exist.
- If , one triangle exists.
Picture side as a gate swinging from vertex toward the base. Too short and it never touches, exactly right and it touches once, a bit longer and it touches in two places, and longer than it touches only once on the correct side.
Here is a two-triangle example: , , . The height is , and , so expect two triangles.
Then and . Both fit with , since . Finish each triangle separately:
Quick check
Answer:
What if sin B is greater than 1 or the second angle is too big?
Two failures show up in SSA problems, and each has a clean test. If , no triangle exists. For , , :
No angle has a sine above , so the side of length is too short to reach the base. The height check agrees, since .
The second failure is quieter. Take , , . Then , so . The other candidate is , whose reference angle is the you started with. But , which is more than , so it is rejected. One triangle remains: and .
You can predict this without the sine at all. Here , so angle is larger than angle , and must be acute. Whenever the known side is the longer of the two sides, the answer is unique.
How do you check a law of sines answer?
A solved triangle should pass three quick tests, and each takes seconds:
- The three angles add to exactly .
- The longest side sits opposite the largest angle, and the shortest opposite the smallest.
- The three ratios , and agree to rounding.
For the AAS example earlier, , and . Matching ratios are strong evidence that no step went wrong.
Keep full calculator values until the last step. Rounding to and then using it to find another side can shift the final digit, and a rounded can shift it more.
The second test also catches the most common slip: swapping which side goes with which angle. If your “longest” side faces your smallest angle, the pairs got crossed.
Where is the law of sines used in real life?
Surveyors use it to measure distances that cannot be walked, such as the width of a river or the distance to a distant summit. They measure a baseline, then the angles from each end to the target. The angle at the target is minus the other two, and the baseline is opposite it, which completes the matched pair. This method is called triangulation, and it underlies classic map-making and much of navigation.
Ship and aircraft positioning works the same way. Two bearings from known points fix a position, and the law of sines converts those angles into distances. Astronomers estimate distances to nearby stars from the angles seen at opposite sides of Earth’s orbit.
For heights, the law pairs well with angles of elevation and depression. When you cannot walk straight to the base of a tower, take two elevation angles from two points on the same line, and the law of sines gives the slanted distance before right-triangle trigonometry gives the height.
Quick check
Answer:
Can you use the law of sines with radians?
Yes. The ratio does not care about the unit, as long as the calculator is in the matching mode. In radians the angle sum becomes instead of . For , and :
The usual failure is a mode mismatch. If you type with the calculator in radian mode, you get about , and a negative side length is a signal to check the mode. If a problem mixes units, convert first using degrees to radians or radians to degrees.
Practice problems
0 of 5 solved
- In triangle , , and . Find side to two decimal places.
Answer:
Side is opposite , and the known pair is with . Write . Then . - In triangle , , and . Find side to two decimal places.
Answer:
First find , the angle opposite the known side . Then . So . - In triangle , , and . Find angle to the nearest tenth of a degree.
Answer:
Set , so . Then . The other candidate, , is rejected because . - In triangle , , and . Find every possible value of angle to the nearest tenth of a degree.
Answer:
Here , and , so expect two triangles. , giving . The second angle is , and , so both work. - In triangle , , , and angle is obtuse. Find side to two decimal places.
Answer:
From and obtuse, . Then . So .
Common questions
What is the law of sines used for?
It finds missing sides and angles in any triangle when you know an angle and its opposite side, plus one more measurement. It is the standard tool for AAS, ASA and SSA triangles, and for triangulation in surveying and navigation.
When should you use the law of sines instead of the law of cosines?
Use the law of sines when you have a matched pair, meaning a side and the angle directly across from it. If you only have two sides and the angle between them (SAS), or all three sides (SSS), start with the law of cosines.
What is the ambiguous case of the law of sines?
It happens with SSA information (two sides and an angle not between them). Because , the equation can give two valid angles, one valid angle or none, so you must test each result.
Does the law of sines work for right triangles?
Yes. With a right angle, , so the law reduces to the ordinary definition of sine as opposite over hypotenuse. It works for acute, right and obtuse triangles alike.
Why does my calculator never give an obtuse angle?
The inverse sine key only returns angles from to . To find the obtuse possibility, subtract the calculator's answer from and check whether the angle sum still stays under .
Can the law of sines find the area of a triangle?
Not directly, but it comes from the same idea. Area equals , and setting the three versions of that formula equal gives the law of sines.