The ATAN function returns the arctangent of a number.
The result is an angle in radians in the range from −π/2 to π/2.
This function can be useful in mathematical and engineering calculations where trigonometric functions are required.
Syntax
ATAN(value)
Argument |
Description |
Permitted values |
|---|---|---|
value |
Number for which the arctangent is calculated |
Any real value or reference to a cell containing a number |
Examples of use
Calculation of arctangent for 1
=ATAN(1)
Result: π/4 radians (~0.7854), since ARCTG(1)=π/4.
Calculation for a negative number
=ATAN(−1)
Result: approximately −0.7854 radians.
Calculation for very large number
=ATAN(1000)
The result approaches π/2 (~1.5697), since the arctangent tends toward π/2 at large values.
Notes
–The return value is in radians.
–To obtain the result in degrees, use the DEGREES function: =DEGREES(ATAN(value))