ATAN2

The ATAN2 function returns the angle between the x-axis and a line segment from the origin (0,0) to the specified coordinate pair (`x`,`y`), in radians.

Sample Usage

ATAN2(4,3)

ATAN2(A2)

Syntax

ATAN2(x,y)

  • x - The x coordinate of the endpoint of the line segment for which to calculate the angle from the x-axis.

  • y - The y coordinate of the endpoint of the line segment for which to calculate the angle from the x-axis.

Notes

  • Use the DEGREES function to convert the result of ATAN into degrees.

See Also

TANH: The TANH function returns the hyperbolic tangent of any real number.

TAN: The TAN function returns the tangent of an angle provided in radians.

SINH: The SINH function returns the hyperbolic sine of any real number.

SIN: The SIN function returns the sine of an angle provided in radians.

RADIANS: The RADIANS function converts an angle value in degrees to radians.

PI: The PI function returns the value of pi to 9 decimal places.

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

COSH: The COSH function returns the hyperbolic cosine of any real number.

COS: The COS function returns the cosine of an angle provided in radians.

ATANH: The ATANH function returns the inverse hyperbolic tangent of a number.

ATAN: The ATAN function returns the inverse tangent of a value in radians.

ASINH: The ASINH function returns the inverse hyperbolic sine of a number.

ASIN: The ASIN function returns the inverse sine of a value in radians.

ACOSH: The ACOSH function returns the inverse hyperbolic cosine of a number.

ACOS: The ACOS function returns the inverse cosine of a value in radians.

Examples

true
Visit the Learning Center

Using Google products, like Google Docs, at work or school? Try powerful tips, tutorials, and templates. Learn to work on Office files without installing Office, create dynamic project plans and team calendars, auto-organize your inbox, and more.

Search
Clear search
Close search
Google apps
Main menu
2661303878255218364
true
Search Help Center
true
true
true
true
true
35
false
false