Geometry

Tangent ratio in a right triangle

The tangent ratio compares the length of the side opposite an acute angle to the side adjacent to it in a right triangle. Use the formula t = a / b to find missing side lengths or angles quickly.

Formula

t=\frac{a}{b}

t is the tangent ratio, a is the length of the opposite leg, and b is the length of the adjacent leg.

How to Calculate the Tangent Ratio

In any right-angled triangle, the tangent of an acute angle is the ratio of the side directly across from the angle (opposite) to the side forming the angle alongside the hypotenuse (adjacent). The hypotenuse is never used in the tangent ratio.

To find the tangent, identify your reference angle, then locate the opposite side length a and adjacent side length b. Divide a by b to get the decimal or fraction value of the tangent ratio t.

If you know the two side lengths and need to find the angle measure itself, calculate the ratio t = a / b and apply the inverse tangent function, written as arctan or tan^-1, on your calculator.

Where Tangent Is Used in School and Everyday Life

In school mathematics, the tangent ratio is a core part of trigonometry in GCSE, High School Geometry, and Algebra 2. It also appears in physics when resolving force vectors and calculating the slope of ramps or trajectories.

In everyday trades, builders and roofers use tangent to calculate roof pitch and stair steepness. Surveyors use it to determine the height of buildings, cliffs, and trees by measuring a horizontal ground distance and an angle of elevation.

Navigation systems and pilots use tangent calculations to plot ascent or descent angles and calculate course corrections when dealing with crosswinds.

Common Mistakes to Avoid

The most frequent mistake is confusing the adjacent side with the hypotenuse. The hypotenuse is always the longest side opposite the 90-degree right angle, while the adjacent side is the shorter leg next to your target angle.

Another error is inverting the formula to adjacent over opposite. Remember the TOA part of the SOH CAH TOA mnemonic: Tangent is Opposite over Adjacent.

Always check your calculator settings before calculating angles. If your problem asks for an answer in degrees but your calculator is set to radians, your final angle will be incorrect.

Quick Mental Checks and Angle Rules

Use the 45-degree benchmark to estimate your answer. In a 45-45-90 right triangle, both legs are equal, so tan(45 degrees) = 1.

If your angle is smaller than 45 degrees, the opposite side is shorter than the adjacent side, meaning the tangent value must be less than 1. If the angle is larger than 45 degrees, the tangent value will always be greater than 1.

Unlike sine and cosine, which are capped at 1 for right triangles, tangent can grow infinitely large as the angle approaches 90 degrees because the adjacent side becomes extremely small compared to the opposite side.

Worked examples

Example 1a is the leg opposite the angle, b the adjacent leg. a=3,\;b=4. Find t.

  1. Write the relationship for the requested quantity.

    t=\frac{a}{b}
  2. Substitute each value, keeping its sign.

    \frac{3}{4}
  3. Simplify the expression to obtain the exact result.

    \frac{3}{4}
Answer\frac{3}{4}Verified by computation

Example 2a is the leg opposite the angle, b the adjacent leg. a=5,\;b=12. Find t.

  1. Write the relationship for the requested quantity.

    t=\frac{a}{b}
  2. Substitute each value, keeping its sign.

    \frac{5}{12}
  3. Simplify the expression to obtain the exact result.

    \frac{5}{12}
Answer\frac{5}{12}Verified by computation

Example 3a is the leg opposite the angle, b the adjacent leg. a=8,\;b=15. Find t.

  1. Write the relationship for the requested quantity.

    t=\frac{a}{b}
  2. Substitute each value, keeping its sign.

    \frac{8}{15}
  3. Simplify the expression to obtain the exact result.

    \frac{8}{15}
Answer\frac{8}{15}Verified by computation

Questions and answers

What is the formula for the tangent ratio?

The tangent ratio formula is tan(theta) = opposite / adjacent, often written simply as t = a / b.

Can the tangent of an angle be greater than 1?

Yes. When the side opposite the angle is longer than the adjacent side, the tangent value is greater than 1.

How do you find an angle from the tangent ratio?

Divide the opposite side by the adjacent side, then use the inverse tangent function (tan^-1 or arctan) on your calculator.

Why is tan(90 degrees) undefined?

At 90 degrees, the adjacent side length shrinks to 0, which would require division by zero in the tangent formula.

Solve your own problem

Different numbers or a harder variant? Type it in and get the steps.

Enter solves, Shift+Enter adds a line