# ATAN2

ATAN2(`x`, `y`, `radians)`

Returns the arc tangent of an ordered pair (x,y). Default produces result in radians.

### Arguments <a href="#arguments" id="arguments"></a>

| Argument  | Description                                                                      |
| --------- | -------------------------------------------------------------------------------- |
| `x`       | X-value of ordered pair.                                                         |
| `y`       | Y-value of ordered pair.                                                         |
| `radians` | True to produce output in radians (default), false to produce output in degrees. |

### Output <a href="#output" id="output"></a>

The arc tangent of an ordered pair (x,y).

### Example <a href="#examples" id="examples"></a>

{% embed url="<https://datawrapper.dwcdn.net/9h0hO/2/>" %}
