Skip to content
    ∫
    Trigonometry
    High School
    Periodic Circular & Harmonic Ratio

    Cosine Rule

    Find the length of a side using the cosine rule

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

    Interactive Sandbox

    Live Reactive

    Adjust values in real-time and observe mathematical cause-and-effect

    a
    m
    120
    b
    m
    121
    C
    degrees
    1180
    Live EquationFormula Proof
    c² = 5² + 7² - 2ab cos(60) = 6.24
    xy(0.7, 0.7)
    cos: 0.71
    sin: 0.71
    tan: 1.0
    Calculated Solution
    6.24 m

    Bounded Oscillatory Function: Sine and cosine oscillate smoothly between -1 and +1 with period 360° (2π rad).

    Variable Mechanics

    Roles, constraints & impacts

    3 Params
    a

    Side a

    Formula Parameter

    m
    ImpactDirect contribution
    ConstraintReal numbers
    b

    Side b

    Formula Parameter

    m
    ImpactDirect contribution
    ConstraintReal numbers
    C

    Angle C

    Formula Parameter

    degrees
    ImpactDirect contribution
    ConstraintReal numbers

    At a Glance

    Gotchas, units & real-world use

    Essential

    Formula Nature & Mechanics

    Bounded Oscillatory Function: Sine and cosine oscillate smoothly between -1 and +1 with period 360° (2π rad).

    Common Mistakes & Traps

    • Using Degree mode when Radians are expected (or vice versa).
    • Tangent asymptotes at 90° and 270° (division by cos θ = 0 causes undefined infinity).
    • Forgetting inverse trigonometric domain limits (e.g., arcsin input must be between -1 and 1).

    Dimensional Analysis & Units

    Ratio of side lengths → Dimensionless Scalar [-1, +1]

    Real-World & Industry Application

    Audio sound wave synthesis, AC alternating current electrical waveforms, robotic arm joint kinematics, and astronomical navigation.

    📖 Beginner's guideCosine Rule Calculator: Solve Triangles Using the Law of CosinesLearn to apply the cosine rule (Law of Cosines) for solving triangles when you know three sides or two sides and the included angle.

    Worked Example: Cosine Rule

    Given:

    • a = 5
    • b = 7
    • C = 60
    1. c² = 5² + 7² - 2(5)(7)cos(60°)
    2. c² = 25 + 49 - 70(0.5)
    3. c² = 74 - 35
    4. c² = 39
    5. c = √39 = 6.24

    Answer: 6.24

    Frequently Asked Questions

    What is the Cosine Rule formula?

    c² = a² + b² - 2ab cos(C). Find the length of a side using the cosine rule.

    How do I calculate Cosine Rule?

    Enter Side a (a), Side b (b), Angle C (C) into the calculator. It applies c² = a² + b² - 2ab cos(C) and shows every step of the working.

    Sponsored ToolsAd

    More tools on Ytools →
    Calcu.click — 25+ Free Smart Calculators preview

    Calcu.click — 25+ Free Smart Calculators

    Brand new calculation platform with 0ms reactive math, 100% client-side privacy, and dedicated subdomains. Fast calculators for EMI, SIP, Mortgage, Income Tax, BMI, Age, Percentage, and more.

    25+ CalculatorsFinanceHealth0ms Real-TimeFree
    Keyboard Arena preview

    Keyboard Arena

    Master touch typing with real-time WPM speed tests, mechanical switch audio, A-Z finger biomechanics drills, 40+ structured lessons, and competitive arcade games.

    Typing TestWPMTouch Typing
    Flutter Log Explorer preview

    Flutter Log Explorer

    Real-time structured log viewer and search explorer for Flutter & Dart. Zero-config capture from Debug Adapter (DAP) & Dart VM Service with smart classification and filters.

    FlutterDartVS Code ExtensionOpen VSX