Chapter 14 Advanced 26 min read Updated 2026-11-28

Trigonometry Basics (SOH CAH TOA)

Practice Questions →

In This Chapter

What Is It?

What Is Trigonometry?

Trigonometry is the part of maths that connects the angles of a triangle to the lengths of its sides. The word comes from Greek and simply means "triangle measuring". In this chapter we focus on right-angled triangles (right triangles in the US), where trigonometry is at its simplest and most useful.

Pythagoras' theorem lets you find a missing side when you already know two sides. But what if you know one side and an angle? Or two sides and you want an angle? Pythagoras cannot help with angles. Trigonometry can.

The tools are three ratios called sine, cosine and tangent, written sin, cos and tan. A ratio here just means one side length divided by another. Each ratio compares a different pair of sides, and each one depends only on the size of the angle, not on how big the triangle is.

Students all over the world remember the three ratios with the made-up word SOH CAH TOA (said "so-ka-toe-a"): Sine is Opposite over Hypotenuse, Cosine is Adjacent over Hypotenuse, and Tangent is Opposite over Adjacent. By the end of this chapter you will know what those words mean, why the ratios work, and how to use them to find any missing side or angle in a right-angled triangle.

Why Does It Matter?

Why Does It Matter?

Trigonometry lets you measure things you cannot reach. If you can stand somewhere, measure a distance along the ground and measure an angle, you can work out heights and distances that would be impossible to measure with a tape.

Heights of trees, buildings and mountains

Stand a known distance from a tree, measure the angle up to its top, and the tangent ratio gives you its height. Surveyors have measured mountains, including the first accurate measurements of very tall peaks, in exactly this way, using angles taken from far below.

Ramps, roofs and roads

Architects and builders need the angle of a roof, a staircase or a wheelchair ramp to be just right: too steep is unsafe, too shallow does not drain or wastes space. Road signs that show a steep hill as a percentage, like 10%, are giving you the tangent of the angle as a percentage.

Navigation, flight and space

Pilots work out how high they will be after climbing at a certain angle for a certain distance. Ships and aircraft use angles and trigonometry to plot courses. Space agencies use it to point antennas at spacecraft and to work out orbits.

Sport

The angle at which a ball is launched decides how far it travels. Coaches and sports scientists use trigonometry to split a kick, throw or jump into a "how far forward" part and a "how high" part.

Phones, games and music

Your phone's screen rotates because sensors measure tilt angles. 3D video games use sine and cosine constantly to rotate characters and cameras. Sound waves and the signals that carry Wi-Fi and mobile data are described using sine waves, which grow directly out of the ratios in this chapter.

Detailed Explanation

Trigonometry (SOH CAH TOA) Explained Step by Step

1. Naming the sides: hypotenuse, opposite, adjacent

Imagine you are standing at one of the sharp corners of a right-angled triangle, looking into the triangle. One side runs from your feet straight across to the right angle. Another side is far away, on the other side of the triangle, facing you. And the longest side runs from your feet along the slope.

Those three sides get names that depend on which angle you are standing at. We usually call that angle θ (the Greek letter theta) or x.

  • Hypotenuse (H): the longest side, opposite the right angle. It never changes, whichever angle you use.
  • Opposite (O): the side directly across from the angle θ. It does not touch θ at all.
  • Adjacent (A): the side next to θ that is not the hypotenuse. "Adjacent" means "next to".

Here is a step order that always works: first find the hypotenuse (across from the right angle), then find the opposite (across from θ), and the side left over is the adjacent.

Important: if you switch to the other sharp angle, the opposite and adjacent swap over. In a 3, 4, 5 triangle, the 3 cm side is opposite one angle but adjacent to the other.

2. The big idea: same angle, same shape, same ratios

Imagine three slides in a playground, all built at the same 30° angle: a tiny one for toddlers, a medium one, and a giant one. They are different sizes, but they are the same shape. Mathematicians call shapes like this similar.

Because they are the same shape, the ratio of height to slide length is the same for all three. For a 30° slope, the height is always exactly half of the sloping length. A slide 2 m long rises 1 m; a slide 6 m long rises 3 m; a slide 10 m long rises 5 m.

So for any angle, the ratio of one side to another is fixed. That fixed number depends only on the angle. Your calculator stores these numbers for every angle, and the three most useful ones have names: sine, cosine and tangent.

3. Sine, cosine and tangent

For an angle θ in a right-angled triangle:

RatioDefinitionMemory
sin θopposite ÷ hypotenuseSOH
cos θadjacent ÷ hypotenuseCAH
tan θopposite ÷ adjacentTOA

Take the 3, 4, 5 triangle and stand at the angle θ that is opposite the 3 cm side. Then O = 3, A = 4 and H = 5, so sin θ = 3/5 = 0.6, cos θ = 4/5 = 0.8 and tan θ = 3/4 = 0.75. Type sin 36.87° into a calculator and you get 0.6000, because that is the size of this angle.

Some people prefer a sentence to remember the order, such as "Some Old Horses Can Always Hear Their Owners Approach". Use whichever sticks.

4. Using your calculator properly

Your calculator can measure angles in two systems: degrees and radians. In this chapter, and in most school work on triangles, you use degrees. Look for a small D or DEG on the screen. If you see R or RAD, change the mode.

A quick test: type sin 30. In degree mode you get 0.5. If you get −0.988..., your calculator is in radians, and every answer you work out will be wrong.

To find a ratio from an angle, press sin, cos or tan then the angle. To find an angle from a ratio, use the inverse buttons, usually reached with SHIFT or 2nd: sin⁻¹, cos⁻¹ and tan⁻¹ (in the US these are often called arcsin, arccos and arctan).

5. Choosing the right ratio

Imagine you are packing for a trip and only need the right tool for the job. In every trigonometry question you deal with exactly two sides: the one you know and the one you want (or, for an angle, the two you know). Pick the ratio that contains those two sides.

  1. Mark the angle θ you know (or want).
  2. Label the sides H, O and A from that angle.
  3. Tick the side you know and the side you want. Cross out the third side; you will not use it.
  4. Choose the ratio: O and H means SOH (sin), A and H means CAH (cos), O and A means TOA (tan).

For example, if you know the angle and the hypotenuse and want the opposite, use sin. If you know the opposite and adjacent and want the angle, use tan.

6. Finding a missing side

Once you have chosen the ratio, write it as an equation and solve it. There are two cases, depending on whether the unknown is on the top or the bottom of the fraction.

Unknown on top: multiply. Angle 30°, hypotenuse 12 cm, find the opposite x. Using sin: sin 30° = x ÷ 12, so x = 12 × sin 30° = 12 × 0.5 = 6 cm.

Unknown on the bottom: divide. Angle 55°, adjacent 9 m, find the hypotenuse x. Using cos: cos 55° = 9 ÷ x. Multiply both sides by x: x × cos 55° = 9, then divide by cos 55°: x = 9 ÷ cos 55° = 9 ÷ 0.5736... = 15.69 m.

A handy memory aid is a small triangle for each ratio, with the top of the fraction at the top. For SOH, put O at the top with S and H underneath, then cover the letter you want: O = S × H, H = O ÷ S, S = O ÷ H. CAH and TOA work the same way, with A or O at the top.

Always check the answer makes sense: the hypotenuse must be the longest side, so if you find a "hypotenuse" smaller than a leg, you have multiplied when you should have divided.

7. Finding a missing angle

Imagine you know how high a ramp rises and how long it is, and you want to know how steep it is. Now both sides are known and the angle is the mystery. Work out the ratio as a number, then use the inverse button.

Example: opposite 5 cm, adjacent 8 cm. Using TOA: tan θ = 5 ÷ 8 = 0.625. So θ = tan⁻¹(0.625) = 32.005...° = 32.0° (1 d.p.).

Two checks: the angle must be between 0° and 90°, and a bigger opposite side should give a bigger angle. Also remember that sin⁻¹ does not mean 1 ÷ sin. It means "the angle whose sine is".

8. Exact values you should know

Some angles give tidy values that you can find without a calculator. Many exams expect you to know them.

θ0°30°45°60°90°
sin θ0½√2/2√3/21
cos θ1√3/2√2/2½0
tan θ0√3/31√3not defined

These come from two simple shapes. Cut a square of side 1 along its diagonal: you get a 45° triangle with legs 1, 1 and hypotenuse √2, so sin 45° = 1/√2 = √2/2 and tan 45° = 1. Cut an equilateral triangle of side 2 in half: you get a triangle with sides 1, √3 and 2 and angles 30°, 60° and 90°, which gives all the 30° and 60° values.

Notice the patterns: as θ grows from 0° to 90°, sin rises from 0 to 1 while cos falls from 1 to 0. Sin and cos of acute angles are never more than 1, because the opposite and adjacent can never be longer than the hypotenuse. Tan, however, can be any positive number: very steep angles have huge tangents.

9. Angles of elevation and depression

Imagine lying on the grass and looking up at the top of a flagpole. The angle between the flat ground and your line of sight is the angle of elevation: the angle you look up from the horizontal.

Now imagine standing at the top of a cliff looking down at a boat. The angle between the horizontal and your line of sight is the angle of depression: the angle you look down from the horizontal.

The angle of depression from the cliff to the boat equals the angle of elevation from the boat to the cliff top. This is because the two horizontal lines are parallel, and the line of sight makes equal alternate angles with them (the Z-angle rule from the angles chapter).

In these questions always draw a sketch, mark the horizontal, put the angle in the correct place, and remember to add on the observer's eye height if the question gives it.

10. How trigonometry links to Pythagoras

Imagine a right-angled triangle with hypotenuse exactly 1. Then the opposite side is sin θ and the adjacent side is cos θ. Pythagoras' theorem on this triangle gives the famous result

sin²θ + cos²θ = 1

(sin²θ means (sin θ)², the sine squared). Also, dividing SOH by CAH gives (O/H) ÷ (A/H) = O/A, so tan θ = sin θ ÷ cos θ. You do not need these to solve basic triangles, but they are useful checks and they become very important in later trigonometry.

In a full problem you will often use both tools: Pythagoras when you have two sides and want the third, and SOH CAH TOA whenever an angle is involved.

Worked Examples

Writing the three ratios

Triangle ABC has a right angle at B. AB = 4 cm, BC = 3 cm and AC = 5 cm. Write sin A, cos A and tan A as fractions and decimals.

  1. The hypotenuse is opposite the right angle at B, so H = AC = 5.

  2. Standing at A, the opposite side is the one not touching A: O = BC = 3.

  3. The remaining side is the adjacent: A = AB = 4.

  4. sin A = O/H = 3/5, cos A = A/H = 4/5, tan A = O/A = 3/4.

Answer

sin A = 3/5 = 0.6, cos A = 4/5 = 0.8, tan A = 3/4 = 0.75

From angle C the opposite and adjacent swap: sin C = 4/5, cos C = 3/5, tan C = 4/3. Notice sin A = cos C, because A and C add up to 90°.

Finding the opposite side with sine

A right-angled triangle has a hypotenuse of 12 cm and an angle of 30°. Find the side opposite the 30° angle.

  1. Known: H = 12. Wanted: O. O and H means SOH.

  2. sin 30° = x ÷ 12.

  3. The unknown is on top, so multiply: x = 12 × sin 30° = 12 × 0.5.

Answer

6 cm

sin 30° is exactly ½, so the side opposite 30° is always half the hypotenuse.

Finding the adjacent side with tangent

In a right-angled triangle, the angle θ = 40° and the side opposite θ is 7 cm. Find the adjacent side, to 3 significant figures.

  1. Known: O = 7. Wanted: A. O and A means TOA.

  2. tan 40° = 7 ÷ x.

  3. The unknown is on the bottom, so divide: x = 7 ÷ tan 40°.

  4. x = 7 ÷ 0.83909... = 8.3422...

Answer

8.34 cm (3 s.f.)

Quick check: tan 40° is a bit less than 1, so the opposite is a bit shorter than the adjacent. 7 is a bit less than 8.34, so it fits.

Finding the hypotenuse with cosine

A right-angled triangle has an angle of 55° and the side adjacent to it is 9 m. Find the hypotenuse, to 2 decimal places.

  1. Known: A = 9. Wanted: H. A and H means CAH.

  2. cos 55° = 9 ÷ x.

  3. x = 9 ÷ cos 55° = 9 ÷ 0.57357... = 15.6910...

Answer

15.69 m (2 d.p.)

The hypotenuse (15.69) is longer than the adjacent (9), as it must be. Multiplying instead would give 9 × 0.574 = 5.16, which is shorter than 9 and so impossible.

Finding an angle with inverse tangent

A right-angled triangle has the side opposite θ equal to 5 cm and the side adjacent to θ equal to 8 cm. Find θ to 1 decimal place.

  1. Known: O and A, so use TOA.

  2. tan θ = 5 ÷ 8 = 0.625.

  3. θ = tan⁻¹(0.625) = 32.0053...°

Answer

θ = 32.0° (1 d.p.)

The other acute angle is 90° − 32.0° = 58.0°. As a check, tan 58.0° ≈ 1.6 = 8 ÷ 5.

Height of a tree (angle of elevation)

Aisha stands 25 m from the base of a tree on level ground. The angle of elevation from her eyes to the top of the tree is 38°. Her eyes are 1.6 m above the ground. How tall is the tree, to 1 decimal place?

  1. Draw a horizontal line from Aisha's eyes to the tree. This makes a right-angled triangle with adjacent side 25 m and angle 38°.

  2. We want the opposite side (the part of the tree above eye level). O and A means TOA: tan 38° = h ÷ 25.

  3. h = 25 × tan 38° = 25 × 0.78128... = 19.532... m.

  4. Add her eye height: 19.532 + 1.6 = 21.132 m.

Answer

21.1 m (1 d.p.)

Forgetting the 1.6 m is a very common slip. The triangle starts at her eyes, not at her feet.

Boat from a lighthouse (angle of depression)

From the top of a lighthouse 60 m above sea level, the angle of depression to a boat is 12°. How far is the boat from the foot of the lighthouse, to 3 significant figures?

  1. The angle of depression from the top equals the angle of elevation from the boat, so the angle at the boat is 12°.

  2. From the boat: the height 60 m is opposite, and the distance d along the sea is adjacent. TOA: tan 12° = 60 ÷ d.

  3. d = 60 ÷ tan 12° = 60 ÷ 0.21255... = 282.277...

Answer

282 m (3 s.f.)

A small angle of depression means the boat is far away. Sense check: a 12° slope rises only about 0.21 m per metre, so 60 m of height needs nearly 300 m of distance.

How steep is the ramp?

A ramp has a sloping surface 6 m long and rises 0.5 m. Find the angle the ramp makes with the ground, to 1 decimal place.

  1. Known: the rise 0.5 m is opposite the angle, and the sloping surface 6 m is the hypotenuse. O and H means SOH.

  2. sin θ = 0.5 ÷ 6 = 0.08333...

  3. θ = sin⁻¹(0.08333...) = 4.780...°

Answer

4.8° (1 d.p.)

Keep 0.5 ÷ 6 as a full calculator value (or type sin⁻¹(0.5 ÷ 6) in one go) rather than rounding it to 0.08 first, which would give 4.6°.

Common Mistakes

Calculator in the wrong mode

Wrongsin 30 = −0.988
RightIn degree mode, sin 30° = 0.5

If the calculator is set to radians, every trig answer is wrong, often wildly. Before a test, type sin 30 and check you get 0.5. Look for D or DEG on the screen.

Mixing up opposite and adjacent

WrongUsing the side next to θ as the opposite
RightOpposite does not touch θ; adjacent touches θ and is not the hypotenuse

The labels depend on which angle you are using, so they change if you move to the other angle. Always label the hypotenuse first, then the side across from θ, then the one left over. Write H, O and A on your sketch before choosing a ratio.

Multiplying when the unknown is on the bottom

Wrongcos 55° = 9 ÷ x, so x = 9 × cos 55° = 5.16
Rightx = 9 ÷ cos 55° = 15.69

When x is on the bottom of the fraction, multiply both sides by x first, then divide. A quick check catches the error: a hypotenuse cannot be shorter than another side.

Thinking sin⁻¹ means 1 ÷ sin

Wrongsin θ = 0.5, so θ = 1 ÷ 0.5 = 2
Rightθ = sin⁻¹(0.5) = 30°

The little −1 here is not a power. It means "the inverse function": which angle has this sine? Use SHIFT (or 2nd) and then sin on your calculator.

Rounding the ratio too early

Wrongtan 40° ≈ 0.8, so x = 7 ÷ 0.8 = 8.75
Rightx = 7 ÷ tan 40° = 8.34 (using the full value 0.83909...)

Trig values often have many decimal places, and rounding them early can change your answer a lot. Type the whole calculation into the calculator in one go, or use the answer memory, and round once at the end.

Using SOH CAH TOA without a right angle

WrongIn a triangle with angles 50°, 60°, 70°: sin 50° = opposite ÷ longest side
RightSOH CAH TOA only works in right-angled triangles; use the sine or cosine rule otherwise

The words hypotenuse, opposite and adjacent only make sense when there is a 90° angle. If there is none, you can sometimes drop a perpendicular line to split the shape into right-angled triangles first.

Summary

  • Trigonometry links the angles of a triangle to the lengths of its sides; SOH CAH TOA works in right-angled triangles.
  • From a chosen angle θ, the hypotenuse is opposite the right angle, the opposite is across from θ, and the adjacent is next to θ.
  • sin θ = opposite ÷ hypotenuse, cos θ = adjacent ÷ hypotenuse, tan θ = opposite ÷ adjacent.
  • The ratios depend only on the angle, because triangles with the same angles are similar.
  • Pick the ratio that uses the side you know and the side you want, and ignore the third side.
  • If the unknown side is on top of the fraction multiply; if it is on the bottom divide.
  • Use sin⁻¹, cos⁻¹ or tan⁻¹ to find an angle from a ratio; the −1 means inverse, not a power.
  • Set your calculator to degrees and check that sin 30 gives 0.5.
  • Know the exact values for 30°, 45° and 60°, for example sin 30° = ½, tan 45° = 1 and cos 60° = ½.
  • Angles of elevation are measured up from the horizontal and angles of depression down from it; they are equal for the same line of sight.

Ready to Practice?

Test your understanding with 40 practice questions on this topic, each with a hint and a full solution.

Go to Practice Questions
Learn it live

Want a teacher to take you further than Trigonometry Basics (SOH CAH TOA)?

Notes explain the idea. A live teacher checks how you think, spots the exact step that slips, and moves at your pace, in a small group or 1-on-1, at a time that suits your time zone.

Keep exploring Modern Age Coders

More chapters

Learn more

From the blog

Start here