ATAN2 function
Returns the arctangent from x- and y-coordinates
Returns the arctangent from x- and y-coordinates.
Syntax
ATAN2(x_num, y_num)Square brackets indicate optional arguments.
Arguments
| Argument | Required | Meaning |
|---|---|---|
| x_num | Yes | The x-coordinate of the point.4 |
| y_num | Yes | The y-coordinate of the point.3 |
Try ATAN2
Find the angle of a point in the first quadrant
=ATAN2(A2,B2)Excel takes x first and y second. The point (2,3) has angle atan(3/2). Change x to -2 and compare the quadrant, keeping the radian unit.
Inspect the current formula
Read its written arguments or observe actual operation values in a separate local calculation. This action neither applies a draft nor grades an answer.
Read the formula, one argument at a time
Explore the written function calls and their inputs. The calculation result belongs to the complete formula.
ATAN2 · top-level call
=ATAN2(A2,B2)Follow the cells behind a result
Read explicit local references and helper formulas using a separate calculation. Your draft stays in this field; the worksheet and practice checks do not change.
The worksheet runs locally. Published checks apply to the supplied example only. Native Excel and Google Sheets compatibility remain unverified.
Reference and compatibility
Univer 1.0.4 / Apache-2.0. Calculation checks cover the supplied examples only. The browser worksheet does not implement every Excel feature, external service or connected data type.