---
title: exp, exp1, exp2
card_id: 55719
---

# exp, exp1, exp2

```
the exp of [ph:number]
the exp1 of [ph:number]
the exp2 of [ph:number]
```

Values returned:

`exp` returns a number equal to  the constant `e` raised to the power of `[ph:number]`.

`exp1` returns a number equal to 1 less than `e` raised to the power of `[ph:number]`.

`exp2` returns a number equal to 2 raised to the power of `[ph:number]`.

Note: `e` ≈ `2.7182818`

## Examples

```
the exp of 1 --returns 2.718282
exp(1)

exp1 of 1 --returns 1.718282
exp1(1)

exp2 of 10 -- returns 1024

exp2 of 5 * 2 -- returns 64
exp2 of (5 * 2)  -- returns 1024
```

## Related Topics

* [ln, ln1, log2](/HyperTalkReference/functions/ln-ln1-log2)
