Skip to content
    Greek Mathematician Mascot - Daskalos
    Mathimatikos

    60% off your first year

    Terms

    Student Pro: €35.60 for the first year instead of €89

    Teacher Pro: €75.60 for the first year instead of €189

    Code LAG60. One use per account. Renews automatically at the regular price. Cancel anytime.

    View plans

    Law of sines and law of cosines

    Solve a triangle from three sides, two sides with the included angle, or two angles with the side opposite the first.

    Calculate the result

    Triangle with sides 3, 4, 5 and an included angle of 90°Angle Γ is between sides a and b. Side c lies opposite it.ΑΒΓb = 4a = 3c = 5
    Illustrative diagram. Angle Γ is between sides a and b. Side c lies opposite it.
    c2=a2+b2−2abcos⁡Casin⁡A=bsin⁡B=csin⁡C

    Worked example

    Problem

    A triangle has sides a=3 cm and b=4 cm and included angle C=90°. Find side c and angles A and B.

    The sides 3 and 4 cm with included angle 90° give third side 5 cm.

    1. Find the opposite side using the law of cosines

      c2=32+42−2⋅3⋅4cos⁡90∘=25
    2. Use the acute solution of angle A

      sin⁡A=35,A≈36.87∘
    3. Find the third angle

      B=90∘−A≈53.13∘
    Ask AI for a step-by-step solution

    Common mistake

    Side a lies opposite angle A. When you know two sides and an angle, choosing this tool requires the angle to be between them.