thecalcs
Trigonometry Tool

Law of Cosines Calculator

Solve any triangle using the Law of Cosines and Law of Sines. Calculate missing sides and angles with our comprehensive trigonometry calculator that handles SSS, SAS, ASA, and SAA triangle cases with detailed step-by-step solutions and complete triangle analysis.

Last updated: December 15, 2024

Solve all triangle types (SSS, SAS, ASA, SAA)
Complete triangle analysis with area and perimeter
Step-by-step solutions with formulas

Need a custom calculator for your business? Get a Quote

Law of Cosines Calculator
Solve triangles using the Law of Cosines and Law of Sines with detailed step-by-step solutions

Quick Example Result

For a triangle with sides 5, 7, and 10 units:

Angle A

27.66°

Angle B

40.54°

Angle C

111.8°

Area

16.25

Type

obtuse triangle

How This Calculator Works

Our Law of Cosines calculator uses advanced trigonometric principles to solve triangles in all possible configurations. It automatically selects the appropriate method (Law of Cosines or Law of Sines) based on the given information and provides comprehensive analysis including triangle classification, area calculation, and validity checking.

Key Formulas

Law of Cosines:

c² = a² + b² - 2ab × cos(C)

Used for SSS and SAS triangle cases

Law of Sines:

a/sin(A) = b/sin(B) = c/sin(C)

Used for ASA, AAS, and some SSA cases

Heron's Formula (Area):

Area = √[s(s-a)(s-b)(s-c)]

Where s = (a+b+c)/2 is the semiperimeter

These formulas work together to provide complete triangle solutions, ensuring accuracy and handling all possible triangle configurations automatically.

📐 Triangle Diagram

Visual representation showing the relationship between sides a, b, c and angles A, B, C

Triangle Solving Cases

Different combinations of known sides and angles require different approaches. Our calculator automatically identifies the case and applies the most appropriate solution method, ensuring accurate results for all triangle types.

  • SSS (Side-Side-Side): Three sides known - use Law of Cosines to find all angles
  • SAS (Side-Angle-Side): Two sides and included angle - use Law of Cosines for third side
  • ASA/AAS (Angle-Side-Angle): Two angles and one side - use Law of Sines
  • SSA (Side-Side-Angle): Two sides and non-included angle - may have multiple solutions

Mathematical Applications & Standards

  • International Mathematical Union (IMU) - Standards for Trigonometric Functions and ApplicationsGlobal standards for mathematical notation and trigonometric calculations
  • National Council of Teachers of Mathematics (NCTM) - Principles and Standards for School MathematicsEducational standards for trigonometry and geometry instruction
  • International Association of Mathematical Physics - Applications in Physics and EngineeringReal-world applications of trigonometric principles

Need help with other math calculations? Check out our quadratic formula calculator and percentage calculator.

Get Custom Calculator for Your Business

Example Calculation

SAS Triangle Example
Solving a triangle with two sides and the included angle

Given Information:

  • Side a: 8 units
  • Side b: 6 units
  • Angle C: 60° (included angle)

Solution Steps:

  1. Use Law of Cosines: c² = a² + b² - 2ab×cos(C)
  2. c² = 8² + 6² - 2(8)(6)×cos(60°)
  3. c² = 64 + 36 - 96×0.5 = 52
  4. c = √52 ≈ 7.21 units
  5. Find remaining angles using Law of Cosines
  6. Calculate area and classify triangle type

Final Result: c = 7.21 units, with all angles calculated and triangle classified as acute

This SAS case demonstrates how the Law of Cosines efficiently finds the unknown side, after which the remaining angles can be calculated using either the Law of Cosines or Law of Sines.

Frequently Asked Questions

Found This Calculator Helpful?

Share it with others who might need to solve triangles using trigonometry

Share This Calculator
Help others discover this useful tool

Suggested hashtags: #LawOfCosines #Trigonometry #Triangle #Math #Calculator

Related Calculators

Quadratic Formula Calculator
Solve quadratic equations using the quadratic formula with detailed step-by-step solutions.
Use Calculator
Percentage Calculator
Calculate percentages, percentage change, and percentage of numbers with detailed explanations.
Use Calculator
Round Calculator
Round numbers to any decimal place or significant digit with step-by-step explanations.
Use Calculator