Law Of Cosines Calculator
Solve law of cosines problems step-by-step with formula explanation and worked examples
Embed Law Of Cosines Calculator ▾
Add this tool to your website or blog for free. Includes a small "Powered by ToolWard" bar. Pro users can remove branding.
<iframe src="https://toolward.com/tool/law-of-cosines-calculator?embed=1" width="100%" height="500" frameborder="0" style="border:1px solid #e2e8f0;border-radius:12px"></iframe>
Community Tips 0 ▾
No tips yet. Be the first to share!
Compare with similar tools ▾
| Tool Name | Rating | Reviews | AI | Category |
|---|---|---|---|---|
| Law Of Cosines Calculator Current | 4.2 | 2969 | - | Maths & Science Calculators |
| Radius Of A Circle Calculator | 3.9 | 1912 | - | Maths & Science Calculators |
| Ellipsoid Volume Calculator | 3.9 | 2975 | - | Maths & Science Calculators |
| 17 Dollars Per Hour Calculator | 4.1 | 1475 | - | Maths & Science Calculators |
| Equation Step Explainer | 4.3 | 898 | ✓ | Maths & Science Calculators |
| Cube Root Calculator | 4.2 | 877 | - | Maths & Science Calculators |
About Law Of Cosines Calculator
Law of Cosines Calculator for Triangle Solutions
The Law of Cosines Calculator on ToolWard.com solves triangles using one of the most important formulas in trigonometry. The law of cosines states that for any triangle with sides a, b, and c, and the angle C opposite side c, the relationship is: c squared equals a squared plus b squared minus 2ab times the cosine of angle C. This formula generalizes the Pythagorean theorem to non-right triangles and is indispensable for surveyors, navigators, engineers, architects, and students tackling geometry problems.
When to Use the Law of Cosines
The law of cosines applies in two classic scenarios. First, when you know two sides of a triangle and the included angle (the angle between those two sides), known as the SAS case, the formula lets you find the third side. Second, when you know all three sides (the SSS case), you can rearrange the formula to find any of the three angles. Our Law of Cosines Calculator handles both scenarios, automatically detecting which case applies based on the values you provide.
This sets it apart from the law of sines, which is better suited for ASA (two angles and the included side) and AAS (two angles and a non-included side) cases. Together, the law of cosines and the law of sines can solve any triangle for which sufficient information is given. If you're not sure which law to apply, start with the law of cosines whenever you have an SAS or SSS situation.
Real-World Applications
Land surveying: Surveyors measure distances and angles in the field to determine property boundaries, plot elevations, and plan construction layouts. When direct measurement of a distance is impossible due to obstacles, the law of cosines allows calculation of that distance from two known lengths and the angle between them.
Navigation: Pilots and mariners use the law of cosines to calculate great-circle distances between waypoints on the Earth's surface. While the spherical law of cosines differs slightly from the planar version, the principle is the same, and understanding the planar calculator builds the foundation for spherical applications.
Architecture and construction: Roof trusses, bridge supports, and structural frames involve triangular geometries. Engineers calculate member lengths and joint angles using the law of cosines to ensure structures are designed to the correct dimensions before fabrication begins.
Physics: Force vector addition, velocity composition, and resultant displacement calculations frequently involve non-right triangles. The law of cosines provides the magnitude of the resultant vector when two component vectors and the angle between them are known.
How to Use the Calculator
For the SAS case, enter the two known side lengths and the angle between them. The calculator computes the third side length, and then uses the law of cosines again to find the remaining two angles. For the SSS case, enter all three side lengths. The calculator determines all three angles using the rearranged formula: angle C equals the arccosine of (a squared plus b squared minus c squared) divided by (2ab).
The Law of Cosines Calculator displays results in both degrees and radians, includes a visual representation of the triangle with labeled sides and angles, and provides the step-by-step calculation for educational reference.
A Cornerstone of Trigonometry
The law of cosines has been known since antiquity, with early versions appearing in Euclid's Elements over 2,300 years ago. The modern algebraic form using cosine was developed during the Renaissance as trigonometric functions became formalized. Today it remains a cornerstone of applied mathematics, appearing in every trigonometry textbook and standardized test.
Solve Triangles Anywhere
This calculator runs in your browser on ToolWard.com, requires no downloads or account creation, and keeps all your data private. Whether you're at a desk studying for an exam or on a job site checking measurements, the Law of Cosines Calculator is always at your fingertips.