---
title: "EXP"
description: "The EXP SQL function returns the exponent of the number."
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/exp
original: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/exp
updated: 2026-08-09T00:00:00Z
license: https://documentation.invantive.eu/en/
---

## Syntax
```mermaid
%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart LR
    Start((START)) --> EXP[EXP]:::quoted
    EXP --> End
```

## Purpose
The `EXP` SQL function returns the exponent of the number. The exponent is defined as the constant `e` raised to the specified power.

Parameters:
- Input (`decimal`): the power of `e` to calculate.

Returns: `e` raised to the specified power as a `decimal`.

## Examples
The following example retrieves the exponent of 0:
```sql
select exp(0)

--------
1
```
The following example retrieves the exponent of 1 (`e`):
```sql
select exp(1)

--------
2.718281828459045
```