The `exp` function can be used in [custom filters](https://docs.cloud.google.com/looker/docs/2622/filtering-and-limiting.md.txt#custom-filters) and [table calculations](https://docs.cloud.google.com/looker/docs/2622/table-calculations) to get *e* raised to the power of a value.

## Syntax

**`exp(value)`**

The `exp` function evaluates a `value` by calculating *e* raised to the power of that value.

## Examples

The `exp` function can be used to calculate compound interest. For example, the [compound interest](https://en.wikipedia.org/wiki/Compound_interest) formula, *pe^rt^*, can be written as follows:

    ${investment.principal) * exp(${investment.rate} * ${investment.term})

## Things to know

The number *e* (2.7182818284590...) is an important mathematical constant, which you can read more about [in this Wikipedia article](https://en.wikipedia.org/wiki/E_(mathematical_constant)). It has many applications, including calculating compound interest, performing certain probability calculations, generating normal distributions, and so on.