<< Go back to all functions

ATAN2

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

Function Syntax and Parameters

Syntax: ATAN2(x, y)

Parameters:

  • x: The x-coordinate of the specified point.
  • y: The y-coordinate of the specified point.

Step-by-Step Tutorial

  1. Using ATAN2 function:
    • Example: =ATAN2(3, 4)
    • Result: 0.643501109 rad

Use Cases and Scenarios

  1. Geometry: Calculate the angle between two points on a Cartesian plane.
  2. Robotics: Determine the angle of rotation for a robot to reach a specific point.

Related Functions

  • SIN: Returns the sine of an angle.
  • COS: Returns the cosine of an angle.

Related Articles