# TAN( ) function

Returns the tangent of an angle expressed in radians, with a precision of 15 decimal places.

## Syntax

`TAN(radians)`

## Parameters

Numeric. The measurement of the angle in radians.

Numeric.

## Remarks

The three trigonometric functions in ACL – SIN( ), COS( ), and TAN( ) – support performing the Mantissa Arc Test associated with Benford’s Law.

If your input is in degrees you can use the PI( ) function to convert the input to radians: (degrees * PI( )/180) = radians. If required, you can round or truncate the return value using the DEC( ) function.

## Examples

Example Return value

TAN(0.785398163397448)

0.999999999999999

The return value is the tangent of the specified number of radians. The radians value is equivalent to 45 degrees.

TAN(45 * PI( )/180)

0.999999999999999

The return value is the tangent of 45 degrees.

DEC(TAN(45 * PI( )/180),3)

1.000

The return value is the tangent of 45 degrees, rounded to 3 decimal places.

Related reference
COS( ) function
PI( ) function
SIN( ) function