When to Use Sine, Cosine, or Tangent
Measurements, material estimation, cutting calculations
Voltage drop, wire sizing, load balancing
You know the three trig ratios — sine, cosine, and tangent — and you know what SOH CAH TOA stands for. But when a problem lands in front of you, which ratio do you actually pick? All three involve the same right triangle, but each one connects a different pair of sides to the angle. Choose the wrong ratio and you waste time setting up an equation that cannot be solved, or worse, you get an answer that looks right but is not. This page gives you a systematic method so you never have to guess.
The Decision Flowchart
Every right-triangle trig problem boils down to one question: which two sides are involved? One side is known and the other is what you need to find. The flowchart below walks you through the decision.
Which Trig Ratio Should You Use?
The flowchart captures the entire decision in two questions. Start at the top, follow the branch that matches your problem, and you land on the correct ratio every time.
Quick Reference Table
Here is every scenario you will encounter when solving a right triangle with trig. The left columns tell you what the problem gives you and what it asks for; the right columns tell you which ratio to use and the rearranged formula.
| You Know | You Need | Use | Formula |
|---|---|---|---|
| Angle + Hypotenuse | Opposite | Sine | |
| Angle + Hypotenuse | Adjacent | Cosine | |
| Angle + Opposite | Hypotenuse | Sine | |
| Angle + Adjacent | Hypotenuse | Cosine | |
| Angle + Adjacent | Opposite | Tangent | |
| Angle + Opposite | Adjacent | Tangent | |
| Two sides | Missing angle | Inverse function | , , or |
Notice a pattern: sine and cosine always involve the hypotenuse. If the hypotenuse is not part of your problem, tangent is the answer.
The Three-Word Memory Aid
“SOH CAH TOA tells you which sides. Your problem tells you which ratio.”
Here is the thought process you should follow for every problem:
- Label the sides. Relative to the angle in the problem, mark which side is Opposite (O), which is Adjacent (A), and which is the Hypotenuse (H).
- Circle the two sides that matter. One of these is given in the problem; the other is what you need to find.
- Match those two letters to a ratio. If your circled pair is O and H, use sine. If it is A and H, use cosine. If it is O and A, use tangent.
That is all there is to it. The mnemonic SOH CAH TOA is not just a memory trick — it is a lookup table. You are matching two letters to find the right ratio.
Worked Examples
Example 1: Ladder Problem (Sine)
A 25-foot ladder leans against a building at a 70-degree angle with the ground. How high up the building does it reach?
Step 1 — Label the sides. The ladder is the hypotenuse (). The height on the building is opposite the 70-degree angle. The ground distance is adjacent.
Step 2 — Identify the pair. We know H and we need O. That pair is O and H.
Step 3 — Choose the ratio. O and H means sine.
Answer: The ladder reaches approximately 23.49 feet up the building.
Example 2: Shadow and Height Problem (Tangent)
A tree casts a 30-foot shadow on flat ground. From the tip of the shadow, the angle of elevation to the top of the tree is 54 degrees. How tall is the tree?
Step 1 — Label the sides. The shadow is adjacent to the 54-degree angle (). The tree height is opposite. The line from the shadow tip to the treetop would be the hypotenuse, but it is not mentioned.
Step 2 — Identify the pair. We know A and we need O. That pair is O and A.
Step 3 — Choose the ratio. O and A means tangent.
Answer: The tree is approximately 41.29 feet tall.
Example 3: Ramp Problem (Inverse Trig)
A loading ramp is 20 feet long and rises 5 feet from the ground to a platform. What angle does the ramp make with the ground?
Step 1 — Label the sides. The ramp surface is the hypotenuse (). The rise is opposite (). The horizontal run is adjacent.
Step 2 — Identify the pair. We know O and H. That pair is O and H.
Step 3 — Choose the ratio. O and H means sine. Since we need the angle instead of a side, we use the inverse:
Answer: The ramp makes approximately a 14.48-degree angle with the ground.
What About Finding Angles?
When you know two sides and need the angle, the decision process is exactly the same — you still figure out which pair of sides you have (O and H, A and H, or O and A) and pick the matching ratio. The only difference is the final step: instead of solving for a side, you apply the inverse function.
- Know O and H? Use
- Know A and H? Use
- Know O and A? Use
The choosing step does not change. Only the solving step does.
Common Mistakes
-
Forgetting to relabel sides when the angle changes. If a problem references two different angles, the opposite and adjacent sides swap when you switch angles. The hypotenuse stays the same, but always re-label O and A for the specific angle you are working with.
-
Using sine or cosine when the hypotenuse is not involved. If neither the known side nor the needed side is the hypotenuse, neither sine nor cosine will help. Use tangent.
-
Setting up the ratio upside down. Sine is , not . Writing the fraction backward leads to the reciprocal of the correct answer. Always put the sides in the order the mnemonic gives: SOH means O on top, H on the bottom.
-
Mixing degrees and radians. If your calculator is in radian mode and you type , you will get the sine of 70 radians — a completely different number. Make sure the mode matches the units in your problem.
Practice Problems
Test your understanding with these problems. For each one, first decide which ratio to use, then solve. Click to reveal the answer.
Problem 1: A 50-foot wire runs from the top of a pole to the ground, making a 72-degree angle with the ground. How high is the pole?
Choose the ratio: The wire is the hypotenuse (). The pole height is opposite the 72-degree angle. We know H and need O — use sine.
Answer: The pole is approximately 47.55 feet tall.
Problem 2: A building casts a 40-foot shadow. The angle of elevation from the tip of the shadow to the top of the building is 62 degrees. How tall is the building?
Choose the ratio: The shadow is adjacent to the 62-degree angle (). The building height is opposite. No hypotenuse involved — use tangent.
Answer: The building is approximately 75.23 feet tall.
Problem 3: A ramp is 12 feet long and rises 3 feet. What angle does the ramp make with the ground?
Choose the ratio: The ramp is the hypotenuse (). The rise is opposite (). We know O and H — use sine (inverse, since we need the angle).
Answer: The ramp makes approximately a 14.48-degree angle with the ground.
Problem 4: A carpenter needs a diagonal brace for a rectangular wall frame that is 8 feet tall and 6 feet wide. What angle does the brace make with the floor?
Choose the ratio: The wall height (8 ft) is opposite the angle at the base. The wall width (6 ft) is adjacent. No hypotenuse given — use tangent (inverse, since we need the angle).
Answer: The brace makes approximately a 53.13-degree angle with the floor.
Problem 5: An electrician runs conduit 15 feet long at 35 degrees from horizontal. What is the vertical rise of the conduit?
Choose the ratio: The conduit is the hypotenuse (). The vertical rise is opposite the 35-degree angle. We know H and need O — use sine.
Answer: The vertical rise is approximately 8.60 feet.
Key Takeaways
- Every trig problem reduces to one question: which two sides (out of O, A, H) are involved?
- If the hypotenuse is one of them: use sine (O and H) or cosine (A and H)
- If the hypotenuse is not involved: use tangent (O and A)
- Label sides first, choose ratio second — do not try to pick a ratio before you know which sides matter
- For finding angles, the choosing step is identical — only the final step changes to an inverse function
- SOH CAH TOA is your lookup table: match the pair of sides to the three-letter group that contains both letters
Return to Trigonometry for more topics in this section.
Next Up in Trigonometry
Last updated: March 28, 2026