Skip to content

EXP

Returns e, about 2.71828, raised to a power. EXP is the tool for continuous growth and decay, and the inverse of LN.

Syntax

=EXP()

Math and trigonometry

All versions of Excel.

Try it

Edit the formula in B2 or change the inputs. The sheet recalculates as you type.

B2
A
B
C
1
Exponent
EXP
2
0
1
3

B2 =EXP(A2) returns 1

How EXP works

EXP raises the constant e, roughly 2.718281828, to a power. =EXP(1) is e itself, =EXP(0) is 1, and =EXP(2) is about 7.389. The constant e is the base of natural logarithms, which is why EXP and LN undo each other: =EXP(LN(5)) returns 5.

Continuous compounding

Ordinary compounding applies growth in steps, once a year or once a month. Continuous compounding applies it at every instant, and the balance becomes principal * EXP(rate * time). With 1,000 at 5% for 2 years, that is =1000*EXP(0.05*2), about 1,105.17, a little more than the 1,102.50 you get with annual compounding. Use EXP when a model, a textbook formula or a contract states the rate as continuous.

Decay and discounting

A negative exponent shrinks the result. A quantity that decays at 10% a unit of time, such as a signal, a dose or a stock level, is =100*EXP(-0.1*5), about 60.65 after 5 units. In finance, the continuous discount factor for rate r and time t is =EXP(-r*t), which is the reciprocal of the growth factor.

Models that use EXP

  • Growth curves: population, adoption and many forecasting models use EXP(rate*time).
  • Probability: the normal curve, Poisson and exponential distributions contain EXP. Excel has dedicated functions, such as NORM.DIST and POISSON.DIST, that do the work for you.
  • Logistic and sigmoid curves: =1/(1+EXP(-x)) turns a score into a probability between 0 and 1.

EXP, POWER and the caret

=EXP(x) is the same as =POWER(EXP(1), x) or =2.718281828^x, but EXP is more accurate, because it uses the exact value of e. Don't type a rounded e into a formula.

Limits

EXP returns #NUM! when the result is too large for Excel, which happens above an exponent of about 709. The reverse, a very large negative exponent, returns a result so small that it displays as 0. Text returns #VALUE!.

Arguments

number
The exponent applied to e, such as 0.05*2 for 5% for 2 years. 0 gives 1, and a negative number gives a value below 1.

Examples

Each example is a live sheet. Change the inputs or the formula and watch the result.

Example 1

EXP(0) is 1

B2 =EXP(A2)

Result: 1

Any base raised to the power 0 is 1.

B2
A
B
C
1
Exponent
EXP
2
0
1
3

B2 =EXP(A2) returns 1

Example 2

The constant e

B2 =ROUND(EXP(A2),6)

Result: 2.718282

EXP(1) is e. ROUND trims it to six decimals for display.

B2
A
B
C
1
Exponent
e to 6 places
2
1
2.718282
3

B2 =ROUND(EXP(A2),6) returns 2.718282

Example 3

Continuous compounding

B4 =ROUND(B1*EXP(B2*B3),2)

Result: 1,105.17

EXP(0.1) is about 1.10517. Annual compounding at 5% would give 1,102.50.

B4
A
B
C
1
Principal
1000
2
Rate
5%
3
Years
2
4
Balance
1,105.17
5

B4 =ROUND(B1*EXP(B2*B3),2) returns 1,105.17

Example 4

Exponential decay

D2 =ROUND(A2*EXP(-B2*C2),4)

Result: 60.6531

A negative exponent shrinks the amount. 100 x EXP(-0.5) leaves about 60.65.

D2
A
B
C
D
1
Start
Decay rate
Time
Remaining
2
100
0.1
5
60.6531
3

D2 =ROUND(A2*EXP(-B2*C2),4) returns 60.6531

Example 5

EXP undoes LN

B2 =ROUND(EXP(LN(A2)),9)

Result: 5

LN finds the power of e that gives 5, and EXP raises e to that power, returning 5.

B2
A
B
C
1
Number
EXP(LN(x))
2
5
5
3

B2 =ROUND(EXP(LN(A2)),9) returns 5

Your turn.

Solve it in the sheet. Every answer is checked, with hints if you need them.

Task 1 of 2

In B4, return the balance after the years in B3 with continuous compounding at the rate in B2, rounded to two decimals.

Answer in B4.

B4
A
B
C
1
Principal
2,000
2
Continuous rate
6%
3
Years
3
4
Balance (2 decimals)
5
6
Discount factor (4 decimals)
7
8

Common mistakes

  • EXP(x) is e to the power x, not 10 to the power x. For powers of 10, use 10^x or POWER(10, x).
  • Continuous and annual compounding give different answers. Check which the source rate means before you pick EXP or (1+r)^t.
  • The rate and time must use the same unit. A yearly rate with months as the time gives a result that is off by a factor of 12.
  • Typing a rounded e, such as 2.718^x, loses accuracy. Use EXP.
  • An exponent above about 709 returns #NUM!. Check units if a growth model blows up.

Questions people ask

What does EXP do in Excel?

It returns e, about 2.71828, raised to the power you give it. EXP(1) is e and EXP(0) is 1.

What is the difference between EXP and POWER?

POWER raises any base to a power. EXP always uses the constant e as the base. `=EXP(2)` equals `=POWER(EXP(1), 2)`.

How do I calculate continuous compounding?

Use `=principal*EXP(rate*time)`. For 1,000 at 5% for 2 years, `=1000*EXP(0.05*2)` is about 1,105.17.

How do I get e in Excel?

Use `=EXP(1)`. Excel has no separate constant for e, and EXP(1) is accurate to 15 digits.

What is the inverse of EXP?

LN, the natural logarithm. `=LN(EXP(2))` returns 2.

Learn EXP in a real sheet.

Tracks take you from the basics to modelling, one graded exercise at a time.