Tan Calculator

Calculate the tangent of an angle in degrees or radians. This page also shows sine and cosine context so undefined tangent cases are easier to understand.

Computes:
tan(θ) = sin(θ) / cos(θ)

Result will appear here.
Metric Value

Privacy: calculations run locally in your browser. No inputs are stored or transmitted.

How it works

This calculator converts the angle to radians internally when necessary, then evaluates sine and cosine to compute tangent.

Common values:
tan(0°) = 0, tan(45°) = 1, tan(30°) ≈ 0.5774, tan(60°) ≈ 1.7321

Examples

  • 45° → tan = 1
  • 30° → tan ≈ 0.5774
  • 90° → tangent is undefined

FAQ

  • What does this tan calculator compute?

    It computes the tangent of an angle in either degrees or radians.

  • Can I switch between degrees and radians?

    Yes. The calculator supports both degree mode and radian mode.

  • Why can tangent be undefined?

    Tangent is sin(θ) divided by cos(θ), so it is undefined where cos(θ) = 0.

  • What are common undefined degree values?

    Tangent is undefined at 90°, 270°, and more generally at 90° + 180°k.

  • Are calculations stored?

    No. Everything runs locally in your browser.

Related tools