> ## Documentation Index
> Fetch the complete documentation index at: https://docs.firebolt.io/llms.txt
> Use this file to discover all available pages before exploring further.

> Reference material for ATAN function

# ATAN

Calculates the arctangent of a value in radians.

## Syntax

```sql theme={"theme":{"light":"css-variables","dark":"css-variables"}}
ATAN(<value>)
```

## Parameters

| Parameter | Description                                            | Supported input types |
| :-------- | :----------------------------------------------------- | :-------------------- |
| `<value>` | The number that the arctangent function is applied to. | `DOUBLE PRECISION`    |

## Return Type

`ATAN` returns a value of type `DOUBLE PRECISION`.

## Example

The following query calculates the arctangent of 1:

<div className="query-window">
  ```
  SELECT ATAN(1) as result;
  ```

  | result <span>double</span> |
  | :------------------------- |
  | 0.7853981633974483         |

  <p><span>Rows: 1</span><span>Execution time: 4.96ms</span></p>
</div>
