FreeMathCamp
Course Articles

Free Math Camp

A free course in the maths you need before calculus. Short lessons, interactive visuals, practice that adapts to you, and a record of progress on your account.

freemathcamp.app

Made by Adam Richard Turner

hello@adamrichardturner.dev

Course

  • Foundations
  • Articles
  • Start free
  • Sign in

Legal

  • Privacy
  • Terms
  • Do not sell or share

Copyright © Adam Richard Turner. All rights reserved.

  1. Articles
  2. /
  3. Trigonometry
Trigonometry

SOH CAH TOA: Sine, Cosine and Tangent in Right-Angled Triangles

Why side ratios depend only on the angle, how to label opposite, adjacent and hypotenuse, how to choose the right ratio, and how to find a missing side or a missing angle.

3 min read Supports 3 lessons
In short

In a right-angled triangle, sine, cosine and tangent are ratios of sides that depend only on an angle: sin⁡θ=opphyp\sin\theta = \frac{\text{opp}}{\text{hyp}}sinθ=hypopp​, cos⁡θ=adjhyp\cos\theta = \frac{\text{adj}}{\text{hyp}}cosθ=hypadj​, tan⁡θ=oppadj\tan\theta = \frac{\text{opp}}{\text{adj}}tanθ=adjopp​. SOH CAH TOA is the memory aid.

Take two right-angled triangles with the same 30°30°30° angle, one tiny and one huge. They are the same shape, one an enlargement of the other, so the [[ratios|ratios]] of their sides are identical. In every right-angled triangle with a 30°30°30° angle, the side opposite it is exactly half the longest side.

Key idea

In a right-angled triangle, the ratios of the sides depend only on the angle, not on the size of the triangle. Those ratios are called sine, cosine and tangent.

Labelling the sides

Label the sides relative to the angle you care about, θ\thetaθ:

Hypotenuse: the longest side, opposite the right angle.

Opposite: the side across from θ\thetaθ.

Adjacent: the side next to θ\thetaθ that is not the hypotenuse.

oppositeadjacenthypotenuseθ
Tip

Opposite and adjacent swap if you switch to the other acute angle. The hypotenuse never changes.

SOH CAH TOA
sin⁡θ=opphypcos⁡θ=adjhyptan⁡θ=oppadj\sin\theta = \frac{\text{opp}}{\text{hyp}} \qquad \cos\theta = \frac{\text{adj}}{\text{hyp}} \qquad \tan\theta = \frac{\text{opp}}{\text{adj}}sinθ=hypopp​cosθ=hypadj​tanθ=adjopp​

Finding a missing side

Decide which side you know and which you want, pick the ratio that uses those two, and solve.

  1. A 5 m ramp makes a 20∘ angle with the ground.\text{A 5 m ramp makes a } 20^\circ \text{ angle with the ground.}A 5 m ramp makes a 20∘ angle with the ground.

    How high does it rise?

1/4
Watch out

If the unknown is on the bottom, as in cos⁡40°=8x\cos 40° = \frac{8}{x}cos40°=x8​, the answer is x=8cos⁡40°x = \frac{8}{\cos 40°}x=cos40°8​. Multiply by xxx first, then divide.

Finding a missing angle

If you know two sides and want the angle, use the inverse functions sin⁡−1\sin^{-1}sin−1, cos⁡−1\cos^{-1}cos−1 and tan⁡−1\tan^{-1}tan−1. They take a ratio and return the angle.

Worked example

A ladder 666 m long reaches 555 m up a wall. What angle does it make with the ground?

  1. 1

    Opposite 555, hypotenuse 666: sine.

    sin⁡θ=56\sin\theta = \frac{5}{6}sinθ=65​
Watch out

Make sure your calculator is in degree mode when angles are in degrees.

Exact values

Two special triangles give exact values worth knowing. Half an equilateral triangle gives sin⁡30°=12\sin 30° = \frac12sin30°=21​ and cos⁡30°=32\cos 30° = \frac{\sqrt3}{2}cos30°=23​​. A right-angled isosceles triangle gives sin⁡45°=cos⁡45°=22\sin 45° = \cos 45° = \frac{\sqrt2}{2}sin45°=cos45°=22​​ and tan⁡45°=1\tan 45° = 1tan45°=1.

Key idea

Right-angled triangles only allow angles below 90°90°90°. The unit circle extends sine and cosine to every angle, which is what turns them into the wave-shaped functions used throughout science.

Common questions

What does SOH CAH TOA stand for?

Sine is Opposite over Hypotenuse, Cosine is Adjacent over Hypotenuse, Tangent is Opposite over Adjacent.

How do I know whether to use sin, cos or tan?

Label the sides relative to the angle, note which side you know and which you want, and choose the ratio that contains exactly those two sides.

Practise soh cah toa

The SOH CAH TOA lesson has worked examples and unlimited practice that adapts to you.

Open the lesson

On this page

  1. Labelling the sides
  2. Finding a missing side
  3. Finding a missing angle
  4. Exact values
  5. Common questions
Lessons on this
  • SOH CAH TOATrigonometry
  • The Unit CircleTrigonometry
  • Solving Trig EquationsTrigonometry
Related reading8
Ideas this article builds on or leads to.
  • Trigonometry
    The Unit Circle Explained: Sine and Cosine for Any Angle

    The unit circle has radius 111 and centre at the origin. The point at angle θ\thetaθ around it has coordinates (cos⁡θ,sin⁡θ)(\cos\theta, \sin\theta)(cosθ,sinθ), which defines sine and cosine for every angle, not just those under 90°90°90°.

  • Geometry
    The Pythagorean Theorem Explained: a² + b² = c²

    In a right-angled triangle, the square of the hypotenuse (the longest side, opposite the right angle) equals the sum of the squares of the other two sides: a2+b2=c2a^2 + b^2 = c^2a2+b2=c2.

  • Geometry
    Why Do the Angles in a Triangle Add Up to 180°?

    The three interior angles of any triangle add up to 180°180°180°. Isosceles triangles have two equal angles; equilateral triangles have three, each 60°60°60°.

  • Trigonometry
    Solving Trig Equations and Inverse Trig Functions

    To solve a trig equation like sin⁡x=12\sin x = \frac12sinx=21​, use an inverse trig function to find one angle, then use the symmetry of the unit circle to find every other angle in the range you need.

  • Geometry
    Angles Explained: Types of Angles and Angle Facts

    An angle measures an amount of turn. A full turn is 360°360°360°, a straight line 180°180°180° and a right angle 90°90°90°. Angles on a straight line add to 180°180°180° and angles around a point add to 360°360°360°.

  • Ratio & Proportion
    Ratios Explained: Simplifying and Sharing in a Ratio

    A ratio compares the sizes of two or more quantities. 2:32 : 32:3 means that for every 222 of the first there are 333 of the second.

  • Graphs & Functions
    Composite and Inverse Functions: f(g(x)) and f⁻¹(x) Explained

    A composite function f(g(x))f(g(x))f(g(x)) feeds the output of ggg into fff. An inverse function f−1f^{-1}f−1 undoes fff: if f(2)=7f(2) = 7f(2)=7, then f−1(7)=2f^{-1}(7) = 2f−1(7)=2.

  • Graphs & Functions
    What Is a Function? Inputs, Outputs, f(x) and the Vertical Line Test

    A function is a rule that gives exactly one output for each input. Writing f(x)f(x)f(x) means "the output of the function fff when the input is xxx".