# Using the Cosine Function to Find the Hypotenuse

## Using the Cosine Function to Find the Hypotenuse of a Right Triangle

The cosine function relates a given angle to the adjacent side and hypotenuse of a right triangle.

The length of the hypotenuse is given by the formula below: In this formula, θ is an angle of a right triangle, the adjacent is the length of the side next to the angle and the hypotenuse is the length of longest side. The image below shows what we mean: ## How to Use the Cosine Function to Find the Hypotenuse of a Right Triangle

Finding the hypotenuse of a right triangle is easy when we know the angle and the adjacent.

### Question

What is the length of the hypotenuse of the right triangle shown below? # 1

Hypotenuse = adjacent / cos θ

Don't forget: / means ÷

# 2

Substitute the angle θ and the length of the adjacent into the formula. In our example, θ = 60° and the adjacent is 4 cm.

Hypotenuse = 4 / cos (60°)

Hypotenuse = 4 ÷ cos (60°)

Hypotenuse = 4 ÷ 0.5

Hypotenuse = 8 cm

The length of the hypotenuse of a right triangle with an angle of 30° and an adjacent of 4 cm is 8 cm.

## Remembering the Formula

Often, the hardest part of finding the unknown angle is remembering which formula to use.

Whenever you have a right triangle where you know one side and one angle and have to find an unknown side...

......think trigonometry...

...............think sine, cosine or tangent...

........................think SOH CAH TOA. Looking at the example above, we are trying to find the Hypotenuse and we know the Adjacent. The two letters we are looking for are AH, which comes in the CAH in SOH CAH TOA.

This reminds us of the equation:

Cos θ = Adjacent / Hypotenuse

This is rearranged to get the formula at the top of the page (see Note).

Hypotenuse = Adjacent / Cos θ

## Slider

The slider below gives another example of finding the hypotenuse of a right triangle (since the angle and adjacent are known).

Open the slider in a new tab

What is an angle? What is a right triangle? What is the adjacent? What is the hypotenuse? Learn more about the cosine function on a right triangle ( interactive widget)