Skip to content
Calculator Trigonometri
Calculator Trigonometri

Tangent Calculator

Calculate tan of an angle.

Trigonometric Functions

Interactive Tangent Calculator

Result
0.70710678

sin(45°) = 0.70710678

How Tangent Calculator Works?

The Tangent Calculator works by dividing sin(θ) by cos(θ) for the entered angle and reporting “Undefined” where cos(θ) = 0, such as at 90° and 270°.

  1. Input the angle. Enter a value such as 45, 1.2, or −30.
  2. Choose degrees, radians, gradians, or turns. The value converts to radians before evaluation.
  3. Read tan(θ). The result can be any real number. Values grow very large near 90° (π/2) and 270° (3π/2).
  4. Watch the asymptotes. An input of exactly 90° returns “Undefined”, since the cosine in the denominator equals 0.

Tangent Calculator Formula

Tangent equals the opposite side divided by the adjacent side, which is the same as sin(θ) divided by cos(θ).

Right triangle: tan(θ) = Opposite / Adjacent
Quotient identity: tan(θ) = sin(θ) / cos(θ)
Unit circle: tan(θ) = y / x
Slope link: slope m = tan(θ)
Opposite
= side across from θ
Adjacent
= leg next to θ
x, y
= coordinates of the terminal point
m
= slope of a line making angle θ with the x-axis

Worked Example

Find tan(45°). sin(45°) = cos(45°) = √2/2, so tan(45°) = 1.

A tree casts a shadow 20 m (65.6 ft) long when the sun is 35° above the horizon. The tree height is 20 × tan(35°) ≈ 14.0 m (45.9 ft).

Tangent Calculator Conversion Table

The tangent conversion table shows tan(θ) for 17 standard angles. “Undefined” marks the 2 vertical asymptotes inside one full turn.

DegreesRadiansExact tan(θ)Decimal tan(θ)
0°000
30°π/6√3/30.5774
45°π/411
60°π/3√31.7321
90°π/2UndefinedUndefined
120°2π/3−√3−1.7321
135°3π/4−1−1
150°5π/6−√3/3−0.5774
180°π00
210°7π/6√3/30.5774
225°5π/411
240°4π/3√31.7321
270°3π/2UndefinedUndefined
300°5π/3−√3−1.7321
315°7π/4−1−1
330°11π/6−√3/3−0.5774
360°2π00

Tangent repeats every 180° (π rad), so tan(225°) equals tan(45°).

What is Tangent Calculator?

A Tangent Calculator is a tool that returns tan(θ), the ratio of sine to cosine, for any angle in degrees, radians, gradians, or turns. Tangent (tan) is the third primary trigonometric function.

Tangent differs from sine and cosine in 3 ways: the range is all real numbers, the period is 180° (π) instead of 360° (2π), and the graph has vertical asymptotes at 90° + k·180°.

Tangent is an odd function, so tan(−θ) = −tan(θ). Tangent of an angle equals the slope of the line through the origin at that angle.

What are the uses of Tangent Calculator?

There are 6 practical uses of a Tangent Calculator, including height measurement and slope design.

  • Height measurement: Find building or tree height from the horizontal distance and the angle of elevation.
  • Slope and grade: Convert an incline angle into a percent grade; a 5.71° road slope equals a 10% grade.
  • Roof pitch: Relate rise over run, where a 6/12 pitch matches tan(θ) = 0.5, or θ ≈ 26.57°.
  • Camera optics: Compute field of view from sensor width and focal length.
  • Line geometry: Get the slope of a line from its angle with the x-axis.
  • Ballistics: Find launch angles and trajectories in projectile problems.

Related Trigonometric Functions

View all 182 tools →