Get arctangent from x- and y-coordinates
=ATAN2(x_num, y_num)
| Parameter | Description |
|---|---|
x_num |
The x coordinate of the input point. |
y_num |
The y coordinate of the input point. |
To convert the output of the ATAN2 function from radians to degrees the formula is:
=ATAN2(x,y)*180/PI() // Returns angle in degrees
Alternatively, the degrees formula can be used to convert the angle to degrees.
=DEGREES(ATAN2(x,y))// Returns angle in degrees
For points in the first and fourth quadrant, the ATAN2 function returns identical output to the ATAN function. This relationship is expressed in the f
= ATAN2(x,y) = ATAN(y/x)