ATAN2 Function
Return the arctangent of the coordinates x_num and y_num, the angle between the x-axis and the line from the origin to the point. The angle is in radians, between -π and π: positive for a point above the x-axis, negative below it. When both coordinates are 0, ATAN2 returns #DIV/0!.
Syntax
ATAN2(x_num, y_num)
Category: Math. Minimum arguments: 2. Maximum arguments: 2.
Available for supported offline calculation.
Examples
=ATAN2(1,1)
The formula returns 0.7853981634 (π/4), the 45-degree angle of the point (1, 1).
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.