# atan

To calculate the arctangent

The function returns the arctangent of a number.

Syntax

atan(number)

Return

number

Examples

`atan(x)`

To calculate the arctangent of a given number x between -1 and 1.

**Result:** 1.5042281630190728

See also

`atan2`

, which calculates the arctangent of the quotient.

`tan`

, which calculates the tangent.