[Home](https://learningfolio.de5.net/) / [Math](https://learningfolio.de5.net/math/) / [Math glossary](https://learningfolio.de5.net/math/glossary/) / Sin, Cos, Tan Formulas: Ratios, SOH CAH TOA, and Examples

[Math glossary](https://learningfolio.de5.net/math/glossary/)

# Sin, Cos, Tan Formulas: Ratios, SOH CAH TOA, and Examples

Use SOH CAH TOA to find missing sides and angles. Check the unit circle, reference angles, and six worked examples.

Written by **Learningfolio Team**

We’re subject-matter experts in math, science, parent support, and education, with 100 years of combined experience. We believe in learning, experimenting, and growing, and we review one another’s work.

## On this page

* [TL;DR](https://learningfolio.de5.net/math/sin-cos-tan-formula/#tldr)
* [Key Points](https://learningfolio.de5.net/math/sin-cos-tan-formula/#key-points)
* [What are the sin, cos, and tan formulas?](https://learningfolio.de5.net/math/sin-cos-tan-formula/#what-are-the-sin-cos-and-tan-formulas)
* [How do you choose a formula for an unknown side or angle?](https://learningfolio.de5.net/math/sin-cos-tan-formula/#how-do-you-choose-a-formula-for-an-unknown-side-or-angle)
* [How does the unit circle extend sine, cosine, and tangent?](https://learningfolio.de5.net/math/sin-cos-tan-formula/#how-does-the-unit-circle-extend-sine-cosine-and-tangent)
* [Which identities and exact values provide quick checks?](https://learningfolio.de5.net/math/sin-cos-tan-formula/#which-identities-and-exact-values-provide-quick-checks)
* [Worked Sine, Cosine, and Tangent Examples](https://learningfolio.de5.net/math/sin-cos-tan-formula/#worked-sine-cosine-and-tangent-examples)
* [Mistakes That Change a Trigonometric Answer](https://learningfolio.de5.net/math/sin-cos-tan-formula/#mistakes-that-change-a-trigonometric-answer)
* [Try It Yourself](https://learningfolio.de5.net/math/sin-cos-tan-formula/#try-it-yourself)
* [Answers and Reasoning](https://learningfolio.de5.net/math/sin-cos-tan-formula/#answers-and-reasoning)
* [Frequently Asked Questions](https://learningfolio.de5.net/math/sin-cos-tan-formula/#frequently-asked-questions)
* [Conclusion](https://learningfolio.de5.net/math/sin-cos-tan-formula/#conclusion)
* [Read More](https://learningfolio.de5.net/math/sin-cos-tan-formula/#read-more)
* [Research Behind This Article](https://learningfolio.de5.net/math/sin-cos-tan-formula/#research-behind-this-article)

## TL;DR

**Sine is opposite over hypotenuse, cosine is adjacent over hypotenuse, and tangent is opposite over adjacent.** These ratios describe an acute angle in a right triangle. The unit circle extends them to other angles.

## Key Points

* Pick a reference angle before labelling opposite and adjacent sides.
* The hypotenuse is opposite the right angle.
* SOH, CAH, and TOA name the three right-triangle ratios.
* On a unit circle, cosine is the horizontal coordinate and sine is the vertical coordinate.
* Tangent equals sine divided by cosine wherever cosine is nonzero.

## What are the sin, cos, and tan formulas?

Choose an acute angle $\theta$ in a right triangle. The leg across from it is the **opposite** side. The leg next to it is the **adjacent** side. The **hypotenuse** lies across from the right angle and is the longest side.

| Function | Right-triangle ratio | Memory cue |
| --- | --- | --- |
| Sine | $\sin\theta=\dfrac{\text{opposite}}{\text{hypotenuse}}$ | SOH |
| Cosine | $\cos\theta=\dfrac{\text{adjacent}}{\text{hypotenuse}}$ | CAH |
| Tangent | $\tan\theta=\dfrac{\text{opposite}}{\text{adjacent}}$ | TOA |

Changing the reference angle to the triangle’s other acute angle swaps the opposite and adjacent legs. The hypotenuse stays the same. [OpenStax, Right Triangle Trigonometry](https://openstax.org/books/precalculus-2e/pages/5-4-right-triangle-trigonometry)

![A right triangle labels its opposite side, adjacent side, and hypotenuse relative to the selected angle](https://learningfolio.de5.net/assets/versioned/sine-cosine-tangent-side-ratios.95e0629c3e0c.webp)


Label the sides from the marked angle. Sine and cosine use the hypotenuse, while tangent compares the two legs.

## How do you choose a formula for an unknown side or angle?

Write down which two sides the problem gives or asks for. Use the ratio that contains them. If an angle and hypotenuse are known, use sine for the opposite leg and cosine for the adjacent leg.

If two sides are given and the question asks for an angle, use an inverse trigonometric function on the ratio. For instance, if the opposite side is 4 and the adjacent side is 9, the acute angle is $\arctan(4/9)$. Use the [inverse tangent guide](https://learningfolio.de5.net/math/arctan/) for exact values and the output interval. [OpenStax, Using Trigonometric Functions to Find Values](https://openstax.org/books/algebra-and-trigonometry/pages/7-2-right-triangle-trigonometry)

## How does the unit circle extend sine, cosine, and tangent?

A unit circle has radius 1. For an angle $\theta$ in standard position, the point on the circle is $(\cos\theta,\sin\theta)$. Horizontal and vertical coordinates can be positive, zero, or negative. Outside the first quadrant, read these signs instead of applying a right-triangle ratio without a reference angle.

Where the horizontal coordinate is nonzero, tangent is the vertical coordinate divided by it:

$$
\tan\theta=\frac{\sin\theta}{\cos\theta}.
$$

Tangent is undefined at $90^\circ$ and $270^\circ$ in a complete turn because the cosine is zero. The [cosine at zero guide](https://learningfolio.de5.net/math/cos-0-degrees/) shows how an axis angle works without a nondegenerate triangle. [OpenStax, The Other Trigonometric Functions](https://openstax.org/books/algebra-and-trigonometry-2e/pages/7-4-the-other-trigonometric-functions)

## Which identities and exact values provide quick checks?

On the unit circle, the Pythagorean theorem gives $\sin^2\theta+\cos^2\theta=1$. The squared sine means $(\sin\theta)^2$. For acute triangles, this identity can recover the magnitude of an unknown ratio. For other angles, use the quadrant to select a sign.

| Angle | Sine | Cosine | Tangent |
| --- | --- | --- | --- |
| $0^\circ$ | 0 | 1 | 0 |
| $30^\circ$ | $1/2$ | $\sqrt3/2$ | $1/\sqrt3$ |
| $45^\circ$ | $\sqrt2/2$ | $\sqrt2/2$ | 1 |
| $60^\circ$ | $\sqrt3/2$ | $1/2$ | $\sqrt3$ |
| $90^\circ$ | 1 | 0 | Undefined |

The [trigonometry table](https://learningfolio.de5.net/math/trigonometry-table/) adds equivalent radians and other quadrants. One useful check is $\sin\theta=\cos(90^\circ-\theta)$ for complementary angles because their opposite and adjacent legs swap. [OpenStax, Trigonometric Functions](https://openstax.org/books/calculus-volume-1/pages/1-3-trigonometric-functions)

## Worked Sine, Cosine, and Tangent Examples

### Example 1

For an acute angle, the opposite leg is 9, the adjacent leg is 12, and the hypotenuse is 15. Find all three ratios.

1. Sine is $9/15=3/5$.
2. Cosine is $12/15=4/5$.
3. Tangent is $9/12=3/4$. The quotient of sine and cosine gives the same value.

### Example 2

A triangle has an angle of $30^\circ$ and hypotenuse 10 centimetres. Find its legs.

1. The opposite leg is $10\sin30^\circ=5$ centimetres.
2. The adjacent leg is $10\cos30^\circ=5\sqrt3$ centimetres.
3. The squares add to $25+75=100$, which is the hypotenuse squared.

### Example 3

A ramp rises 1.2 metres at $10^\circ$ above the horizontal. Find its horizontal run.

1. The rise is opposite the angle and the run is adjacent.
2. Set $\tan10^\circ=1.2/\text{run}$.
3. The run is $1.2/\tan10^\circ\approx6.81$ metres.

### Example 4

An acute angle has cosine $5/13$. Find its sine and tangent.

1. The squared sine is $1-25/169=144/169$.
2. Its sine is positive because the angle is acute. The value is $12/13$.
3. Dividing sine by cosine gives tangent $12/5$.

### Example 5

Find sine, cosine, and tangent of $150^\circ$.

1. The reference angle is $180^\circ-150^\circ=30^\circ$.
2. The angle lies in quadrant II, where sine is positive and cosine is negative. The values are $1/2$ and $-\sqrt3/2$.
3. Tangent is their ratio, $-1/\sqrt3$.

### Example 6

An acute angle’s opposite leg is 4 units and its adjacent leg is 9. Find the angle to two decimal places.

1. Tangent uses these legs, giving $4/9$.
2. Take inverse tangent and select degree mode.
3. The angle is about $23.96^\circ$. Applying tangent to the unrounded result gives $4/9$.

## Mistakes That Change a Trigonometric Answer

### Mistake 1: Choosing opposite and adjacent before identifying the angle

The labels change when you switch the reference angle. Mark the angle first, then identify its sides.

### Mistake 2: Using the longest leg as the hypotenuse

The hypotenuse is the side across from the right angle. It is longer than either leg in a nondegenerate right triangle.

### Mistake 3: Using a degree value in radian mode

Use degree mode for $30^\circ$ or convert that angle to $\pi/6$ radians. The [angle conversion lesson](https://learningfolio.de5.net/math/radians-in-math/) gives the conversion rule.

## Try It Yourself

1. The opposite leg is 5 and the hypotenuse is 13. Find sine.
2. A $60^\circ$ angle has adjacent leg 4 centimetres. Find the hypotenuse.
3. What are sine and cosine at $180^\circ$?

## Answers and Reasoning

1. $\sin\theta=5/13$.
2. $\cos60^\circ=4/h=1/2$, so $h=8$ centimetres.
3. The point is $(-1,0)$. Sine is 0 and cosine is $-1$.

## Frequently Asked Questions

### Can sine or cosine exceed 1?

No for real angles. Their unit-circle coordinates both range from $-1$ to 1.

### Can tangent be greater than 1?

Yes. In a right triangle, tangent exceeds 1 when the opposite leg is longer than the adjacent leg.

### Are sin, cos, and tan defined for obtuse angles?

Sine and cosine are defined for all real angles. Tangent is defined wherever cosine is nonzero. Use the unit circle for signs outside acute angles.

## Conclusion

* Use SOH, CAH, or TOA after marking the reference angle.
* Check the units, quadrant, and whether every required ratio is defined.
* Verify results with known values or the Pythagorean identity.

## Read More

* [Find the period and amplitude on sine and cosine graphs](https://learningfolio.de5.net/math/how-to-graph-sine-and-cosine-functions/)

## Research Behind This Article

1. OpenStax, *Precalculus 2e: Right Triangle Trigonometry*. [OpenStax](https://openstax.org/books/precalculus-2e/pages/5-4-right-triangle-trigonometry)
2. OpenStax, *Algebra and Trigonometry: Right Triangle Trigonometry*. [OpenStax](https://openstax.org/books/algebra-and-trigonometry/pages/7-2-right-triangle-trigonometry)
3. OpenStax, *Algebra and Trigonometry 2e: The Other Trigonometric Functions*. [OpenStax](https://openstax.org/books/algebra-and-trigonometry-2e/pages/7-4-the-other-trigonometric-functions)
4. OpenStax, *Calculus Volume 1: Trigonometric Functions*. [OpenStax](https://openstax.org/books/calculus-volume-1/pages/1-3-trigonometric-functions)
