Excel ATAN Function
The ATAN function calculates the arctangent (inverse tangent) of a number, and returns an angle, in radians, in the range from -π/2 to π/2.
The ATAN function returns a numeric value.
- The result is an angle expressed in radians. To convert the angle from radians to degrees, use the DEGREES function, or multiply the result by 180/PI().
- ATAN returns the #VALUE! error if number is not numeric.
To calculate the arctangent (inverse tangent) of the numbers listed in the table as shown below, please copy or enter the below formula in the top cell (D6) of the result list, and press Enter to get the result. Then select the result cell, and drag the fill handle (the small square in the lower-right corner of the selected cell) down to apply the formula to the below cells.
Instead of a cell reference, you can type the actual number value in the formula as shown below.
Note that the results are angles expressed in radians. You can nest the ATAN function into a DEGREES function to convert the angles from radians to degrees as shown below.
Alternatively, you can multiply ATAN by 180/PI().