# tan({n})

Returns the tan value of radians value `{n}`. `{n}` can be any real number in the range of -1e308 <= `{n}` <= 1e308. If `null` is passed as an argument, `tan()` returns `null`.

`tan({n})` takes the following syntax.

```nolang
SELECT TAN(N) as ALIAS
FROM DATASET;
```

## Example

This example takes the tan of 90 degrees.

```nolang
SELECT TAN(RADIANS(90)) as tanValue
FROM "Opportunity"
LIMIT 1;
```

| tanValue |
| -------- |
| 163312   |
