Tangent Calculator

tan(x) = sin(x) / cos(x). Undefined where cos(x) = 0 (at 90°, 270°, …).

Inputs

Result

tan(45°)
1.00000000
  • sin0.707107
  • cos0.707107
  • sin / cos0.7071 / 0.7071 = 1.000000

Step-by-step

  1. 45° → 0.785398 rad.
  2. tan = sin / cos = 0.707107 / 0.707107 = 1.00000000.

How to use this calculator

  • Enter the angle.
  • Read tan; the breakdown shows sin and cos used in the calculation.

About this calculator

tan(x) = sin(x) / cos(x). On the unit circle, tan is the slope of the radius. Period π (not 2π). Vertical asymptotes where cos = 0 (at 90°, 270°, etc.). tan(45°) = 1; tan(0°) = 0.

Frequently asked

cos(90°) = 0, and division by zero is undefined. tan has a vertical asymptote there.

Related calculators