---
title: math.Atan2
description: Returns the arctangent, in radians, of the given number pair, determining the correct quadrant from their signs.
categories: []
keywords: []
params:
  functions_and_methods:
    aliases: []
    returnType: float64
    signatures: [math.Atan2 VALUE VALUE]
---

{{< new-in 0.130.0 />}}

```go-html-template
{{ math.Atan2 1 2 }} → 0.4636476090008061
```
