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

# `expm1` function

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

Returns `exp(expr) - 1`.

## Syntax

```
expm1(expr)
```

## Arguments

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

## Returns

A `DOUBLE`.

## Examples

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

## Related functions

* [`e` function](https://docs.databricks.com/aws/en/sql/language-manual/functions/e.md)
* [`exp` function](https://docs.databricks.com/aws/en/sql/language-manual/functions/exp.md)
