The EXP function returns e (approximately 2.71828) raised to the power of a given number. It is the inverse of LN and is used to model exponential growth, decay, and continuous compounding.
=EXP(number)What does EXP do?
EXP is one of Excel's Math & Trigonometry functions. It takes a single number and returns e raised to that power, where e is Euler's number, about 2.71828. For example, =EXP(1) returns 2.718281828, and =EXP(0) returns 1. It is the exact inverse of the natural logarithm function LN.
You may not type EXP every day, but it sits behind many real calculations: continuously compounded interest, population growth, radioactive decay, and probability models. When a quantity changes by a fixed percentage per period, EXP turns a rate and a time into a multiplier you can apply to a starting value.
A practical situation: a savings account pays 5% annual interest compounded continuously. Instead of building a month-by-month table, you can compute the future value in one cell with =1000*EXP(0.05*3) for three years. That makes EXP a fast what-if tool for growth and decay scenarios.
When to use EXP
- Calculating continuously compounded interest or investment growth
- Modeling population growth or bacterial growth over time
- Estimating radioactive decay or depreciation that follows an exponential curve
- Converting a log-transformed forecast back to original units
- Computing exponential probabilities in statistics and risk models
- Building quick what-if scenarios for rates and time periods
EXP syntax
=EXP(number)| Argument | Required? | What to enter |
|---|---|---|
number | Required | The exponent you want to apply to e. It can be a plain number, a cell reference, or a calculation such as a rate times time. Example: =EXP(2) returns about 7.389. |
What it returns: A positive number equal to e raised to the given power. For example, EXP(0) returns 1, EXP(1) returns about 2.71828, and EXP(-1) returns about 0.36788.
EXP examples
1 Basic EXP with a single number
This example shows the core behaviour of EXP. The goal is to raise e to the power in cell B2. The formula =EXP(B2) reads the exponent from B2 and returns e squared, about 7.389056. Because the exponent is positive, the result is greater than 1. Changing B2 to 0 would return 1, and a negative exponent would return a value below 1.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Exponent | Value | |||
| 2 | 2 | 2 | 7.389056099 | ||
| 3 | 1 | 1 | |||
| 4 | 0 | 0 | |||
| 5 | -1 | -1 | |||
| 6 |
2 Continuously compounded savings balance
A deposit grows continuously at an annual rate. The goal is to find the balance after the given years. The formula =B2*EXP(B3*B4) multiplies the principal in B2 by e raised to the product of rate (B3) and years (B4). For 1000 at 5% for 3 years, the exponent is 0.15 and the multiplier is about 1.161834. The result is about 1161.83, the future value with continuous compounding.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Principal | Rate | Years | Label | |||
| 2 | 1000 | 0.05 | 3 | Savings | 1161.834243 | ||
| 3 | 2500 | 0.04 | 5 | Savings | |||
| 4 | 500 | 0.06 | 2 | Savings | |||
| 5 |
3 Radioactive decay remaining mass
A sample decays continuously at a given annual rate. The goal is to find the mass left after the stated years. The formula =B2*EXP(-B3*B4) uses a negative exponent because the quantity is shrinking. For 100 grams at a 10% decay rate over 5 years, the exponent is -0.5 and the multiplier is about 0.606531. The result is about 60.65 grams remaining.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Initial mass (g) | Decay rate | Years | Sample | |||
| 2 | 100 | 0.1 | 5 | A | 60.65306597 | ||
| 3 | 50 | 0.2 | 3 | B | |||
| 4 | 200 | 0.05 | 10 | C | |||
| 5 |
4 Population projection from a growth rate
A town's population grows continuously at a fixed annual rate. The goal is to project the population after the given years. The formula =B2*EXP(B3*B4) multiplies the current population in B2 by e raised to rate times years. For 50000 people at 2% over 10 years, the exponent is 0.2 and the multiplier is about 1.221403. The projected population is about 61070.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Current population | Growth rate | Years | Town | |||
| 2 | 50000 | 0.02 | 10 | Riverside | 61070.13791 | ||
| 3 | 120000 | 0.015 | 5 | Oakwood | |||
| 4 | 8000 | 0.03 | 20 | Hillview | |||
| 5 |
5 Back-transforming a log forecast
A forecast was produced on a natural-log scale and stored in column B. The goal is to convert it back to the original units. The formula =EXP(B2) raises e to the logged value in B2. A log forecast of 7.5 becomes about 1808.04 in original units. This is the standard inverse operation when your model was fitted with LN.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Month | Log forecast | Note | ||
| 2 | 2024-01-01 | 7.5 | Jan | 1808.042414 | |
| 3 | 2024-02-01 | 7.6 | Feb | ||
| 4 | 2024-03-01 | 7.7 | Mar | ||
| 5 |
Common EXP errors and how to fix them
| Error | Why it happens | How to fix it |
|---|---|---|
| #VALUE! | The number argument is text that Excel cannot convert, such as a word or a cell containing spaces. | Make sure the argument is a number or a cell reference to a numeric cell. Remove stray text or convert the value with VALUE. |
| #NAME? | The function name is misspelled, for example EXPP or EXP without the equals sign. | Type =EXP( and let Excel suggest the function, or correct the spelling. |
| #NUM! | The exponent is too large for Excel to represent, typically above about 709. | Check the input. If a large exponent is legitimate, work with logarithms or scale the problem down. |
| Wrong result (not an error code) | Using a percentage rate as a whole number, such as 5 instead of 0.05, which explodes the result. | Enter rates as decimals (5% or 0.05) and confirm the units of time match the rate. |
Tips for using EXP
- Remember EXP and LN are inverses:
=EXP(LN(x))returns x for any positive x. - For continuous compounding, use
=Principal*EXP(rate*time)and keep rate and time in matching units. - Use a negative exponent for decay, such as
=EXP(-rate*time), rather than subtracting later. - Format results as numbers with the needed decimals; EXP often returns long decimals.
- Test edge cases:
=EXP(0)should return 1, which is a quick sanity check.
Frequently asked questions
What is the difference between EXP and the power operator?
EXP(x) always raises e to the power x. The caret operator, as in =2^3, lets you choose any base. Use EXP when the base is e, which is common in growth and decay formulas.
Can EXP return a negative number?
No. e raised to any real power is always positive, so EXP never returns zero or a negative value.
How do I calculate continuously compounded interest in Excel?
Use =Principal*EXP(rate*years). For example, =1000*EXP(0.05*3) returns about 1161.83.
Why does EXP(1000) show an error?
The result is too large for Excel's number limit, so it returns #NUM!. Keep exponents below about 709 or rescale your calculation.
Related functions
Every example on this page was recalculated by SheetSkill’s spreadsheet engine. EXP reference