Trigonometry

SOHCAHTOA: How to Use SOH CAH TOA in Right Triangles

SOHCAHTOA is the memory aid for the three right-triangle ratios: sin⁡θ=opphyp\sin\theta=\frac{\text{opp}}{\text{hyp}}, cos⁡θ=adjhyp\cos\theta=\frac{\text{adj}}{\text{hyp}} and tan⁡θ=oppadj\tan\theta=\frac{\text{opp}}{\text{adj}}. Use it to find a missing side from an angle and one side, or a missing angle from two sides.

sin⁡θ=opphyp, cos⁡θ=adjhyp, tan⁡θ=oppadj\sin\theta=\frac{\text{opp}}{\text{hyp}},\ \cos\theta=\frac{\text{adj}}{\text{hyp}},\ \tan\theta=\frac{\text{opp}}{\text{adj}}

Try it with your numbers

Show every step

The letters are easy to memorize. Points are lost in two places: labeling the sides from the wrong angle, and a calculator set to the wrong mode. Those get the most attention below, along with why the ratios work, when they stop working, and quick ways to catch a wrong answer.

What does SOH CAH TOA stand for?

8-15-17 right triangle shown twice, with opposite and adjacent swapping between the two acute angles
In the same 8-15-17 triangle, the sine is 8/17 at one acute angle and 15/17 at the other.

Each chunk names a ratio of two sides. SOH is Sine = Opposite / Hypotenuse, CAH is Cosine = Adjacent / Hypotenuse, and TOA is Tangent = Opposite / Adjacent. Every chunk uses exactly two of the three sides, which is what makes the method work: you pick the chunk whose two sides match what you know and what you want.

Chunk Ratio Sides involved
SOH sin⁡θ=opphyp\sin\theta=\frac{\text{opp}}{\text{hyp}} opposite, hypotenuse
CAH cos⁡θ=adjhyp\cos\theta=\frac{\text{adj}}{\text{hyp}} adjacent, hypotenuse
TOA tan⁡θ=oppadj\tan\theta=\frac{\text{opp}}{\text{adj}} opposite, adjacent

The trap that costs the most points: “opposite” and “adjacent” are not fixed features of the triangle. They depend on which acute angle you are standing at. The hypotenuse is always the side across from the right angle, but the two legs trade roles when you switch angles. Take the triangle with legs 88 and 1515 and hypotenuse 1717. For the angle opposite the 88, sin⁡θ=817\sin\theta=\frac{8}{17}. For the other acute angle, the 1515 is now opposite, so its sine is 1517\frac{15}{17}.

A right triangle has one 90° angle and two acute angles (the types of angles page covers the full set of names). Always mark the angle you are using before writing a single ratio, and never label a side “adjacent” just because it sits at the bottom of the picture.

Quick check

A right triangle has legs 66 and 88 and hypotenuse 1010. For the angle θ\theta opposite the leg of length 66, what is cos⁡θ\cos\theta?

Why does SOHCAHTOA work for every right triangle?

Two right triangles that share one acute angle must also share the other one, since the angles add to 180∘180^\circ. That makes them similar, so their sides are in proportion. Therefore opphyp\frac{\text{opp}}{\text{hyp}} comes out the same no matter how large the triangle is. The ratio depends only on the angle, and that is all sine, cosine and tangent are: names for those fixed ratios.

This one idea produces the rest of the toolkit. Divide the SOH ratio by the CAH ratio and the hypotenuse cancels:

sin⁡θcos⁡θ=opp/hypadj/hyp=oppadj=tan⁡θ\frac{\sin\theta}{\cos\theta}=\frac{\text{opp}/\text{hyp}}{\text{adj}/\text{hyp}}=\frac{\text{opp}}{\text{adj}}=\tan\theta

Start from the Pythagorean theorem opp2+adj2=hyp2\text{opp}^2+\text{adj}^2=\text{hyp}^2 and divide every term by hyp2\text{hyp}^2. You get sin⁡2θ+cos⁡2θ=1\sin^2\theta+\cos^2\theta=1, the first of the Pythagorean identities.

A scale drawing is enough

A 20∘20^\circ angle gives tan⁡20∘≈0.364\tan 20^\circ\approx 0.364 whether the triangle fits on a postage stamp or spans a canyon. Measure the legs of any small drawing and you recover the same ratio.

How do you find a missing side with SOHCAHTOA?

Follow the same four moves every time:

  1. Mark the angle you know and label the sides as opposite, adjacent and hypotenuse relative to it.
  2. Circle the side you were given and the side you want. Ignore the third side.
  3. Choose the chunk (SOH, CAH or TOA) that contains exactly those two sides, and write the equation.
  4. Solve. If the unknown is on top of the fraction, multiply. If it is on the bottom, divide.

Example 1: unknown on top. A 1414 ft ladder leans against a wall and makes a 62∘62^\circ angle with the ground. How far is its foot from the wall? The ground distance is adjacent to 62∘62^\circ and the ladder is the hypotenuse, so use CAH:

cos⁡62∘=x14⇒x=14cos⁡62∘≈14(0.4695)≈6.57 ft\cos 62^\circ=\frac{x}{14}\quad\Rightarrow\quad x=14\cos 62^\circ\approx 14(0.4695)\approx 6.57\text{ ft}

Example 2: unknown on the bottom. The side opposite a 28∘28^\circ angle is 99. Find the hypotenuse hh. Opposite and hypotenuse means SOH:

sin⁡28∘=9h⇒h=9sin⁡28∘≈90.4695≈19.17\sin 28^\circ=\frac{9}{h}\quad\Rightarrow\quad h=\frac{9}{\sin 28^\circ}\approx\frac{9}{0.4695}\approx 19.17

Here is the mental check that catches the most common slip. Because hh is a hypotenuse, it must be longer than the leg 99. If you accidentally multiply, 9×0.4695≈4.29\times 0.4695\approx 4.2, the answer is shorter than the leg, which is impossible. Dividing by a number below 11 makes the result bigger, so the answer has to be bigger.

The other cause of wrong answers is calculator mode. For an angle written in degrees, the calculator must be in degree mode. In radian mode, sin⁡30\sin 30 returns about −0.988-0.988 instead of 0.50.5, because it treats 3030 as 3030 radians. If an angle is given in radians, either keep radian mode or convert it first with radians to degrees.

How do you find a missing angle with SOHCAHTOA?

When two sides are known and the angle is the unknown, write the ratio first, then undo the trig function with its inverse. Opposite and adjacent mean θ=tan⁡−1(oppadj)\theta=\tan^{-1}\left(\frac{\text{opp}}{\text{adj}}\right). The inverse trigonometric functions page explains the notation. One warning belongs here: sin⁡−1\sin^{-1} means “the angle whose sine is this”, not 1sin⁡\frac{1}{\sin}.

Example 3. A right triangle has legs 77 and 2424. Find the acute angle θ\theta opposite the 77. The two legs are opposite and adjacent, so use TOA:

tan⁡θ=724⇒θ=tan⁡−1(724)≈16.26∘\tan\theta=\frac{7}{24}\quad\Rightarrow\quad\theta=\tan^{-1}\left(\frac{7}{24}\right)\approx 16.26^\circ

Check it with a different ratio. The hypotenuse is 72+242=625=25\sqrt{7^2+24^2}=\sqrt{625}=25, so sin⁡θ=725=0.28\sin\theta=\frac{7}{25}=0.28, and sin⁡−1(0.28)≈16.26∘\sin^{-1}(0.28)\approx 16.26^\circ as well. The other acute angle needs no trig: 90∘−16.26∘=73.74∘90^\circ-16.26^\circ=73.74^\circ.

Do not round the ratio early. Rounding 724≈0.2917\frac{7}{24}\approx 0.2917 to 0.290.29 moves the answer to about 16.17∘16.17^\circ, a miss of nearly a tenth of a degree. Keep the fraction or the full calculator display until the last step.

Quick check

A ramp rises 33 ft over a horizontal run of 3636 ft. What angle does it make with the ground, to the nearest tenth of a degree?

Does SOHCAHTOA work on triangles without a right angle?

Not directly. Opposite, adjacent and hypotenuse are all defined relative to a 90∘90^\circ angle, so the three chunks have nothing to attach to in an oblique triangle. You have two options. The first is to draw an altitude, which splits the triangle into two right triangles where SOH CAH TOA applies as usual. The second is to use tools built for any triangle: the Law of Sines when you know an angle and its opposite side, and the Law of Cosines when you know two sides and the angle between them, or all three sides.

The altitude idea explains where other formulas come from. In a triangle with sides aa and bb and included angle CC, the height onto side aa is bsin⁡Cb\sin C by SOH. Then Area=12⋅a⋅bsin⁡C\text{Area}=\frac{1}{2}\cdot a\cdot b\sin C, which is the whole content of area of a triangle using sine.

There is a second limit. SOH CAH TOA only describes angles strictly between 0∘0^\circ and 90∘90^\circ, since a right triangle cannot hold an obtuse angle. For larger angles, sine and cosine become coordinates on the unit circle, and reference angles let you reduce them back to an acute angle.

Pythagoras or trig?

If you know two sides and want the third, use a2+b2=c2a^2+b^2=c^2. If an angle other than the right angle is given or requested, use SOH CAH TOA.

What are the exact SOHCAHTOA values for 30°, 45° and 60°?

Three angles give clean answers, and you can rebuild them in seconds instead of memorizing them. Cut an equilateral triangle with side 22 in half. The result is a 30∘30^\circ-60∘60^\circ-90∘90^\circ triangle with hypotenuse 22, short leg 11 and long leg 22−12=3\sqrt{2^2-1^2}=\sqrt{3}. Reading off the ratios:

sin⁡30∘=12,cos⁡30∘=32,tan⁡30∘=13=33\sin 30^\circ=\frac{1}{2},\quad\cos 30^\circ=\frac{\sqrt{3}}{2},\quad\tan 30^\circ=\frac{1}{\sqrt{3}}=\frac{\sqrt{3}}{3}

For 45∘45^\circ, take a square with side 11 and cut it along a diagonal. The legs are 11 and the hypotenuse is 2\sqrt{2}, so sin⁡45∘=cos⁡45∘=22\sin 45^\circ=\cos 45^\circ=\frac{\sqrt{2}}{2} and tan⁡45∘=1\tan 45^\circ=1. The 60∘60^\circ values come from the same half-equilateral triangle with the angles swapped: sin⁡60∘=32\sin 60^\circ=\frac{\sqrt{3}}{2}, cos⁡60∘=12\cos 60^\circ=\frac{1}{2} and tan⁡60∘=3\tan 60^\circ=\sqrt{3}.

Notice that sin⁡30∘=cos⁡60∘\sin 30^\circ=\cos 60^\circ. This is not a coincidence. The two acute angles in a right triangle add to 90∘90^\circ, and each leg is opposite one and adjacent to the other, so sin⁡θ=cos⁡(90∘−θ)\sin\theta=\cos(90^\circ-\theta) for every acute angle. That is where the “co” in cosine comes from: the sine of the complement. It means sin⁡70∘=cos⁡20∘≈0.9397\sin 70^\circ=\cos 20^\circ\approx 0.9397, and it is one of many relationships collected in trigonometric identities.

Where do cosecant, secant and cotangent fit in?

SOH CAH TOA covers three ratios, but a right triangle has six possible side ratios. The other three are reciprocals of the first three:

csc⁡θ=hypopp,sec⁡θ=hypadj,cot⁡θ=adjopp\csc\theta=\frac{\text{hyp}}{\text{opp}},\qquad\sec\theta=\frac{\text{hyp}}{\text{adj}},\qquad\cot\theta=\frac{\text{adj}}{\text{opp}}

The pairing trips people up because the letters do not line up. Cosecant is the reciprocal of sine, and secant is the reciprocal of cosine. A reliable way to keep them straight is that each “co” function pairs with a non-”co” one in the reciprocal: the first letters of csc and sin differ from those of sec and cos, so check the pairing rather than trusting the look of the names.

Calculators have no buttons for these three. To get sec⁡40∘\sec 40^\circ, compute 1cos⁡40∘≈1.305\frac{1}{\cos 40^\circ}\approx 1.305. If sin⁡θ=35\sin\theta=\frac{3}{5}, then csc⁡θ=53\csc\theta=\frac{5}{3} with no further work.

Try this: Draw a right triangle with legs 55 and 1212 and hypotenuse 1313. For the smaller angle, write all six ratios, then multiply sin⁡θ\sin\theta by csc⁡θ\csc\theta and confirm you get 11.

Where is SOHCAHTOA used in real life?

Any time a length cannot be measured directly but an angle can, SOH CAH TOA does the work. Surveyors find heights with a sighting angle and a ground distance, builders turn roof pitch into rafter lengths, and pilots and sailors resolve a heading into north and east components. Slope is tangent in disguise: a road with an 8%8\% grade has tan⁡θ=0.08\tan\theta=0.08, so θ=tan⁡−1(0.08)≈4.57∘\theta=\tan^{-1}(0.08)\approx 4.57^\circ. A 66 in 1212 roof pitch is tan⁡−1(0.5)≈26.57∘\tan^{-1}(0.5)\approx 26.57^\circ. This also links to graphs: the slope mm in slope-intercept form equals tan⁡θ\tan\theta, where θ\theta is the angle the line makes with the positive xx-axis.

Example 4. A surveyor stands 5050 m from the base of a building. Her eye is 1.61.6 m above the ground, and the angle of elevation to the roof is 38∘38^\circ. How tall is the building? The horizontal distance is adjacent and the height above her eye is opposite, so use TOA:

tan⁡38∘=h50⇒h=50tan⁡38∘≈50(0.7813)≈39.06 m\tan 38^\circ=\frac{h}{50}\quad\Rightarrow\quad h=50\tan 38^\circ\approx 50(0.7813)\approx 39.06\text{ m}

That is only the part above her eye. Add the eye height: 39.06+1.6≈40.6639.06+1.6\approx 40.66 m, so the building is about 40.740.7 m tall. Forgetting the observer’s height is the standard slip in these problems. The angles of elevation and depression page shows the same setup looking up and looking down.

How can you check a SOHCAHTOA answer quickly?

Run a few sanity checks before moving on. Each takes seconds and catches most errors:

  • The hypotenuse is the longest side, so any hypotenuse you compute must beat both legs.
  • For an acute angle, sine and cosine always land between 00 and 11.
  • At 45∘45^\circ, tan⁡θ=1\tan\theta=1. A smaller angle has the opposite leg shorter than the adjacent leg, and a larger angle has it longer.
  • The two acute angles must add to 90∘90^\circ.
  • With all three sides known, confirm a2+b2=c2a^2+b^2=c^2.

If you get an answer that fails any of these, recheck the labeling first and the calculator mode second. Those two account for the large majority of wrong answers, far more than arithmetic.

One more habit helps: solve the same problem with a second ratio when you can, as in Example 3. If both routes agree to the digits you are keeping, the setup is almost certainly right. For more practice with triangles, equations and exact values, the geometry and algebra lessons cover the surrounding skills.

Quick check

A student writes sin⁡θ=1312\sin\theta=\frac{13}{12} for an acute angle in a right triangle. Is that possible?

Practice problems

0 of 5 solved

  1. A right triangle has legs 99 and 4040 and hypotenuse 4141. Find sin⁡θ\sin\theta for the angle θ\theta opposite the leg of length 99.

  2. In a right triangle the hypotenuse is 3030 and one acute angle is 40∘40^\circ. Find the side opposite the 40∘40^\circ angle to the nearest hundredth.

  3. An 88 m ladder leans against a wall and makes a 70∘70^\circ angle with the ground. How far is the foot of the ladder from the wall, to the nearest hundredth of a meter?

  4. A right triangle has a leg of length 1111 opposite angle θ\theta and a hypotenuse of 1313. Find θ\theta to the nearest tenth of a degree.

  5. From a point on level ground, the angle of elevation to the top of a tower is 25∘25^\circ. After walking 6060 m straight toward the tower, the angle of elevation is 40∘40^\circ. How tall is the tower, to the nearest tenth of a meter?

Common questions

What does SOHCAHTOA stand for?

Sine is Opposite over Hypotenuse, Cosine is Adjacent over Hypotenuse, and Tangent is Opposite over Adjacent. The letters are the first letters of those words, read in order: SOH, CAH, TOA.

When do you use SOHCAHTOA?

Use it on a right triangle when an acute angle is given or asked for. With one angle and one side you can find another side, and with two sides you can find an angle.

Does SOHCAHTOA work for non-right triangles?

Not directly, because opposite, adjacent and hypotenuse are defined using a 90 degree angle. Use the Law of Sines or Law of Cosines instead, or split the triangle into two right triangles with an altitude.

How do you know whether to use sine, cosine or tangent?

Label the sides from the angle you are working with. Then pick the ratio that contains the side you know and the side you want, and ignore the third side.

Why is my calculator giving the wrong answer for sin, cos or tan?

The most common cause is the wrong angle mode. If the angle is in degrees, the calculator must be in degree mode, otherwise it reads the number as radians.

How do you find an angle with SOHCAHTOA?

Write the ratio from the two sides you know, then apply the matching inverse function: sin⁻¹, cos⁻¹ or tan⁻¹. For example, if tan θ = 0.75, then θ = tan⁻¹(0.75) ≈ 36.87 degrees.

Up next