EXP
Returns Euler's number e raised to the given power.
EXP is the inverse of LN for positive-domain values.
The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.
Syntax
=EXP(number)
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
number | number | Required | — |
Remarks
- Computes
e^xusing floating-point math. - Input errors are propagated.
Error cases
- Finite inputs that overflow floating-point range return
#NUM!.
Examples
Raise the base of the natural logarithm to a positive power.
Formula =EXP(2)
Expected result 7.38905609893065
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
A negative exponent gives the reciprocal.
Formula =EXP(-2)
Expected result 0.135335283236613
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Raising the base to zero gives one.
Formula =EXP(0)
Expected result 1
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
The exponent must resolve to a number.
Formula =EXP("invalid")
Expected result #VALUE!
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Compute e to the first power
Formula =EXP(1)
Expected result 2.71828182845905
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Invert LN
Formula =EXP(LN(5))
Expected result 5
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Related functions
FAQ
Can EXP overflow?
Yes. Very large finite positive inputs return #NUM! on overflow.