Cosine Rule Calculator

calculatorsonline.co.uk

Cosine Rule Calculator

Instantly solve any triangle by finding missing sides or angles using the Law of Cosines. Perfect for trigonometry, physics, and engineering calculations.

📐 Law of Cosines
📏 Find Sides & Angles
🧮 Step-by-Step Math
🔄 Degrees & Radians

Triangle Parameters

Select what you want to calculate and enter the known values

🎯 Calculation Mode

Choose whether you need to solve for a missing side length or an interior angle.


📏 Known Measurements

Length of the first known side

Length of the second known side

The angle between side a and side b

Triangle Solution

Law of Cosines breakdown

📐

Enter the known triangle measurements, then click Solve Triangle to calculate the missing side or angle using the Cosine Rule.

Law of Cosines Variations

The Cosine Rule can be rearranged to solve for any side or angle in a triangle.

Target Formula Known Values
Find Side c c = √(a² + b² – 2ab cos(C)) Sides a, b & Angle C
Find Side a a = √(b² + c² – 2bc cos(A)) Sides b, c & Angle A
Find Side b b = √(a² + c² – 2ac cos(B)) Sides a, c & Angle B
Find Angle C C = acos((a² + b² – c²) / 2ab) Sides a, b, c
Find Angle A A = acos((b² + c² – a²) / 2bc) Sides a, b, c

Cosine Rule FAQ

Learn more about the Law of Cosines, triangle solving, and trigonometric applications.

The Cosine Rule (or Law of Cosines) is a fundamental formula in trigonometry that relates the lengths of the three sides of a triangle to the cosine of one of its angles. It is used to find missing sides or angles in any triangle, not just right-angled ones.

You should use the Law of Cosines when you know either two sides and the included angle (SAS) to find the third side, or when you know all three sides (SSS) to find any of the angles. It generalizes the Pythagorean theorem for non-right triangles.

To find a side, the formula is c² = a² + b² – 2ab cos(C). To find an angle, the formula is rearranged to cos(C) = (a² + b² – c²) / 2ab, where C is the angle opposite side c.

Yes, but it simplifies to the Pythagorean theorem (a² + b² = c²). Since the cosine of 90 degrees is 0, the term ‘2ab cos(C)’ becomes zero, leaving c² = a² + b². For right triangles, the Pythagorean theorem or basic trigonometry (SOH CAH TOA) is usually faster.

In the standard formula c² = a² + b² – 2ab cos(C), the angle C is always the angle opposite to the side c. Similarly, angle A is opposite side a, and angle B is opposite side b. The included angle between sides a and b is always angle C.

Similar Posts

  • Ohm’s Law Calculator

    Ohms Law Calculator | Voltage, Current & Resistance Solver calculatorsonline.co.uk Ohm’s Law Calculator Calculate voltage, current, resistance, and power instantly. Enter any two known values to solve the entire circuit using Ohm’s Law and Watt’s Law formulas. ⚡ Voltage (V) 🌊 Current (I) 🧱 Resistance (R) 🔥 Power (P) Circuit Parameters Enter any two known…

  • Percent Change Calculator 

    Percent Change Calculator 2026 | Percentage Increase & Decrease Online Percent Change Calculator Percent Change Calculator 2026 — Increase & Decrease Find the exact percentage increase or decrease between two values, or apply a percentage change to any starting number — instantly, with a full breakdown of the math. 📊 Percent Change ➕➖ Apply %…

  • Darts Average Calculator

    Darts Average Calculator | 3-Dart Average & Stats calculatorsonline.co.uk Darts Average Calculator Calculate your 3-dart average, doubles percentage, and checkout rate across any number of legs. Track your form and see exactly where your game stands. 🎯 3-dart average 📊 Doubles & checkout stats ⚡ Instant results Match Statistics Enter your scores leg by leg…

  • Days Until Retirement Calculator

    Days Until Retirement Calculator | Free Retirement Countdown Tool calculatorsonline.co.uk Days Until Retirement Calculator Find out exactly how many days, weeks, months, and years remain until your retirement. Enter your target retirement date to get a precise, real-time countdown. ⏳ Countdown 📅 Retirement Date 💼 Working Days 🎯 Planning Retirement Details Enter your retirement date…

  • Baby Formula Cost Calculator

    Baby Formula Cost Calculator 2026 | UK Feeding Budget Estimator calculatorsonline.co.uk Baby Formula Cost Calculator 2026 Instantly estimate your monthly and yearly baby formula expenses. Plan your feeding budget accurately based on daily consumption, container size, and current UK prices. 🇬🇧 UK Cost Estimates 🍼 Daily Intake Tracker 📅 Monthly & Yearly 💷 Budget Planning…

  • University Grade Calculator

    University Grade Calculator UK 2026 | Degree Classification & GPA Converter calculatorsonline.co.uk University Grade Calculator Work out your UK degree classification from module marks, credits, and year weightings. Calculate your final grade (First, 2:1, 2:2, Third) and US GPA equivalent — with support for all UK university weighting systems. 🎓 UK Degree Classes 📊 Year…