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

  • Km To Meters Calculator

    Km To Meters Calculator | Kilometers To Meters Converter calculatorsonline.co.uk Km To Meters Calculator Instantly convert kilometers to meters for distance, running, and metric system calculations with precise decimal results. 🗺️ Kilometers (km) 📏 Meters (m) 🌍 Metric System 🏃 Distance Distance Conversion Enter your distance in kilometers to convert to meters 🗺️ Kilometers Input…

  • Percentage Decrease Calculator

    Percentage Decrease Calculator | Calculate % Decrease, Difference & New Value calculatorsonline.co.uk Percentage Decrease Calculator Instantly calculate the percentage decrease between two values. Enter the original and new values to find the percentage decrease, the difference amount, and the new value — with step-by-step working shown. 📉 % Decrease 🔢 Step-by-Step 📐 Formula Shown ✓…

  • Junior ISA Growth Calculator

    Junior ISA Growth Calculator UK | Calculators Online 🎓 Free UK Tool Junior ISAGrowth Calculator See how your child’s savings could grow over 18 years. Enter your contributions and estimated return rate to project your JISA’s future value — completely free. 📈 Compound growth projections 💷 Cash & Stocks & Shares JISA 🗓️ Year-by-year breakdown…

  • EMI Calculator

    EMI Calculator 2026 – Free Online Loan EMI Calculator (Reducing Balance & Flat Rate) calculatorsonline.co.uk EMI Calculator 2026 — Home, Personal & Car Loans Work out your exact monthly EMI, total interest, and total repayment amount for any loan. Compare the reducing-balance method against a flat-rate quote before you sign, and see the full cost…

  • Fluid Ounces (US) to Millilitres Converter

    Fluid Ounces (US) to Millilitres (ml) Converter | Free Volume Calculator calculatorsonline.co.uk Fluid Ounces (US) to Millilitres Converter Instantly convert US fluid ounces (fl oz) to millilitres (ml). Accurate, free volume calculator for cooking, baking, and science. 🇺🇸 US Standard 💧 Liquid Volume ⚡ Instant Conversion 📱 Mobile Friendly Volume Measurement Tool Calculate Your Liquid…