How it works
The angle must sit between the entered sides and be strictly between 0° and 180°. All lengths use one unit. A stable equivalent expression reduces cancellation.
Worked example
Two sides of 7 cm and 10 cm with an included angle of 50° give an opposite side of 7.68 cm and a triangle area of 26.81 cm².
How the opposite side length changes with first adjacent side
Other inputs keep their starting values: Second adjacent side: 10; Included angle (degrees): 50. Examples only, not recommendations.
| First adjacent side | Opposite side length |
|---|---|
| 3.5 | 8.200906 |
| 7 | 7.681779 |
| 14 | 10.771233 |
Cite this page
ToolOctopus. “Law of cosines calculator.” Updated . https://tooloctopus.com/law-of-cosines-calculator.
Add an access date if your instructions require one.
Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. License and source code.