ExcelFunctions.net Logo

The Excel ATAN Function

Home » Excel-Built-In-Functions » Excel-Math-Functions » Excel-Atan-Function
Search this site:
Custom Search
Arctangent
The Arctangent is the inverse of the tangent.

Therefore, for the simple right-angled triangle below, the arctangent of the opposite side, o, divided by the adjacent side, a, is equal to the angle θ.
Right-Angled Triangle
i.e. for the triangle above,
Arctangent Equation
The Inverse trig. functions are discussed further on the Wikipedia Inverse Trigonometric Functions Page

Basic Description

The Excel ATAN function calculates the arctangent (ie. the inverse tangent) of a given number, and returns an angle, in radians, between -π/2 and +π/2.

The format of the function is :

ATAN( Number )

Where the Number argument is the value, for which you want to calculate the arctangent.


Converting from Radians to Degrees
If you want the angle returned by the Atan function to be expressed in degrees, you can convert it, using the Excel Degrees function :
=DEGREES( Radians )
An example of this is included below.

Example

Column A of the spreadsheet below, shows examples of the Excel Atan Function, used to calculate the arctangent of different values. In the example in cell A4, the result is converted from radians, into degrees.

The formulas are shown in the spreadsheet on the left and the results are shown in the spreadsheet on the right.

 Formulas
  A
1 =ATAN( -1 )
2 =ATAN( 0 )
3 =ATAN( 1 )
4 =DEGREES( ATAN( 1 ) )
 Results
  A B
1 -0.785398163 - Result is -π/4 radians
2 0 - Result is 0 radians
3 0.785398163 - Result is π/4 radians
4 45 - Result is 45 degrees


Further information and examples of the Excel Atan function can be found on the Microsoft Office website.





Valid XHTML 1.0 Transitional

Disclaimer Privacy Policy

Copyright © 2008-2011 ExcelFunctions.net