Book a free chat

Topic explainer · MYP 4

Right-angled trigonometry (SOH CAH TOA)

How to use sine, cosine and tangent to find missing sides and angles in right-angled triangles, with worked examples and practice questions.

By Rachel Bodily · Last updated 27 November 2026

Created with AI assistance, reviewed by our IB educators.

In a right-angled triangle, sinθ, cosθ and tanθ are fixed ratios of two sides, remembered as SOH CAH TOA. Label the sides from the angle you are using, pick the ratio that links the two sides involved, then solve.

The key idea

θadjacentoppositehypotenuse

Label the sides from the angle. The hypotenuse is opposite the right angle. The opposite side is across from θ. The adjacent side is next to θ.

sinθ=opphypcosθ=adjhyptanθ=oppadj

Why it works. All right-angled triangles with a 35° angle are similar, so opposite over hypotenuse always comes out the same. That fixed ratio is sin35°.

To find an angle, use the inverse function on your calculator: sin−1, cos−1 or tan−1. Make sure it is set to degrees.

Worked examples

  1. Example 1
    The hypotenuse is 10 cm and θ=35°. Find the side opposite θ.
    35°opp = ?10 cm
    Opposite and hypotenuse: use sine
    sin35°=opp10SOH: the two sides involvedopp=10×sin35°Multiply both sides by 10opp=5.735…Calculator in degreesopp≈5.74cmRound to 3 significant figures
    CheckThe opposite side is shorter than the hypotenuse: 5.74<10 ✓
    Answer: opp≈5.74cm (3 significant figures)
  2. Example 2
    The opposite side is 7 cm and the adjacent side is 4 cm. Find θ.
    θ = ?4 cm7 cm
    Opposite and adjacent: use tangent
    tanθ=74TOA: the two sides involvedtanθ=1.75θ=tan−1(1.75)Inverse tan finds the angleθ=60.25…°θ≈60.3°Round to 1 decimal place
    Checktan60.3°=1.753…≈1.75 ✓
    Answer: θ≈60.3° (1 decimal place)
  3. Example 3
    The angle θ=40° and the side opposite θ is 6 cm. Find the hypotenuse, h.
    40°6 cmh = ?
    The unknown is on the bottom: multiply, then divide
    sin40°=6hSOH: opposite and hypotenuseh×sin40°=6Multiply both sides by hh=6sin40°Divide both sides by sin40°h=9.334…Calculator in degreesh≈9.33cmRound to 3 significant figures
    CheckThe hypotenuse is the longest side: 9.33>6 ✓
    Answer: h≈9.33cm (3 significant figures)
  4. Example 4
    You stand 20 m from a tree and measure the angle of elevation to the top as 40°. How tall is the tree above eye level?
    40°20 mh = ?
    Angle of elevation: opposite and adjacent
    tan40°=h20Height is opposite, distance is adjacenth=20×tan40°Multiply both sides by 20h=16.78…h≈16.8mRound to 3 significant figures
    Checktan40°=0.839… is less than 1, so the height must be less than 20 m: 16.8<20 ✓
    Answer: h≈16.8m above eye level (3 significant figures). Add your eye height for the full tree.

Common mistakes

  • Having the calculator in radiansSet it to degrees before you start.
  • Labeling opposite and adjacent from the wrong angleLabel the sides from the angle you are using, never from the right angle.
  • Multiplying when the unknown is on the bottomIf sin25°=9h, then h=9sin25°. Example 3 shows each step.

In an MYP task

Measuring heights (Criterion D)

A common MYP task asks students to find the height of a building or tree using an angle of elevation. For the higher levels, students explain how they took their measurements, add their eye height to the answer and discuss sources of error, such as measuring the angle inaccurately.

Practice questions

  1. The hypotenuse is 8 cm and θ=30°. Find the opposite side.
    Show answer
    sin30°=opp8opp=8×sin30°
    opp=4cm
  2. The opposite side is 5 cm and the hypotenuse is 13 cm. Find θ.
    Show answer
    sinθ=513θ=sin−1513
    θ≈22.6°
  3. θ=45° and the adjacent side is 6 cm. Find the opposite side.
    Show answer
    tan45°=opp6opp=6×tan45°
    opp=6cm
  4. θ=25° and the opposite side is 9 cm. Find the hypotenuse.
    Show answer
    sin25°=9hh=9sin25°
    h≈21.3cm

More topic explainers

Find more free resources, or look up command terms in the glossary.

Back to all free resources