Understanding Tangent in Right Triangles

Tangent describes the ratio of two specific sides in a right-angled triangle. Formally, it is the length of the side opposite an angle divided by the length of the side adjacent to that angle:

  • opposite side — the side across from the angle
  • adjacent side — the side next to the angle (not the hypotenuse)

This definition makes tangent particularly useful for calculating unknown heights and distances when you know an angle and one side length. Surveyors and engineers rely on this ratio constantly when measuring elevations, angles of inclination, and sight lines in the field.

The Tangent Formula

Tangent can be expressed in two equivalent ways. The first relates to the sides of a right triangle:

tan(α) = opposite ÷ adjacent

Alternatively, tangent is defined as the ratio of sine to cosine. This identity is particularly valuable when working with the unit circle or periodic functions:

tan(α) = sin(α) ÷ cos(α)

  • α — The angle in question, measured in degrees or radians
  • opposite — The length of the side facing the angle in a right triangle
  • adjacent — The length of the side next to the angle (excluding the hypotenuse)
  • sin(α) — The sine of the angle
  • cos(α) — The cosine of the angle

Tangent and the Unit Circle

On the unit circle, tangent has a geometric interpretation. If you draw a ray from the origin at angle α and extend it until it intersects a vertical tangent line at x = 1, the y-coordinate of that intersection point is tan(α). This visual construction reveals why tangent becomes undefined at certain angles: when cos(α) = 0, the ray runs parallel to the vertical line and never meets it, making division by zero impossible. This occurs at 90°, 270°, and their radian equivalents (π/2, 3π/2, etc.).

Law of Tangents in Oblique Triangles

Beyond right triangles, the law of tangents applies to any triangle. It relates the tangent of half-angles to the sides opposite them:

(a − b) ÷ (a + b) = tan(0.5(α − β)) ÷ tan(0.5(α + β))

Where a and b are two sides and α and β are their opposite angles. This identity proves valuable when you know two sides and the included angle, or two angles and one side. Although less famous than the laws of sines or cosines, it provides an elegant alternative for specific triangle-solving scenarios.

Common Pitfalls When Using Tangent

Avoid these mistakes when calculating or interpreting tangent values.

  1. Undefined at 90° and 270° — Tangent is undefined when the angle reaches 90°, 270°, or any odd multiple of 90° (in degrees) or π/2 (in radians). At these points, cosine equals zero, causing division by zero. Always check your angle before computing.
  2. Unit mismatch errors — Switching between degrees and radians without converting can produce wildly incorrect results. Ensure your calculator or formula is set to the correct unit. Many errors stem from forgetting this single step.
  3. Periodicity and equivalent angles — Tangent repeats every 180° (or π radians). Angles like 30° and 210° have the same tangent value. This can be helpful for simplifying problems but confusing if you assume each tangent value corresponds to only one angle in a range.
  4. Inverse tangent ambiguity — When using arctan (inverse tangent), the calculator returns values in the range −90° to 90°. If your actual angle lies in the second or third quadrant, you must adjust the result manually by adding 180°.

Frequently Asked Questions

What is the difference between tangent and arctangent?

Tangent (tan) is a function that takes an angle as input and returns a ratio. Arctangent (arctan or tan⁻¹) does the opposite: it takes a ratio and returns the angle. If tan(45°) = 1, then arctan(1) = 45°. The arctangent output is usually restricted to the range −90° to 90° (or −π/2 to π/2 radians), so you may need to adjust the result if your true angle lies outside this band.

Why is tangent undefined at 90 degrees?

At 90°, the cosine equals zero. Since tangent is defined as sin(α) ÷ cos(α), dividing by zero is mathematically impossible. Geometrically, the angle points straight up, and the line extending from the origin at this angle runs parallel to the vertical tangent line on the unit circle, so they never intersect. Consequently, there is no y-coordinate value to represent the tangent.

How do I find the tangent of an angle in a right triangle?

Identify the side opposite your angle of interest and the side adjacent to it (do not include the hypotenuse). Divide the opposite by the adjacent: tan(α) = opposite ÷ adjacent. For example, if the opposite side is 5 cm and the adjacent is 12 cm, then tan(α) = 5 ÷ 12 ≈ 0.417. You can then use a calculator or inverse tangent to find that α ≈ 22.6°.

Can tangent be negative?

Yes. Tangent is negative in the second and fourth quadrants of the coordinate plane. In the second quadrant (90° to 180°), sine is positive but cosine is negative, making their ratio negative. In the fourth quadrant (270° to 360°), sine is negative and cosine is positive, also yielding a negative tangent. The first and third quadrants have positive tangent values.

What are special angles and their tangent values?

Common special angles include 0°, 30°, 45°, 60°, and 90° (and their radian equivalents). Their tangent values are: tan(0°) = 0, tan(30°) ≈ 0.577, tan(45°) = 1, tan(60°) ≈ 1.732, and tan(90°) is undefined. Memorizing these speeds up calculations and helps you recognize patterns in periodic functions and trigonometric equations.

How is tangent used in real-world applications?

Tangent is fundamental in surveying and navigation. When measuring a building's height from a distance, surveyors measure the angle of elevation and the horizontal distance, then use tangent to calculate height. Engineers apply tangent in slope calculations, ramp angles, and structural inclines. In physics, tangent describes the trajectory angle of projectiles and the angle of incline for objects on slopes. Architects use it to determine roof pitches and sight lines.

More math calculators (see all)