Trigonometric Ratio Calculator

Published on: December 29, 2024
Final Answer: Free | Full Steps: Plus

This Trigonometric Ratio Calculator works out the sine, cosine or tangent of an angle from two side lengths of a right triangle, and shows the working line by line. Each ratio pairs the angle with two named sides, so the first decision is which pair the chosen function needs. Once the two lengths are in place the ratio is a single division, and the answer is a plain number rather than a length. Following the same pattern every time keeps the three ratios from blurring together.

θ adjacent opposite hypotenuse

In the diagram, \(\theta\) is the angle, the opposite side faces it, the adjacent side runs next to it, and the hypotenuse is the longest side, facing the right angle.

Step-by-step method

  1. Set up the problem.
  2. Write the ratio for the chosen function.
  3. Substitute the two side lengths into the ratio.
  4. Divide to get the value of the ratio.

Formula: Sine Ratio

This ratio compares the side opposite θ with the hypotenuse, the longest side.

\(\sin(\theta) = \frac{\text{opposite}}{\text{hypotenuse}}\)

Formula: Cosine Ratio

This ratio compares the side next to θ with the hypotenuse, the longest side.

\(\cos(\theta) = \frac{\text{adjacent}}{\text{hypotenuse}}\)

Formula: Tangent Ratio

This ratio compares the side opposite θ with the side next to it.

\(\tan(\theta) = \frac{\text{opposite}}{\text{adjacent}}\)

Useful Tips to Remember

In a right triangle, \(\sin\theta = \frac{\text{opposite}}{\text{hypotenuse}}\), \(\cos\theta = \frac{\text{adjacent}}{\text{hypotenuse}}\) and \(\tan\theta = \frac{\text{opposite}}{\text{adjacent}}\). The opposite and adjacent sides depend on which angle you are using. Sine and cosine are never larger than 1 in a right triangle. Make sure your calculator is in degree mode for angles in degrees.

Required knowledge

Where Are the Trigonometric Ratios Used?

The trigonometric ratios, sine, cosine and tangent, connect the angles of a right triangle to the ratios of its sides. They let you find heights and distances that cannot be measured directly, which is why they are used in building, surveying, navigation and astronomy. A surveyor can find the height of a cliff from one angle and one distance, and an engineer can find the forces in a sloping beam. In physics and electronics, sine and cosine also describe waves, sound, light and anything that repeats in cycles.

  • Measuring the height of buildings, trees and cliffs
  • Working out roof pitches and ramp slopes
  • Navigating with angles and distances at sea and in the air
  • Describing sound, light and electrical waves
  • Calculating forces on slopes and in structures

Trigonometric Ratio Practice Problems

Example 1 finds \(\cos\theta\) from an adjacent side of 8 and a hypotenuse of 17, and Example 2 finds \(\tan\theta\) from an opposite side of 5 and an adjacent side of 12. Try writing each ratio yourself before opening the examples. For two more free worked examples, check out the Trigonometric Ratio Notes.

The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together to check your answers and to understand why each step works.

See Example 1 Hide Example 1

Problem

\(\cos(\theta),\; \text{adjacent} = 8,\; \text{hypotenuse} = 17\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the ratio for the chosen function.
  3. Substitute the two side lengths into the ratio.
  4. Divide to get the value of the ratio.

Formula

Formula: Cosine Ratio

This ratio compares the side next to θ with the hypotenuse, the longest side.

\(\cos(\theta) = \frac{\text{adjacent}}{\text{hypotenuse}}\)

Step 1

Step 1 - Set up the problem.

In this problem: The two side lengths that the cosine ratio needs are \(\text{adjacent} = 8\) and \(\text{hypotenuse} = 17\).

\(\text{adjacent} = 8,\; \text{hypotenuse} = 17\)
θ 8 opposite 17

Step 2

Step 2 - Write the ratio for the chosen function.

In this problem: The chosen function is cosine, which compares the adjacent with the hypotenuse, giving \(\cos(\theta) = \frac{\text{adjacent}}{\text{hypotenuse}}\).

\(\cos(\theta) = \frac{\text{adjacent}}{\text{hypotenuse}}\)

Step 3

Step 3 - Substitute the two side lengths into the ratio.

In this problem: Replacing \(\text{adjacent}\) with \(8\) and \(\text{hypotenuse}\) with \(17\) gives \(\cos(\theta) = \frac{8}{17}\).

\(\cos(\theta) = \frac{8}{17}\)

Step 4

Step 4 - Divide to get the value of the ratio.

In this problem: Dividing \(8\) by \(17\) gives \(0.47\).

\(\cos(\theta) = \frac{8}{17} \approx 0.47\)

Final Answer

\(\cos(\theta) \approx 0.47\)
See Example 2 Hide Example 2

Problem

\(\tan(\theta),\; \text{opposite} = 5,\; \text{adjacent} = 12\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the ratio for the chosen function.
  3. Substitute the two side lengths into the ratio.
  4. Divide to get the value of the ratio.

Formula

Formula: Tangent Ratio

This ratio compares the side opposite θ with the side next to it.

\(\tan(\theta) = \frac{\text{opposite}}{\text{adjacent}}\)

Step 1

Step 1 - Set up the problem.

In this problem: The two side lengths that the tangent ratio needs are \(\text{opposite} = 5\) and \(\text{adjacent} = 12\).

\(\text{opposite} = 5,\; \text{adjacent} = 12\)
θ 12 5 hypotenuse

Step 2

Step 2 - Write the ratio for the chosen function.

In this problem: The chosen function is tangent, which compares the opposite with the adjacent, giving \(\tan(\theta) = \frac{\text{opposite}}{\text{adjacent}}\).

\(\tan(\theta) = \frac{\text{opposite}}{\text{adjacent}}\)

Step 3

Step 3 - Substitute the two side lengths into the ratio.

In this problem: Replacing \(\text{opposite}\) with \(5\) and \(\text{adjacent}\) with \(12\) gives \(\tan(\theta) = \frac{5}{12}\).

\(\tan(\theta) = \frac{5}{12}\)

Step 4

Step 4 - Divide to get the value of the ratio.

In this problem: Dividing \(5\) by \(12\) gives \(0.42\).

\(\tan(\theta) = \frac{5}{12} \approx 0.42\)

Final Answer

\(\tan(\theta) \approx 0.42\)

Notes and Practice Mode

θ adjacent opposite hypotenuse

Example Problems

Click one to load it into the box and solve it.