Skip to main content

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.

atan function 1


Syntax

=ATAN(number)


Arguments

  • number (required): The value for which you want to calculate the arctangent.

Return Value

The ATAN function returns a numeric value.


Function Notes

  • 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.

Example

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.

=ATAN(B6)

atan function 2

Instead of a cell reference, you can type the actual number value in the formula as shown below.

=ATAN(-1)

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.

=DEGREES(ATAN(-1))

Alternatively, you can multiply ATAN by 180/PI().

=ATAN(-1)*180/PI()


Related functions

Excel ATAN2 Function

The ATAN2 function calculates the arctangent (inverse tangent) of the specified x- and y-coordinates, and returns an angle, in radians, in the range from -π/2 to π/2.

Excel ATANH Function

The ATANH function calculates the inverse hyperbolic tangent of a number.

Excel DEGREES Function

The DEGREES function converts an angle in radians to an angle in degrees.

Excel PI Function

The PI function returns the number 3.14159265358979 of the mathematical constant called pi.


The Best Office Productivity Tools


Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations