Returns the tangent of the specified angle.

Syntax

Tan(number, [isRadians])

The TAN function syntax has the following arguments:

  • Number Required. The angle in radians for which you want the tangent.
  • isRadians Optional. Will convert it to Radians.

Example

Formula

Result

=Tan(30)

0.5773502691896257

=Tan(30 * (3.141592653589793 / 180), "true")

0.5773502691896258