Law of Cosines Side Calculator
Solve the third triangle side from two sides and their angle.
Result
How to use
- Enter your values in the fields above.
- Press Calculate to see your result instantly.
- Use the Share button to copy a link to your result.
About this calculator
The law of cosines extends the Pythagorean theorem to non-right triangles: c² = a² + b² − 2ab·cos(C), where C is the angle between the two known sides a and b. When C happens to be 90°, cos(C) = 0 and the formula collapses back to a² + b² = c², which is why it's often introduced as the "generalized Pythagorean theorem."
Surveyors use it to compute an unknown boundary length from two measured sides and the angle between them, navigators use it for dead-reckoning triangles, and structural engineers use it to size a diagonal brace when the two connecting members and their included angle are already fixed by the design.
Was this helpful?
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
No calculators found
Comments (0)