Right Triangle Solver logo
Right Triangle Solver

Sine, Cosine, Tangent: SOHCAHTOA Guide for Beginners

person

Math Expert

Trigonometry

Sine, Cosine, Tangent: SOHCAHTOA Guide for Beginners

Trigonometry can seem intimidating at first, but at its core, it is simply the study of triangles. If you want to understand how the universe calculates distance, angles, and architecture, you must master the three foundational pillars of trigonometry: sine, cosine, and tangent.

Many students struggle with trigonometry because it introduces entirely new concepts, like angles determining side ratios, that aren’t present in basic algebra. However, these ratios are just simple fractions. They are used everywhere, from designing bridges and programming video games to navigating ships across the ocean.

In this definitive guide, we will break down exactly what sine, cosine, and tangent are in the simplest terms possible. Whether you are a middle school student, a parent helping with homework, or a DIY builder, this guide will provide a crystal clear understanding of right triangle trigonometry.

After reading this guide you will be able to:

  • Identify triangle sides (opposite, adjacent, hypotenuse).
  • Choose the correct trigonometric ratio.
  • Solve for missing sides.
  • Solve for missing angles.
  • Understand and memorize SOHCAHTOA.
  • Use scientific calculators correctly.
  • Solve real-world geometry problems.

What Are Sine, Cosine, and Tangent?

Sine, cosine, and tangent are trigonometric ratios that measure the relationship between the angles of a right triangle and the lengths of its sides. For any given angle, these ratios remain constant, allowing you to calculate unknown side lengths or missing angles when only partial information is available.

Definition and Purpose

In a right triangle, the ratio of any two sides depends entirely on the triangle’s acute angles.

  • Sine (sin): The ratio of the opposite side to the hypotenuse.
  • Cosine (cos): The ratio of the adjacent side to the hypotenuse.
  • Tangent (tan): The ratio of the opposite side to the adjacent side.

Why Do These Ratios Exist?

If you take a right triangle and scale it up to be 100 times larger, the angles inside remain exactly the same. Because the shape remains proportional, the ratio of its sides remains identical. Early mathematicians (dating back to ancient astronomy) realized they could create a universal “cheat sheet” (trigonometric tables) mapping every possible angle to its specific side ratios.

Comparison Table: Trigonometric Ratios

Ratio NameAbbreviationFormula (Ratio)Primary Use
Sinesin(θ)Opposite / HypotenuseFinding vertical heights or hypotenuse
Cosinecos(θ)Adjacent / HypotenuseFinding horizontal distances or hypotenuse
Tangenttan(θ)Opposite / AdjacentFinding slopes, pitches, and heights without hypotenuse

Quick Tip: The symbol θ (theta) is a Greek letter universally used in math to represent an unknown angle.


Understanding Opposite, Adjacent, and Hypotenuse

To use sine, cosine, and tangent, you must correctly identify the Hypotenuse, the Opposite side, and the Adjacent side. The hypotenuse never changes, but the “opposite” and “adjacent” sides swap depending on which acute angle you are looking at.

How to Identify Them

  1. Hypotenuse: Always the longest side, strictly located across from the 90-degree right angle.
  2. Opposite Side: The leg located directly across from the specific angle (θ) you are focusing on. It does not touch the angle at all.
  3. Adjacent Side: The leg that forms the angle (θ) alongside the hypotenuse. It “touches” the angle but is not the longest side.

How the Reference Angle Decides Opposite vs Adjacent

The reference angle is simply the angle you plug into the formula. The side across from it (not touching it at all) is always the opposite side. The side that touches it, besides the hypotenuse, is always the adjacent side. Switch to the other acute angle and the two labels switch: what was opposite becomes adjacent, and what was adjacent becomes opposite. The hypotenuse never changes.

Think of it this way: if you stand at Angle A, the wall across the room is the “Opposite” side. If you walk across the room and stand at Angle B, that same wall is now right next to you, so it has become the “Adjacent” side. The labels are relative to your reference angle.

Decision Chart: Labeling Sides

StepActionIdentification
1Find the 90° corner and look directly across it.Hypotenuse
2Pick your target angle (θ). Look directly across from it.Opposite Side
3Find the remaining side touching the angle.Adjacent Side

Right triangle with the sides named from angle theta: opposite, adjacent and hypotenuse

What Is SOHCAHTOA?

SOHCAHTOA is a universally recognized mathematical mnemonic used to memorize the formulas for sine, cosine, and tangent. It stands for: Sine is Opposite over Hypotenuse, Cosine is Adjacent over Hypotenuse, and Tangent is Opposite over Adjacent.

Meaning of Every Letter

  • S O H: Sin(θ) = Opposite / Hypotenuse
  • C A H: Cos(θ) = Adjacent / Hypotenuse
  • T O A: Tan(θ) = Opposite / Adjacent

Visual Explanation and Memory Tricks

If SOHCAHTOA is hard to remember, many students use silly phrases where the first letter of each word spells out the mnemonic:

  • Some Old Horses Can Always Hear Their Owners Approach.
  • Some Of Her Cats Are Having Trouble Over Apples.

SOHCAHTOA Cheat Sheet

Mnemonic PartFunctionEquation Format
SOHSinesin(θ) = O / H
CAHCosinecos(θ) = A / H
TOATangenttan(θ) = O / A

Three panels of the same triangle highlighting the side pairs for sine = 3/5, cosine = 4/5 and tangent = 3/4

Sine Formula Explained

The sine formula is defined as the ratio of the side opposite the angle to the hypotenuse. The equation is written as sin(θ) = Opposite / Hypotenuse. It is primarily used when dealing with the height of a triangle and its longest side.

When to Use Sine

Use sine when you know (or need to find) the Opposite side and the Hypotenuse.

When NOT to Use Sine

Do not use sine if the problem involves the Adjacent side and does not provide the Hypotenuse.

How it Works (Worked Example)

Imagine a right triangle where the angle is 30° and the Hypotenuse is 10. You need the Opposite side.

  • Formula: sin(30°) = Opp / 10
  • Step 1: Calculate sin(30°) on a calculator, which is exactly 0.5.
  • Step 2: 0.5 = Opp / 10.
  • Step 3: Multiply both sides by 10. Opp = 5.

Common Mistake

A frequent error is dividing the Hypotenuse by the Opposite side instead of the other way around. The formula is strictly O divided by H.


Cosine Formula Explained

The cosine formula is defined as the ratio of the side adjacent to the angle to the hypotenuse. The equation is cos(θ) = Adjacent / Hypotenuse. It is most commonly used for calculating horizontal distances along the ground.

Applications and Meaning

While sine often relates to vertical height (the y-axis on a coordinate plane), cosine relates to horizontal distance (the x-axis). When a ladder leans against a wall, cosine helps you find how far the base of the ladder is from the wall.

Calculator Walkthrough

To find the adjacent side when Angle = 60° and Hypotenuse = 20:

  • Formula: cos(60°) = Adj / 20
  • Step 1: Press cos, type 60, and press =. Ensure your calculator is in “Degree” mode. The result is 0.5.
  • Step 2: 0.5 = Adj / 20.
  • Step 3: Adj = 20 × 0.5 = 10.

Common Mistake

Using cosine when the angle provided is the top angle, but treating the ground distance as the adjacent side. Remember, the adjacent side must touch the specific angle you are using.


Tangent Formula Explained

The tangent formula is defined as the ratio of the opposite side to the adjacent side. The equation is tan(θ) = Opposite / Adjacent. Because it does not use the hypotenuse, it is perfectly suited for finding slope, roof pitch, or the height of a building from the ground.

Slope Relationship

Tangent is identical to the concept of “Rise over Run” in algebra. The Opposite side is the “Rise” (vertical), and the Adjacent side is the “Run” (horizontal). Therefore, the tangent of an angle gives you the exact slope of the hypotenuse line.

How it Works (Worked Example)

You are 50 feet away from a tree (Adjacent = 50). You look up at a 45° angle to see the top (θ = 45°). How tall is the tree (Opposite)?

  • Formula: tan(45°) = Opp / 50
  • Step 1: tan(45°) = 1.
  • Step 2: 1 = Opp / 50.
  • Step 3: Opp = 50 feet.

How to Choose Between Sine, Cosine, and Tangent

Choosing the correct ratio is a process of elimination: label your sides relative to the reference angle, note which side you know and which you need, then match the pair to SOHCAHTOA. If the pair includes the hypotenuse, use sine (opposite) or cosine (adjacent); if it is the two legs only, use tangent.

For the full step-by-step decision tree, solved walkthroughs, and how this fits with the Pythagorean theorem, see our complete guide on how to solve a right triangle.


Complete Worked Examples

Here are 30 original worked examples demonstrating how to apply these formulas across various difficulties and real-world scenarios.

Beginner Examples (Finding Missing Sides)

  1. Given: Angle=30°, Hyp=12. Find: Opp.
    • Formula: sin(30°) = Opp/12 ➔ 0.5 = Opp/12 ➔ Opp = 6.
  2. Given: Angle=60°, Hyp=10. Find: Adj.
    • Formula: cos(60°) = Adj/10 ➔ 0.5 = Adj/10 ➔ Adj = 5.
  3. Given: Angle=45°, Adj=8. Find: Opp.
    • Formula: tan(45°) = Opp/8 ➔ 1 = Opp/8 ➔ Opp = 8.
  4. Given: Angle=20°, Opp=5. Find: Hyp.
    • Formula: sin(20°) = 5/Hyp ➔ 0.342 = 5/Hyp ➔ Hyp = 5 / 0.342 ≈ 14.62.
  5. Given: Angle=50°, Adj=15. Find: Hyp.
    • Formula: cos(50°) = 15/Hyp ➔ 0.6428 = 15/Hyp ➔ Hyp = 15 / 0.6428 ≈ 23.34.

Intermediate Examples (Using Inverse Functions for Angles)

Note: To find an angle, use the inverse function on your calculator (sin⁻¹, cos⁻¹, or tan⁻¹). 6. Given: Opp=3, Hyp=5. Find: Angle.

  • Formula: sin(θ) = 3/5 = 0.6 ➔ θ = sin⁻¹(0.6) ≈ 36.87°.
  1. Given: Adj=4, Hyp=5. Find: Angle.
    • Formula: cos(θ) = 4/5 = 0.8 ➔ θ = cos⁻¹(0.8) ≈ 36.87°.
  2. Given: Opp=5, Adj=12. Find: Angle.
    • Formula: tan(θ) = 5/12 ≈ 0.4167 ➔ θ = tan⁻¹(5/12) ≈ 22.62°.
  3. Given: Opp=10, Hyp=20. Find: Angle.
    • Formula: sin(θ) = 10/20 = 0.5 ➔ θ = sin⁻¹(0.5) = 30°.
  4. Given: Opp=7, Adj=7. Find: Angle.
    • Formula: tan(θ) = 7/7 = 1 ➔ θ = tan⁻¹(1) = 45°.

Advanced & Real-World Examples

  1. Construction (Ladder): A 20ft ladder leans against a wall at a 75° angle to the ground. How high up the wall does it reach?
    • Given: Hyp=20, Angle=75°. Find: Opp.
    • Solve: sin(75°) = Opp/20 ➔ 0.9659 = Opp/20 ➔ Opp ≈ 19.3ft.
  2. Architecture (Roof Pitch): A roof rises 6ft (Opp) over a horizontal run of 12ft (Adj). What is the roof angle?
    • Solve: tan(θ) = 6/12 = 0.5 ➔ θ = tan⁻¹(0.5) ≈ 26.56°.
  3. Surveying: You stand 100m from a building (Adj) and look up at a 40° angle. How tall is it?
    • Solve: tan(40°) = Opp/100 ➔ 0.839 = Opp/100 ➔ Opp = 83.9m.
  4. Aviation: A plane descends at a 3° angle. If the ground distance to the runway is 5 miles (Adj), what is the plane’s altitude (Opp)?
    • Solve: tan(3°) = Opp/5 ➔ 0.0524 = Opp/5 ➔ Opp ≈ 0.262 miles (1,383 feet).
  5. Computer Graphics: A ray is cast at a 45° angle. Its x-coordinate (Adj) is 50. Find the y-coordinate (Opp).
    • Solve: tan(45°) = Opp/50 ➔ 1 = Opp/50 ➔ Opp = 50.
  6. Physics: A force of 100N (Hyp) is applied at a 30° angle. Find the horizontal component (Adj).
    • Solve: cos(30°) = Adj/100 ➔ 0.866 = Adj/100 ➔ Adj = 86.6N.
  7. Navigation: A boat travels 10 miles. Its compass bearing forms a 25° angle with the shoreline. How far off the shoreline (Opp) is it?
    • Solve: sin(25°) = Opp/10 ➔ 0.4226 = Opp/10 ➔ Opp ≈ 4.22 miles.
  8. Engineering (Bridge): A support cable forms a 60° angle with the bridge deck and attaches 30m away from the tower (Adj). Cable length (Hyp)?
    • Solve: cos(60°) = 30/Hyp ➔ 0.5 = 30/Hyp ➔ Hyp = 60m.
  9. Video Game Dev: A camera looks down at a character standing 10 units away horizontally. The angle of depression measured from the horizontal is 45°. What is the camera height?
    • Setup: The angle is measured from the horizontal, so the horizontal distance (10 units) is adjacent to the angle, and the camera height is opposite to the angle.
    • Solve: tan(45°) = Opp/Adj ➔ 1 = height/10 ➔ height = 10 units.
  10. Astronomy: Observing a crater on the moon, shadows form a right triangle. Angle of sun is 15°, shadow length (Adj) is 2km. Crater depth (Opp)?
    • Solve: tan(15°) = Opp/2 ➔ 0.2679 = Opp/2 ➔ Opp ≈ 0.53km.

Advanced & Real-World Examples (continued)

  1. Robotics (Arm Reach): A robot arm extends 12cm horizontally (Adj) from its joint at a 60° angle of elevation. How high (Opp) does the gripper reach?
    • Solve: tan(60°) = Opp/12 ➔ 1.7321 = Opp/12 ➔ Opp ≈ 20.78cm.
  2. Kite Flying: A kite string 50m long (Hyp) makes a 55° angle with the ground. How high is the kite (Opp)?
    • Solve: sin(55°) = Opp/50 ➔ 0.8192 = Opp/50 ➔ Opp ≈ 40.96m.
  3. Wheelchair Ramp: A ramp must rise 1.5m (Opp) at an angle no steeper than 4.8°. How long must the ramp surface (Hyp) be?
    • Solve: sin(4.8°) = 1.5/Hyp ➔ 0.0837 = 1.5/Hyp ➔ Hyp = 1.5 / 0.0837 ≈ 17.93m.
  4. Staircase: A staircase rises at a 35° angle with a horizontal run of 4m (Adj). What is the total rise (Opp)?
    • Solve: tan(35°) = Opp/4 ➔ 0.7002 = Opp/4 ➔ Opp ≈ 2.80m.
  5. Shadows (Flagpole): A flagpole casts a 9m shadow (Adj) when the sun is at a 62° angle of elevation. How tall is the flagpole (Opp)?
    • Solve: tan(62°) = Opp/9 ➔ 1.8807 = Opp/9 ➔ Opp ≈ 16.93m.
  6. Ladder Angle: A 12ft ladder stands with its base 4ft (Adj) from the wall. What angle does it make with the ground?
    • Solve: cos(θ) = 4/12 ≈ 0.3333 ➔ θ = cos⁻¹(0.3333) ≈ 70.53°.
  7. Roof Truss: A roof truss spans 14m total, so each rafter covers a 7m horizontal half-span (Adj) at a 30° pitch. How long is each rafter (Hyp)?
    • Solve: cos(30°) = 7/Hyp ➔ 0.8660 = 7/Hyp ➔ Hyp = 7 / 0.8660 ≈ 8.08m.
  8. Road Grade: A road has a 6% grade (6m of rise per 100m of run). What is the road’s angle?
    • Solve: tan(θ) = 6/100 = 0.06 ➔ θ = tan⁻¹(0.06) ≈ 3.43°.
  9. Hot-Air Balloon: You stand 200m (Adj) from the point directly below a balloon and measure a 38° angle of elevation. How high is the balloon (Opp)?
    • Solve: tan(38°) = Opp/200 ➔ 0.7813 = Opp/200 ➔ Opp ≈ 156.26m.
  10. Ship Navigation: From your boat you measure a 20° angle of elevation to the top of a 30m lighthouse mast (Opp). How far away (Adj) are you?
    • Solve: tan(20°) = 30/Adj ➔ 0.3640 = 30/Adj ➔ Adj = 30 / 0.3640 ≈ 82.42m.

Real World Applications

Sine, cosine, and tangent show up wherever angles meet distances: architects set roof pitch and stair slopes with tangent, surveyors and GPS systems turn measured angles into map distances with sine and cosine, and game engines move characters through 3D worlds with the same ratios. The examples above cover many of these cases in detail.

For the broader picture of how all of this fits into solving complete triangles, including the Pythagorean theorem and special triangles, see our full guide on how to solve a right triangle.


Common Mistakes

Here are 25 mistakes students make and how to avoid them:

  1. Calculator in Radians: Getting negative/wrong answers because the calculator is not in ‘Degrees’ mode. Fix: Always check the ‘DEG’ symbol on your screen.

  2. Flipping the Ratio: Writing sin(θ) = Hyp/Opp. Fix: Remember SOH; Sine is Opp over Hyp.

  3. Using Inverse Trig for Sides: Pressing sin⁻¹ when trying to find a side length. Fix: Inverse trig is only for finding missing angles.

  4. Using Sine instead of Tangent: Guessing a formula instead of labeling sides.

  5. Treating the Hypotenuse as Adjacent: The hypotenuse touches the angle, so students label it ‘Adjacent’. Fix: The longest side is strictly the hypotenuse; the other touching side is adjacent.

  6. Solving tan(θ) = 5/x incorrectly: Writing x = 5 * tan(θ). Fix: Use algebra correctly: x = 5 / tan(θ).

  7. Rounding too early: Rounding sin(25°) to 0.4 and using it for the rest of the problem. Fix: Leave the full decimal in the calculator until the very end.

  8. Applying SOHCAHTOA to non-right triangles: Fix: SOHCAHTOA only works if there is a 90° angle.

  9. Labeling sides before picking the reference angle: Assigning opposite and adjacent first, then choosing the angle. Fix: Pick the reference angle first, then label the sides relative to it.

  10. Using the 90° angle as θ: Plugging 90° into sin, cos, or tan. Fix: SOHCAHTOA only uses the two acute angles; sin(90°) = 1 and tan(90°) is undefined.

  11. Dividing in the wrong order when solving for the hypotenuse: Writing Hyp = sin(θ) / known side instead of known side / sin(θ). Fix: Rearrange properly: if sin(θ) = Opp/Hyp, then Hyp = Opp / sin(θ).

  12. Missing parentheses on the calculator: Typing sin 30/2 and getting sin(30)/2 instead of sin(15). Fix: Type the angle computation in parentheses: sin(30/2).

  13. Assuming tan(θ) > 1 means an error: Seeing 1.88 and retyping the problem. Fix: Tangent routinely exceeds 1; it only means the opposite side is longer than the adjacent side.

  14. Trusting a rotated drawing: Labeling the side drawn vertically as “opposite” regardless of the reference angle. Fix: Labels come from the angle, never from the drawing’s orientation.

  15. Skipping the sanity check: Accepting a hypotenuse shorter than a leg. Fix: The hypotenuse must be the longest side; if it is not, recheck the labels.

  16. Getting the angle instead of the side (and vice versa): Answering 0.6 when asked for the angle. Fix: A ratio is not an angle; press the inverse function (sin⁻¹) to convert a ratio into degrees.

  17. Feeding radians into a degree problem: Using a radian-mode calculator on a problem stated in degrees. Fix: Same as mistake 1, but check it again after every calculator reset, since many calculators default back to radians.

  18. Plugging the hypotenuse value into the opposite slot: Copying 10 (the hypotenuse) into the formula as the opposite side. Fix: Match each number to its labeled side before substituting.

  19. Checking work with the same ratio: Recomputing sin after solving with sin. Fix: Verify with a different tool, such as the Pythagorean theorem or a second ratio.

  20. Rounding the final angle too aggressively: Reporting 37° when the working needs 36.87°. Fix: Keep two decimal places unless the problem says otherwise.

  21. Forgetting the two acute angles sum to 90°: Finishing with angles of 40° and 60°. Fix: In a right triangle the acute angles are complementary; use this as a free check.

  22. Treating tan(90°) as a number: Trying to compute it when the “angle” approaches the right angle. Fix: Tangent is undefined at 90°; your reference angle must be acute.

  23. Mixing units in word problems: Using feet for one side and inches for another. Fix: Convert every measurement to the same unit before substituting.

  24. Stopping mid-algebra: Leaving the answer as “Opp/20 = 0.9659” without multiplying. Fix: Finish the rearrangement and state the final side length with units.

  25. Forgetting to switch calculator modes between problems: Solving a degree problem right after a radian one. Fix: Glance at the DEG/RAD indicator before every calculation.


Practice Problems

Beginner (Finding Ratios)

  1. In a triangle, Opp=3, Adj=4, Hyp=5. What is sin(θ)? (Ans: 3/5 or 0.6)
  2. What is cos(θ)? (Ans: 4/5 or 0.8)
  3. What is tan(θ)? (Ans: 3/4 or 0.75)
  4. In a right triangle with Hyp=13, if sin(θ) = 5/13, what is Opp? (Ans: 5)

Intermediate (Finding Sides) 5. Angle=35°, Hyp=20. Find Opp. (Ans: 11.47) 6. Angle=55°, Adj=12. Find Hyp. (Ans: 20.92) 7. Angle=18°, Opp=8. Find Adj. (Ans: 24.62)

Advanced (Finding Angles & Word Problems) 8. Opp=15, Hyp=30. Find the angle. (Ans: 30°) 9. Adj=10, Hyp=20. Find the angle. (Ans: 60°) 10. A 10m ladder leans on a wall, base is 3m away. What is the angle with the ground? (Ans: cos⁻¹(3/10) = 72.5°)


Frequently Asked Questions

We have compiled the top questions people ask about this topic.

01 What is sine?

Sine is a trigonometric ratio of the side opposite an angle to the hypotenuse in a right triangle.

02 What is cosine?

Cosine is the ratio of the side adjacent to an angle to the hypotenuse.

03 What is tangent?

Tangent is the ratio of the opposite side to the adjacent side.

04 What does SOHCAHTOA stand for?

Sine=Opposite/Hypotenuse, Cosine=Adjacent/Hypotenuse, Tangent=Opposite/Adjacent.

05 When should you use sine?

Use it when you know (or need) the opposite side and the hypotenuse.

06 When should you use cosine?

Use it when you know (or need) the adjacent side and the hypotenuse.

07 When should you use tangent?

Use it when you are dealing strictly with the two legs (opposite and adjacent) and do not care about the hypotenuse.

08 What is the difference between sine, cosine, and tangent?

They simply use different pairs of sides from the same triangle.

09 How do calculators calculate trigonometric ratios?

Calculators use complex algorithms (like the CORDIC algorithm or Taylor series) to instantly compute the decimal ratios for any angle.

10 What is an inverse trigonometric function?

Functions (sin⁻¹, cos⁻¹, tan⁻¹) used to calculate the degree of an angle when the side lengths are already known.

To make solving right triangles as easy as possible, we have built a suite of free, highly accurate calculators tailored to every specific problem type. Check them out below:

General Triangles & Sides

Angles & Trigonometry

Area, Perimeter & Advanced Properties

Special Right Triangles