Real-world triangles don’t always cooperate by including a tidy right angle to lean on. For everything else, trigonometry offers two more general tools built for exactly that gap.
What the Law of Sines Solves
The Law of Sines ties each side of a triangle to the sine of the angle sitting directly opposite it. That makes it the right tool when you’ve got two angles and one side in hand, or two sides plus an angle that isn’t wedged between them. Why does it work? Because that side-to-sine ratio holds constant across all three pairs in any given triangle — measure one pair, and the same ratio applies to the other two.
What the Law of Cosines Solves
The Law of Cosines takes a different approach — it stretches the Pythagorean theorem to cover triangles that don’t have a right angle at all, tying all three sides together through the cosine of one included angle. Reach for it when your known values are all three sides, or two sides with the angle squeezed between them.
Recognizing Which Case You’re Facing
So how do you know which one to grab? Look at where the known angle sits relative to the known sides. If it’s tucked between two sides you already know, that’s the Law of Cosines’ territory. If instead it sits across from a known side rather than between two of them, the Law of Sines is the one that applies.
Handling Situations With Multiple Possible Answers
There’s one wrinkle worth knowing about the Law of Sines: it can occasionally spit out two different valid triangles from the exact same starting measurements, a quirk trigonometry teachers call the ambiguous case. The Law of Cosines never runs into that problem — plug in valid values and it always returns exactly one unambiguous answer.
Using Both Laws Together
In practice, the two laws often work as a relay team. A multi-step problem might open with the Law of Cosines to pin down one missing side, then hand off to the Law of Sines to finish solving the remaining angles. Recognizing the moment to switch tools matters just as much as knowing either formula by heart.
Apply the right law automatically for any triangle configuration using our free Triangle Calculator.
Law of Sines vs. Law of Cosines FAQ
When should I use the Law of Sines instead of the Law of Cosines?
Use the Law of Sines when you know two angles and one side, or two sides and a non-included angle. It relates each side to the sine of its opposite angle, a ratio that stays constant across the triangle.When should I use the Law of Cosines instead of the Law of Sines?
Use the Law of Cosines when you know three sides, or two sides and the angle between them. It extends the Pythagorean theorem to non-right triangles by connecting all three sides through the cosine of one included angle.What’s the quickest way to decide which law a problem calls for?
Check whether the known angle sits between two known sides or opposite one of them. An included angle points toward the Law of Cosines, while an angle-opposite-side setup points toward the Law of Sines.Can the Law of Sines give more than one possible answer?
Yes, occasionally it produces two valid triangles from the same starting data, a quirk known as the ambiguous case. The Law of Cosines doesn’t share this issue and always yields a single, unambiguous result.Can both laws be used within the same triangle problem?
Yes, many multi-step problems start with one law to find an initial unknown value and finish with the other to complete the solution. Knowing when to switch is often more important than memorizing either formula alone.How is the Law of Cosines related to the Pythagorean theorem?
It’s a generalization of it. When the included angle happens to be 90 degrees, its cosine term drops out and the Law of Cosines reduces directly to the familiar Pythagorean theorem.For related triangle work, our free Area Calculator and Slope Calculator handle two other common calculations once a triangle’s angles and sides are known.