For example, given the /4 as input, the function returns 1.0 as output.

To supply an angle in degrees, use the radians function.

The plot below visualizes the output of tangent for angles between - and .

Tangent function definition.

The red lines represent vertical asymptotes where the function diverges to positive and negative infinity.

COS Function

The Excel COS function returns the cosine of an angle given in radians.

To supply an angle to COS in degrees, use the RADIANS function to convert to radians.

Tangent function definition.

ATAN Function

The Excel ATAN function returns the inverse tangent of a number.

The function is the inverse of TAN.

Tangent function definition.

Tangent function definition.

Tangent function definition.

Tangent function unit circle definition.

Plot of the tangent function with asymptotes.

Tangent function output at vertical asymptote.

Excel SIN function

Excel COS function

Excel ATAN function

Excel ATAN2 function

Tangent function unit circle definition.

Plot of the tangent function with asymptotes.

Tangent function output at vertical asymptote.