---
title: atanh function
description: Learn the syntax of the atanh function of the SQL language in Databricks SQL and Databricks Runtime.
canonical_url: https://docs.databricks.com/gcp/en/sql/language-manual/functions/atanh
---

# `atanh` function

**Applies to:** ![check marked yes](https://docs.databricks.com/gcp/en/images/icons/check.png) Databricks SQL ![check marked yes](https://docs.databricks.com/gcp/en/images/icons/check.png) Databricks Runtime

Returns inverse hyperbolic tangent of `expr`.

## Syntax

```
atanh(expr)
```

## Arguments

* `expr`: An expression that evaluates to a numeric.

## Returns

A `DOUBLE`.

If the argument is out of bounds, the result is `NaN`.

## Examples

```sql
> SELECT atanh(0);
 0.0

> SELECT atanh(2);
 NaN
```

## Related functions

* [`atan` function](https://docs.databricks.com/gcp/en/sql/language-manual/functions/atan.md)
* [`tan` function](https://docs.databricks.com/gcp/en/sql/language-manual/functions/tan.md)
* [`atan2` function](https://docs.databricks.com/gcp/en/sql/language-manual/functions/atan2.md)
* [`acosh` function](https://docs.databricks.com/gcp/en/sql/language-manual/functions/acosh.md)
* [`asinh` function](https://docs.databricks.com/gcp/en/sql/language-manual/functions/asinh.md)
