---
schema_version: "1"
id: 6be3eabb3887cc07bdee57d66d1553ecae885e406addf8567cab0b9bea1155af
title: exp({n})
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/analytics/bi_dev_guide_sql/guides/bi-sql-math-exp.md
canonical_url: https://developer.salesforce.com/docs/analytics/bi-dev-guide-sql/guide/bi-sql-math-exp.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: e136cd2aa2146ba2f611fd2f186b425c8a99d5ecf2dccb6e3c2761f61ba7376a
products:
  - SQL for Analytics Developer Guide
  - analytics
---

# exp({n})

Returns the value of Euler's number e raised to the power of _n_, where e = 2.71828183… The smallest value for _n_ that does not result in 0 is 3e-324. _n_ can be any real numeric value in the range of -1.797e308 \<= _n_ \<= 700.

`exp({n})` takes the following syntax.

```nolang
SELECT exp(N) as ALIASNAME
FROM DATASET;
```

## Example

This example returns the value of e raised to the 5th power.

```nolang
SELECT exp(5) as expExample FROM Superstore
LIMIT 1;
```

| expExample |
| ---------- |
| 148.413    |
