On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Geometry Fundamentals · Grade 9-12

Right Triangle Trigonometry

Right-triangle trigonometry uses sine, cosine, and tangent to relate one acute angle of a right triangle to the ratio of two of its sides.

sin⁡θ=oppositehypotenuse,cos⁡θ=adjacenthypotenuse,tan⁡θ=oppositeadjacent

Quick Answer

Right-triangle trigonometry uses sine, cosine, and tangent to relate one acute angle of a right triangle to the ratio of two of its sides. Use it when a right triangle gives you an angle and one side and you need another side, or gives two sides and you need the angle. Label the sides from the angle you are using (opposite, adjacent, hypotenuse), pick the ratio that links the side you know to the side you want, and solve. This is how the heights of trees, ramps and roofs are found without climbing them.

Why This Matters

Trigonometry turns an angle you can measure from the ground into a length you cannot reach: the height of a building from 30 m away, the length of a ramp that must rise 1 m at a safe slope, the distance across a river. The Pythagorean theorem needs two sides; trig needs only one side and an angle. Mislabel the sides, though, and you get a different, wrong length, so the labelling step carries the whole method.

Intuitive Explanation

Draw a right triangle with a 30∘ angle and a hypotenuse of 2. The side opposite the 30∘ angle is 1. Draw a bigger one with the same 30∘ angle and a hypotenuse of 10, and the opposite side is 5. Every right triangle with a 30∘ angle is a scaled copy of every other (they are similar by AA), so the ratio opposite ÷ hypotenuse is always the same number, 0.5. That fixed ratio is sin⁡30∘.

Each acute angle has three such ratios. Sine is opposite over hypotenuse, cosine is adjacent over hypotenuse, and tangent is opposite over adjacent; SOH-CAH-TOA is the memory aid. Opposite and adjacent are always measured from the angle you are using: the opposite side does not touch that angle, the adjacent side is the leg that does, and the hypotenuse is the longest side, across from the right angle. Switch to the other acute angle and opposite and adjacent swap.

To use a ratio, write it with the known and unknown sides and solve. A 5 m ladder leaning at 70∘ to the ground reaches a height of 5sin⁡70∘≈5(0.940)=4.70 m, because the height is opposite the angle and the ladder is the hypotenuse.

If no angle is involved, trigonometry is the long way round: legs 6 and 8 give a hypotenuse of 36+64=10 directly by the Pythagorean theorem. And if a triangle has no right angle, these ratios do not apply as written; the laws of sines and cosines take over.

Think of it like this. The trig ratios work like a recipe's proportions: a pancake recipe calls for 2 cups of flour to 1 cup of milk whether you make a small batch or a big one. An angle fixes a right triangle's proportions the same way, and the size only scales the batch. The recipe is written for right triangles only.

Core idea. Right-triangle trig turns an angle into a fixed ratio of two specific sides.


When to Use

Use right-triangle trig when a problem has a right angle and an angle of elevation, depression, slope or tilt, together with one side, and asks for another side; or when it gives two sides and asks for an angle, which needs inverse trig. Label opposite, adjacent and hypotenuse from the given angle, then pick the ratio containing the known and wanted sides. If only sides are involved, use the Pythagorean theorem; if the angle is 30∘, 45∘ or 60∘ and an exact answer is wanted, use special right triangles.

Tip. Ask: Is there a right angle and an acute angle linking a pair of sides I need to relate?

How to Recognize It

Before writing sin, cos or tan, list what the right triangle gives you, which angles and which sides, and what it asks you to find.

  1. Is an acute angle given or asked for, besides the right angle?

    If no angle is involved and you know two sides, the Pythagorean theorem gives the third side directly. If an angle is given or wanted, a trig ratio is what links it to the sides.

  2. Are you asked to find an angle rather than a side?

    If yes, form the ratio of the two known sides and undo it with an inverse such as tan⁡−1; that is inverse trig. If a side is wanted, keep the angle inside the ratio and solve for the side.

  3. Is the given angle exactly 30∘, 45∘ or 60∘, with an exact answer requested?

    If yes, special right triangles give answers such as 43 without a calculator. For an angle such as 37∘, use the ratio and a calculator, and round as the question asks.

  4. Does the triangle in the problem actually have a right angle?

    If not, opposite over hypotenuse means nothing, because there is no hypotenuse. Look for a height you can draw to split the shape into right triangles, or use the laws of sines and cosines, which come later.

Right Triangle Trigonometry compared with Pythagorean theorem, Special right triangles, and Inverse trig functions

All four rows work on a right triangle, so it is easy to grab the wrong one. Ask what the problem connects: three sides (Pythagorean theorem), a special angle with an exact answer (special triangles), a side from an angle (trig ratios), or an angle from two sides (inverse trig).

Right Triangle Trigonometry

Meaning
Use this when a right triangle gives an angle and a side and you need a related side, or two sides to find the angle.
Key test
Is there a right angle and an acute angle linking a pair of sides I need to relate?
Formula
sin⁡θ=oppositehypotenuse,cos⁡θ=adjacenthypotenuse,tan⁡θ=oppositeadjacent
Example
A 12 m ramp makes a 30° angle with the ground. How high is the top end?

Pythagorean theorem

Meaning
Relates the three sides of a right triangle with no angle involved.
Key test
Use when you have two sides and want the third, with no angle.
Formula
a2+b2=c2
Example
Legs 3 and 4 give hypotenuse 5

Special right triangles

Meaning
Gives exact side ratios for the 30-60-90 and 45-45-90 cases without trig functions.
Key test
Use when the angles are exactly 30, 45, 60, or 90.
Formula
1:3:2 and 1:1:2
Example
Diagonal of a unit square is 2

Inverse trig functions

Meaning
Goes backward from a side ratio to the angle.
Key test
Use when you know two sides and need the angle, not a side.
Formula
θ=tan⁡−1(opp/adj)
Example
Ramp rises 3 over run 4, find its angle

Formula & Notation

sin⁡θ=oppositehypotenuse,cos⁡θ=adjacenthypotenuse,tan⁡θ=oppositeadjacent
For △ABC with ∠C=π2: sin⁡A=∣BC∣∣AB∣, cos⁡A=∣AC∣∣AB∣, tan⁡A=∣BC∣∣AC∣; satisfies sin⁡2A+cos⁡2A=1 and tan⁡A=sin⁡Acos⁡A

How to read it: SOH-CAH-TOA: Sine = Opposite/Hypotenuse, Cosine = Adjacent/Hypotenuse, Tangent = Opposite/Adjacent

Worked Examples

Example 1 — Height from an angle

Easy

A 12 m ramp makes a 30° angle with the ground. How high is the top end?
Show the steps and the answer
  1. Label from the 30∘ angle at the ground: the ramp, 12 m, is the hypotenuse, and the height of the top end is the opposite side.

    The height does not touch the 30∘ angle, and the ramp lies across from the right angle at the foot of the height.

  2. Choose the ratio linking opposite and hypotenuse: sin⁡30∘=height12.

    Sine is opposite over hypotenuse (SOH), and those are exactly the known side and the wanted side.

  3. Solve: height=12sin⁡30∘=12×0.5=6 m.

    Multiplying both sides by 12 isolates the height.

  4. Check: the ground run is 12cos⁡30∘≈10.39 m, and 62+10.392≈36+108=144=122.

    The three sides satisfy the Pythagorean theorem, so the labels were consistent.

Answer: 6 m

Takeaway: Label the sides from the given angle first; then the ratio containing the known side and the wanted side does the rest.

Example 2 — No angle given

Standard

A right triangle has legs 6 and 8. Find the hypotenuse.
Show the steps and the answer
  1. Check what is given: two legs and no acute angle.

    Trig ratios connect an angle with sides; with no angle given or asked for, they add nothing here.

  2. Use the Pythagorean theorem: c=62+82=36+64=100=10.

    It relates the three sides of a right triangle directly.

  3. See where trig would come in: the angle opposite the 6 satisfies tan⁡θ=68=0.75, so θ≈36.9∘.

    Once an angle is wanted, a side ratio and inverse trig give it.

Answer: 62+82=10

Takeaway: Sides only: use the Pythagorean theorem. An angle given or wanted: use trigonometry.

Example 3 — Find the mistake: sine where tangent belongs

Application

From a point 20 m from the base of a tree, the angle of elevation to the top of the tree is 35∘. Ravi writes: "sin⁡35∘=h20, so h=20sin⁡35∘≈11.5 m." Find the mistake and correct it.
Show the steps and the answer
  1. Label from the 35∘ angle: the tree's height h is opposite, the 20 m along the ground is adjacent, and the line of sight is the hypotenuse.

    The 20 m side touches the angle and is not the longest side, so it is adjacent.

  2. Find Ravi's error: sin⁡35∘=h20 treats the 20 m ground distance as the hypotenuse.

    Sine needs the hypotenuse, and here the hypotenuse is the unknown line of sight.

  3. Use the ratio of opposite to adjacent: tan⁡35∘=h20, so h=20tan⁡35∘≈20(0.700)=14.0 m.

    Tangent is opposite over adjacent (TOA), and those are the two sides in this problem.

  4. Check: the line of sight is 20cos⁡35∘≈24.4 m, and 14.02+202=196+400=596≈24.42.

    The three sides fit the Pythagorean theorem, so the corrected labels hold together.

Answer: h=20tan⁡35∘≈14.0 m

Takeaway: When the two sides in a problem are both legs, the ratio is tangent; find the hypotenuse before choosing sine or cosine.

Where You'll See It

  • Wheelchair ramp rules

    Building codes in many places let a ramp rise at most 1 unit for every 12 along the ground, an angle of tan⁡−1112≈4.8∘. To rise 0.75 m, a ramp needs 0.75×12=9 m of run, and its sloped surface is 92+0.752≈9.03 m long.

  • Measuring a building with a phone

    Stand 30 m from a building and a clinometer app reads 40∘ to the roof from eye level, 1.5 m up. The height above your eyes is 30tan⁡40∘≈25.2 m, so the building is about 26.7 m tall.

  • Roof pitch for carpenters

    A roof that rises 4 m over a horizontal half-span of 6 m has a pitch of tan⁡−146≈33.7∘, and each rafter is 42+62≈7.2 m long before any overhang is added.

Common Mistakes

  1. The slip: Mislabeling opposite and adjacent

    Instead: fix them relative to the chosen angle, not to the page.

  2. The slip: Using sine when the two known sides are the legs

    Instead: that pairing (opposite over adjacent) is tangent.

  3. The slip: Forgetting the calculator's angle mode

    Instead: set degrees for degree problems before evaluating sine, cosine, or tangent.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. A right triangle has a 35∘ angle and a hypotenuse of 20 cm. Find the side opposite the 35∘ angle.

    Hint: Which ratio links the opposite side and the hypotenuse?

  2. From 15 m away from a tree, the angle up to its top is 40∘. How tall is the tree, measured from eye level?

    Hint: You know the side next to the angle and want the side across from it.

  3. A 10 m ladder makes a 70∘ angle with the ground. How far is its foot from the wall?

    Hint: The distance along the ground is next to the 70∘ angle.

  4. A right triangle has legs 7 and 24. Find the angle opposite the side of length 7.

    Hint: You know the opposite and adjacent sides. Then use an inverse ratio.

  5. In a right triangle the hypotenuse is 13 and one leg is 5. You want the other leg. Do you need trigonometry or the Pythagorean theorem?

    Hint: Is any angle given or asked for?

  6. A right triangle has legs 5 and 9. To find the angle opposite the 5, Sara writes sin⁡θ=59 and gets 33.7∘. Correct her work.

    Hint: Is 9 the hypotenuse, or the other leg?

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Why can sine and cosine never be bigger than 1, while tangent can?

Sine and cosine both divide a leg by the hypotenuse, and the hypotenuse is always the longest side of a right triangle, so the fraction stays below 1 for any acute angle. Tangent divides one leg by the other, and the legs can have any lengths: at 45∘45^\circ they are equal, so tan⁡45∘=1\tan 45^\circ = 1, and as the angle approaches 90∘90^\circ the opposite leg grows without limit, so tangent can be as large as you like.

What does SOH-CAH-TOA mean?

It is a memory aid for the three ratios: Sine is Opposite over Hypotenuse, Cosine is Adjacent over Hypotenuse, Tangent is Opposite over Adjacent. Each letter is the first letter of a word. It helps only after you have labelled the sides from the angle you are using; the most common error is a correct ratio applied to the wrong side, so label first and then recall the rule.

Why is sin⁡30∘ equal to cos⁡60∘?

In a right triangle the two acute angles add to 90∘90^\circ, so if one is 30∘30^\circ the other is 60∘60^\circ. The side opposite the 30∘30^\circ angle is the same side that is adjacent to the 60∘60^\circ angle, so opposite over hypotenuse for one angle is adjacent over hypotenuse for the other. In general sin⁡θ=cos⁡(90∘−θ)\sin\theta = \cos(90^\circ - \theta), and the co in cosine is short for complement.

What are angles of elevation and depression, and are they ever equal?

An angle of elevation is measured upward from a horizontal line to something above you; an angle of depression is measured downward from a horizontal line to something below. When you look up at a bird and the bird looks down at you, the two angles are equal: the two horizontal lines are parallel, and the line of sight crosses them, making alternate interior angles. Both are measured from the horizontal, never from the vertical.

Learning Path

You need Triangles, the Pythagorean Theorem (to check sides) and Ratios (why a fixed angle gives a fixed side ratio) first. Right-triangle trigonometry adds sine, cosine and tangent, which connect angles to side lengths. Next, Special Right Triangles give exact values for 30∘, 45∘ and 60∘, Inverse Trigonometric Functions recover angles from ratios, and the Unit Circle extends the ratios to every angle.

See Also