Skip to main content

Right-Triangle Trigonometry

Suppose you want to know the height of a tall tree, the width of a river you cannot cross, or the distance to a mountain peak — all without ever touching them. Right-triangle trigonometry is the toolkit that makes this possible. By measuring one angle and one accessible length, you can compute lengths and angles you could never reach with a tape measure.

At its heart, right-triangle trigonometry is a single powerful observation: in a right triangle, once you fix one of the acute angles, the ratios of the sides are locked in, no matter how big or small the triangle is. Those fixed ratios get names — sine, cosine, and tangent — and learning to wield them turns geometry into a measuring machine.

Learning Objectives

By the end of this page, you should be able to:

  • Define sine, cosine, and tangent as ratios of sides in a right triangle using SOH-CAH-TOA.
  • Identify the hypotenuse, opposite, and adjacent sides relative to a chosen angle.
  • Solve a right triangle: find every unknown side and angle from limited given information.
  • Use inverse trigonometric functions (sin1\sin^{-1}, cos1\cos^{-1}, tan1\tan^{-1}) to recover an angle from a side ratio.
  • Apply trigonometry to real problems involving angles of elevation and depression.
  • Recognize why these ratios depend only on the angle, not the triangle's size.

Quick Answer

In a right triangle, pick one acute angle θ\theta. The three primary trigonometric ratios are sinθ=oppositehypotenuse\sin\theta = \frac{\text{opposite}}{\text{hypotenuse}}, cosθ=adjacenthypotenuse\cos\theta = \frac{\text{adjacent}}{\text{hypotenuse}}, and tanθ=oppositeadjacent\tan\theta = \frac{\text{opposite}}{\text{adjacent}} — memorized as SOH-CAH-TOA. Because all right triangles sharing angle θ\theta are similar, these ratios depend only on θ\theta. If you know an angle and a side, you multiply or divide by the appropriate ratio to find the other sides. If you know two sides, you use an inverse trig function to find the angle. This lets you "solve" a right triangle completely and measure heights and distances that are physically out of reach.

Where It Came From

Trigonometry was not invented for classrooms — it was forced into existence by two very practical needs: predicting the heavens and measuring the Earth.

The oldest driver was astronomy. Ancient astronomers wanted to predict eclipses, track planets, and build calendars, all of which required computing distances and angles on the celestial sphere. Around 150 BCE, the Greek astronomer Hipparchus of Nicaea — often called the father of trigonometry — compiled the first known trigonometric table. But he did not work with sines; he worked with chords. Given a circle, he tabulated the length of the chord subtended by each central angle. The chord of an angle is essentially twice the sine of half the angle, so this was trigonometry in an early costume. Ptolemy later extended these chord tables in his Almagest (c. 150 CE), the astronomical bible of the next millennium.

The decisive simplification came from India. Indian mathematician-astronomers such as Aryabhata (c. 500 CE) realized it was far more convenient to tabulate the half-chord — the length we now call the sine — rather than the full chord. They called this the jya (or jiva), meaning "bowstring," picturing the chord as a bow and the half-chord as its string. When these texts passed to the Islamic world, jya was transliterated into Arabic as jiba, later mis-read as jaib, meaning "fold" or "bay." When Europeans translated the Arabic into Latin, they rendered jaib as sinus (Latin for a bay or fold) — and that is why we say sine today. A word for "bowstring" became, through a chain of translations, our modern term.

The second great driver was surveying. Land had to be divided, taxed, and mapped; the annual flooding of the Nile erased boundaries that had to be re-established; builders needed heights and distances. You cannot stretch a rope to a mountaintop, but you can stand back, measure an angle with a simple sighting instrument, pace off a baseline, and compute the rest. Trigonometry is, at its core, the mathematics of measuring the unreachable — and that motivation is exactly why it still works so well today.

Naming the Sides: Opposite, Adjacent, Hypotenuse

Everything depends on labeling the sides correctly relative to the angle you care about. In a right triangle, one angle is 90° 90°. Pick one of the other two angles and call it θ\theta. Then:

  • The hypotenuse is always the longest side, opposite the right angle. It never changes labels.
  • The opposite side is the one directly across from θ\theta — it does not touch the angle.
  • The adjacent side is the one that, together with the hypotenuse, forms the angle θ\theta.

The key subtlety: "opposite" and "adjacent" swap if you switch your attention to the other acute angle. The hypotenuse stays put.

SOH-CAH-TOA

The three ratios and their memory aid:

sinθ=oppositehypotenusecosθ=adjacenthypotenusetanθ=oppositeadjacent\sin\theta = \frac{\text{opposite}}{\text{hypotenuse}} \qquad \cos\theta = \frac{\text{adjacent}}{\text{hypotenuse}} \qquad \tan\theta = \frac{\text{opposite}}{\text{adjacent}}

  • SOH: Sine = Opposite over Hypotenuse
  • CAH: Cosine = Adjacent over Hypotenuse
  • TOA: Tangent = Opposite over Adjacent

Notice that tanθ=sinθcosθ\tan\theta = \frac{\sin\theta}{\cos\theta}, since opp/hypadj/hyp=oppadj\frac{\text{opp}/\text{hyp}}{\text{adj}/\text{hyp}} = \frac{\text{opp}}{\text{adj}}. This is worth remembering — it ties the three together.

Why do these ratios only depend on the angle? Consider two right triangles with the same acute angle θ\theta. They automatically share all three angles (both have 90° 90° and both have θ\theta, so the third angles match too). Triangles with equal angles are similar, meaning their corresponding sides are proportional. If every side scales by the same factor, then any ratio of two sides is unchanged. So sinθ\sin\theta, cosθ\cos\theta, and tanθ\tan\theta are properties of the angle alone. That invariance is what makes a single table of values useful for every triangle in the world.

Worked Example: Reading the Ratios

A right triangle has legs of length 3 3 and 4 4 and hypotenuse 5 5 (a classic 3-4-5 triangle). Let θ\theta be the angle opposite the side of length 3 3.

  • Opposite =3= 3, adjacent =4= 4, hypotenuse =5= 5.
  • sinθ=35=0.6\sin\theta = \frac{3}{5} = 0.6
  • cosθ=45=0.8\cos\theta = \frac{4}{5} = 0.8
  • tanθ=34=0.75\tan\theta = \frac{3}{4} = 0.75

Check with the Pythagorean identity: sin2θ+cos2θ=0.62+0.82=0.36+0.64=1\sin^2\theta + \cos^2\theta = 0.6^2 + 0.8^2 = 0.36 + 0.64 = 1. ✓ This must always equal 1 1, a handy way to catch mistakes.

Solving a Right Triangle

"Solving" a triangle means finding all three sides and all three angles. In a right triangle you already know one angle is 90° 90°, and the two acute angles sum to 90° 90° (since all three angles total 180° 180°). So you need surprisingly little information to unlock everything.

Strategy: Match what you know to a ratio that connects it to what you want. Set up the equation, then solve for the unknown.

Worked Example: Finding a Side

A ladder leans against a wall, making a 65° 65° angle with the ground. The foot of the ladder is 2.5 2.5 m from the wall. How long is the ladder?

The ladder is the hypotenuse. The 2.5 2.5 m distance along the ground is adjacent to the 65° 65° angle. We want the hypotenuse, and we know the adjacent side — that is the CAH relationship:

cos65°=adjacenthypotenuse=2.5L\cos 65° = \frac{\text{adjacent}}{\text{hypotenuse}} = \frac{2.5}{L}

Solve for LL:

L=2.5cos65°=2.50.42265.92 mL = \frac{2.5}{\cos 65°} = \frac{2.5}{0.4226} \approx 5.92 \text{ m}

So the ladder is about 5.9 5.9 m long. (Sanity check: the hypotenuse must be longer than either leg, and 5.92>2.5 5.92 > 2.5. ✓)

Worked Example: Finding Both Remaining Sides and Angle

A right triangle has the right angle at CC. Angle A=40°A = 40° and the hypotenuse AB=10AB = 10. Find the other sides and angle BB.

Angle B: The acute angles sum to 90° 90°, so B=90°40°=50°B = 90° - 40° = 50°.

Side opposite A (call it aa, the side BCBC): opposite over hypotenuse is SOH. sin40°=a10    a=10sin40°=10(0.6428)6.43\sin 40° = \frac{a}{10} \implies a = 10 \sin 40° = 10 (0.6428) \approx 6.43

Side opposite B (call it bb, the side ACAC): this side is adjacent to angle AA, so use CAH. cos40°=b10    b=10cos40°=10(0.7660)7.66\cos 40° = \frac{b}{10} \implies b = 10 \cos 40° = 10 (0.7660) \approx 7.66

Check: a2+b2=6.432+7.662=41.3+58.7=100=102a^2 + b^2 = 6.43^2 + 7.66^2 = 41.3 + 58.7 = 100 = 10^2. ✓ The Pythagorean theorem confirms the triangle closes correctly.

Inverse Trig: Finding the Angle

The ratios turn an angle into a number. Often we have the number (from measured sides) and want the angle back. That reversal is done with the inverse trigonometric functions: sin1\sin^{-1}, cos1\cos^{-1}, and tan1\tan^{-1} (also written arcsin\arcsin, arccos\arccos, arctan\arctan). On a calculator these are usually the "2nd" functions above the sin/cos/tan keys.

Read sin1(0.5)\sin^{-1}(0.5) as "the angle whose sine is 0.5 0.5." The 1-1 here is not an exponent - sin1x\sin^{-1}x does not mean 1sinx\frac{1}{\sin x}. It denotes the inverse operation.

Worked Example: Angle of a Ramp

A wheelchair ramp rises 1 1 m over a horizontal run of 12 12 m. What angle does it make with the ground, and does it meet a code limit of 5°?

The rise (1 1 m) is opposite the angle; the run (12 12 m) is adjacent. Opposite over adjacent is TOA:

tanθ=112=0.08333\tan\theta = \frac{1}{12} = 0.08333

θ=tan1(0.08333)4.76°\theta = \tan^{-1}(0.08333) \approx 4.76°

Since 4.76°<5° 4.76° < 5°, the ramp meets the code. Notice we used the inverse tangent because we knew two sides and wanted the angle.

Angles of Elevation and Depression

These two terms describe how far your line of sight tilts away from horizontal.

  • An angle of elevation is measured upward from the horizontal to an object above you (looking up at a plane).
  • An angle of depression is measured downward from the horizontal to an object below you (looking down from a cliff to a boat).

A crucial fact: because the horizontal line at your eye and the horizontal at the object are parallel, the angle of depression from you equals the angle of elevation from the object back up to you (alternate interior angles). This lets you place the angle inside a convenient right triangle.

Worked Example: Height of a Building

Standing 50 50 m from the base of a building, you measure the angle of elevation to the top as 58° 58°. Your eyes are 1.6 1.6 m above the ground. How tall is the building?

Model the sight line as the hypotenuse of a right triangle. The horizontal distance (50 50 m) is adjacent to the 58° 58° angle; the height above eye level (hh) is opposite. Use TOA:

tan58°=h50    h=50tan58°=50(1.6003)80.0 m\tan 58° = \frac{h}{50} \implies h = 50 \tan 58° = 50 (1.6003) \approx 80.0 \text{ m}

This hh is measured from eye level, so add your eye height:

Building height=80.0+1.6=81.6 m\text{Building height} = 80.0 + 1.6 = 81.6 \text{ m}

Forgetting to add the observer's height is one of the most common slips in these problems.

Real-World Applications

  • Surveying and construction. Total stations measure angles and distances, then trigonometry converts them into coordinates, elevations, and property boundaries. Roof pitches, staircase angles, and ramp grades are all trig calculations.
  • Navigation. Ships and aircraft compute headings and distances using bearings (angles) and known baselines. GPS receivers ultimately solve geometry problems rooted in these ratios.
  • Astronomy. The original application: parallax measurements find the distance to nearby stars by observing the tiny angle a star shifts against the background as Earth orbits the Sun.
  • Physics and engineering. Resolving a force or velocity into horizontal and vertical components uses Fx=FcosθF_x = F\cos\theta and Fy=FsinθF_y = F\sin\theta — right-triangle trig applied to vectors. Every inclined-plane and projectile problem depends on it.
  • Medical imaging. CT and MRI reconstruction, and radiation-beam targeting, rely on trigonometric geometry to aim through the body accurately.
  • Everyday life. Estimating the height of a tree from its shadow, hanging a picture level, or figuring out whether a couch fits around a corner all quietly use these ideas.

Common Mistakes

Mistake 1: Misidentifying opposite vs. adjacent. Students often fix the labels to specific sides and forget they depend on the chosen angle. Why it's wrong: "Opposite" and "adjacent" swap when you look at the other acute angle; only the hypotenuse is fixed. Correction: Always start by circling your angle θ\theta, then label the side across from it "opposite" and the side touching it (other than the hypotenuse) "adjacent."

Mistake 2: Reading sin1\sin^{-1} as a reciprocal. Writing sin1(x)=1sinx\sin^{-1}(x) = \frac{1}{\sin x}. Why it's wrong: The 1-1 marks the inverse function (the angle-finder), not an exponent. The reciprocal 1sinθ\frac{1}{\sin\theta} is a different quantity (the cosecant). Correction: Use sin1\sin^{-1}/arcsin\arcsin only to recover angles from ratios; use 1sinθ\frac{1}{\sin\theta} when you truly want the reciprocal.

Mistake 3: Calculator in the wrong angle mode. Getting sin30°=0.988\sin 30° = -0.988 instead of 0.5 0.5. Why it's wrong: The calculator was in radians, treating "30 30" as 30 30 radians. Correction: Set the mode to degrees when your angles are in degrees. A quick test: sin30°\sin 30° should give exactly 0.5 0.5.

Mistake 4: Dividing when you should multiply (or vice versa). For example, computing 10/sin40° 10 / \sin 40° when the unknown side is opposite and the hypotenuse is known. Why it's wrong: If the unknown is in the numerator of the ratio, you multiply; if it's in the denominator, you divide. Correction: Write the ratio equation first (e.g., sin40°=a10\sin 40° = \frac{a}{10}) and solve algebraically rather than guessing the operation.

Comparison and Connections

Right-triangle trig is the entry point to a much larger subject. Here is how the neighboring ideas relate:

ConceptWhat it doesWhen you use it
SOH-CAH-TOARatios in a right triangleAny triangle with a 90° 90° angle
Unit circleExtends sine/cosine to all angles, including obtuse and negativeAngles beyond 0° to 90° 90°; periodic motion
Law of SinesRelates sides and opposite anglesNon-right ("oblique") triangles
Law of CosinesGeneralizes the Pythagorean theoremOblique triangles with known two sides and included angle
Pythagorean theoremRelates the three sides directlyWhen you know two sides and want the third

A helpful way to see the connection: the Pythagorean theorem (a2+b2=c2a^2 + b^2 = c^2) is the "sides-only" law, while SOH-CAH-TOA brings angles into the same triangle. Together they let you go back and forth between angles and lengths freely. The unit circle (next topic) frees these functions from the right-triangle setting so they can describe waves, rotations, and orbits.

Practice Questions

Recall

State the three ratios of SOH-CAH-TOA in words.

Answer: Sine = opposite/hypotenuse, Cosine = adjacent/hypotenuse, Tangent = opposite/adjacent.

Understanding

Explain why tanθ\tan\theta can exceed 1 1 but sinθ\sin\theta and cosθ\cos\theta cannot (for an acute angle).

Answer: sinθ\sin\theta and cosθ\cos\theta are a leg divided by the hypotenuse, and the hypotenuse is always the longest side, so those ratios are at most 1 1. But tanθ=oppositeadjacent\tan\theta = \frac{\text{opposite}}{\text{adjacent}} compares two legs; when the opposite leg is longer than the adjacent leg (angle greater than 45° 45°), the ratio exceeds 1 1, growing without bound as θ\theta approaches 90° 90°.

Application

A kite string is 80 80 m long and makes a 52° 52° angle with the ground. Assuming the string is straight, how high is the kite?

Answer: Height is opposite the angle, string is the hypotenuse. sin52°=h80\sin 52° = \frac{h}{80}, so h=80sin52°=80(0.7880)63.0h = 80 \sin 52° = 80(0.7880) \approx 63.0 m.

Analysis

From the top of a 45 45 m lighthouse, the angle of depression to a boat is 28° 28°. The boat drifts directly away until the angle of depression becomes 15° 15°. How far did the boat travel?

Answer: The angle of depression equals the angle of elevation from the boat. The horizontal distance dd satisfies tan(angle)=45d\tan(\text{angle}) = \frac{45}{d}, so d=45tan(angle)d = \frac{45}{\tan(\text{angle})}.

  • At 28° 28°: d1=45tan28°=450.531784.6d_1 = \frac{45}{\tan 28°} = \frac{45}{0.5317} \approx 84.6 m.
  • At 15° 15°: d2=45tan15°=450.2679167.9d_2 = \frac{45}{\tan 15°} = \frac{45}{0.2679} \approx 167.9 m.
  • Distance traveled: d2d1167.984.6=83.3d_2 - d_1 \approx 167.9 - 84.6 = 83.3 m.

FAQ

Is trigonometry only for right triangles? No — but right triangles are where it begins and where the definitions are cleanest. For triangles without a right angle, you use the Law of Sines and Law of Cosines, both of which are built from these same ideas.

Do I have to memorize SOH-CAH-TOA? Yes, and it is worth it. The mnemonic is fast and reliable. With practice you will stop reciting it consciously, but until then it prevents the single most common category of error: pairing the wrong sides.

What is the difference between sin1\sin^{-1} and cosecant? sin1(x)\sin^{-1}(x) (arcsine) takes a ratio and returns an angle. Cosecant, cscθ=1sinθ\csc\theta = \frac{1}{\sin\theta}, takes an angle and returns a reciprocal ratio. They are completely different operations that unfortunately look similar in notation.

Why does my answer change if I round in the middle? Rounding intermediate results introduces error that compounds. Keep full precision on your calculator until the final step, then round. In multi-step problems this can shift an answer by a meter or more.

When do I use sine versus cosine versus tangent? Look at which two sides your problem involves relative to the angle. Opposite and hypotenuse → sine. Adjacent and hypotenuse → cosine. Opposite and adjacent (no hypotenuse) → tangent. Choosing the ratio that avoids sides you neither know nor want keeps the algebra clean.

Can the angle of elevation and depression be different for the same two points? No. Looking up from the ground to a tower top gives an angle of elevation; looking down from the tower to that ground point gives the angle of depression, and the two are always equal because the horizontals are parallel.

Quick Revision

  • SOH-CAH-TOA: sin=opphyp\sin = \frac{\text{opp}}{\text{hyp}}, cos=adjhyp\cos = \frac{\text{adj}}{\text{hyp}}, tan=oppadj\tan = \frac{\text{opp}}{\text{adj}}.
  • tanθ=sinθcosθ\tan\theta = \frac{\sin\theta}{\cos\theta}; and sin2θ+cos2θ=1\sin^2\theta + \cos^2\theta = 1.
  • Hypotenuse is fixed (opposite the 90° 90°); opposite and adjacent swap with the chosen angle.
  • The two acute angles of a right triangle sum to 90° 90°.
  • To find a side: pick the ratio linking known and unknown, then solve.
  • To find an angle: use sin1\sin^{-1}, cos1\cos^{-1}, or tan1\tan^{-1} — the inverse, not a reciprocal.
  • Ratios depend only on the angle (similar triangles), so sin\sin, cos\cos, tan\tan of an acute angle are fixed numbers.
  • Angle of elevation = angle of depression between the same two points.
  • Always confirm calculator is in degree mode; add observer eye height where relevant.

Prerequisites

Next Topics