---
updatedAt: 2025-12-05T18:41:41.000Z
agentTools:
  projectIndex: https://docs.observeinc.com/llms.txt
---

# arctan_deg

```
arctan_deg(input: float64) -> float64
```

Computes the arc tangent of the input. The result is a float64, specified in degrees, in the range \[-90, 90]

Arguments

1. input (required)
   Ratio to find the arc tangent of, float64.

# Domain

This is a scalar function (calculates a single output value for a single input row).

# Categories

* [Numeric](function#numeric-functions)

# Examples

<OpalCodeBlock code={
`make_col arctan:arctan_deg(ratio)
`}/>

Create a column 'arctan' with the result of the arc tangent of column 'ratio'\
The resulting column will be in degrees.

Given the below column `ratio`, `arctan_deg` produces the below column `arctan`

| ratio | arctan |
| ----- | ------ |
| -∞    | -90    |
| -√3   | -60    |
| -1    | -45    |
| 0     | 0      |
| 1     | 45     |
| √3    | 60     |
| ∞     | 90     |