Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)

Tan Calculator

Calculate the tangent of any angle in degrees or radians. Get instant results with exact values for special angles.

The tangent function (tan) is a fundamental trigonometric function. It relates an angle of a right triangle to the ratio of the opposite side to the adjacent side. Equivalently, tan(x) = sin(x) / cos(x). This calculator instantly computes tan(x) for any angle.

  1. Enter your angle value in the input field
  2. Select DEG for degrees or RAD for radians
  3. The result updates automatically as you type
  4. Note: tan(90°), tan(270°), etc. are undefined
  • Calculate tangent for any angle value
  • Support for both degrees and radians
  • π notation support (e.g., π/4, π/3)
  • Exact values for special angles
  • Shows cotangent (cot = 1/tan) as related value
  • Handles undefined values (90°, 270°, etc.)
Why is tan(90°) undefined?
Because tan(x) = sin(x)/cos(x), and cos(90°) = 0. Division by zero is undefined.
What is the range of tangent function?
Unlike sin and cos, tan(x) can be any real number from negative infinity to positive infinity.
What is tan(45°)?
tan(45°) = 1. This is because sin(45°) = cos(45°) = √2/2.
Enter angle
°
sin(0°) 0
Formula
Degrees Radians sin cos tan
0010
30°π/61/2√3/2√3/3
45°π/4√2/2√2/21
60°π/3√3/21/2√3
90°π/210
120°2π/3√3/2−1/2−√3
135°3π/4√2/2−√2/2−1
150°5π/61/2−√3/2−√3/3
180°π0−10
Enter angle in degrees (default) or switch to radians
tan(90°) and tan(270°) are undefined (infinity)
tan(x) = sin(x) / cos(x)
Want to learn more? Read documentation →
1/4
Start typing to search...
Searching...
No results found
Try searching with different keywords