# ATAN2

## Content

This function calculates the arctangent of the specified x- and y-coordinates.

## Syntax

`ATAN2(x, y)`

## Arguments

<span data-teams="true">This function has these arguments:</span>

| <span data-teams="true">Argument</span> | <span data-teams="true">Description</span> |
| -------- | ----------- |
| <span data-teams="true"> </span>*<span data-teams="true">x</span>* | [Required] The x-coordinate of the point |
| <span data-teams="true"> </span>*<span data-teams="true">y</span>* | [Required]<span data-teams="true"> </span>The y-coordinate of the point |

## Remarks

The arctangent is the angle from the x-axis to a line containing the origin (0, 0) and a point with coordinates ( *x* , y).
The result is given in radians between –PI and PI, excluding –PI. If you want to convert the result to degrees, multiply the result by 180/PI.

## Examples

`ATAN2(A1,E3)`
`ATAN2(R1C1,R3C5)`
`ATAN2(1,1)` gives the result 0.7853981634