To write the mathematical constant e (Euler's number, approximately 2.71828) in an Excel formula, use the EXP function. For example, =EXP(1) returns e, and =EXP(2) returns e squared. Excel has no built-in symbol for e, so you either call EXP or type the value 2.718281828459045 directly. This guide shows both methods, how to raise e to a power, how to use e in compound-interest and growth formulas, and how to avoid the mistakes that produce wrong results.

What You'll Need

  • Excel for Windows, Excel for Mac, or Excel for the web (the formulas below work in all three).
  • A blank worksheet or an existing workbook where you can test formulas.
  • Basic familiarity with typing a formula that starts with an equals sign.

Step-by-Step

  1. Start a formula in an empty cell. Click a cell, type =, and continue typing. Excel treats anything after the equals sign as a formula, so do not type a space before the function name.
  2. Use EXP to get e itself. Type =EXP(1) and press Enter. The cell displays 2.71828182845905 (the exact number of decimals depends on column width and formatting). EXP(1) means "e raised to the power 1," which is e.
  3. Raise e to any power. Replace the 1 with the exponent you need. =EXP(2) gives e squared (about 7.389), =EXP(0.5) gives the square root of e (about 1.6487), and =EXP(-1) gives 1/e (about 0.3679). The exponent can be a number, a cell reference such as =EXP(A1), or another formula such as =EXP(LN(10)).
  4. Type the constant directly if you prefer. If you only need the value and not a live calculation, enter =2.718281828459045 in a cell. Excel stores about 15 significant digits, so this is as precise as the program can hold. The trade-off is that a typed constant does not update if you later change related cells, while EXP recalculates automatically.
  5. Build a growth or decay formula. The standard continuous-growth model is =P*EXP(r*t), where P is the starting amount, r is the rate per period as a decimal, and t is the number of periods. For example, with 1000 in A1, 0.05 in A2, and 10 in A3, =A1*EXP(A2*A3) returns about 1648.72. For decay, use a negative rate.
  6. Use e in a compound-interest comparison. Continuous compounding is =Principal*EXP(rate*years). To compare it with monthly compounding, use =Principal*(1+rate/12)^(12*years). Both formulas accept cell references, so you can change the inputs and watch the results update.
  7. Combine e with other functions. EXP nests inside SUM, AVERAGE, IF, and most other functions. For instance, =SUM(EXP(A1),EXP(A2)) adds e raised to two different powers. Keep parentheses balanced; Excel will offer to fix an unbalanced formula when you press Enter, but check the result rather than accepting the fix blindly.
  8. Format the result for readability. Select the cell, open the Number Format dropdown on the Home tab, and choose Number or Scientific. Increase or decrease the decimal places with the buttons next to the dropdown. Formatting changes only how the number looks, not the stored value.
  9. Copy the formula down a column. Drag the fill handle (the small square at the bottom-right of the selected cell) or copy the cell and paste it below. Relative references adjust automatically; use dollar signs such as $A$1 if a reference must stay fixed.
  10. Verify one result by hand. Pick a simple case, such as =EXP(1), and confirm it shows about 2.718. If it does, the function is working and any unexpected result comes from the inputs, not from EXP itself.

Common Mistakes

  • Typing e as a standalone value. In Excel, a bare e is read as text, not as the constant. =e^2 returns an error or an unexpected result; use =EXP(2) instead.
  • Confusing EXP with E in scientific notation. A display such as 1.23E+05 means 1.23 times 10 to the fifth power, not e raised to a power. The letter E in that format is notation, not the constant.
  • Using LN when you meant EXP. LN returns the natural logarithm (the inverse of EXP). =LN(EXP(3)) returns 3, which is a useful check but not the same as =EXP(3).
  • Forgetting that rates are decimals. A 5% rate must be entered as 0.05, not 5. Entering 5 in a growth formula produces a result roughly e to the fifth power times too large.
  • Leaving the formula as text. If the cell shows the formula instead of a result, the cell is formatted as Text or the formula lacks the leading equals sign. Reformat the cell as General and retype the formula.
  • Over-rounding the typed constant. Typing 2.718 instead of the fuller value introduces a small error that grows with the exponent. Use EXP when precision matters.

Tips

  • Use EXP(1) rather than a typed constant whenever the value feeds other calculations, so Excel keeps full internal precision.
  • Name your input cells (Formulas > Define Name) so formulas read like =Principal*EXP(rate*years) instead of a string of cell references.
  • Press Ctrl+` (the grave accent key) to toggle between showing formulas and showing results; it is the fastest way to audit a sheet full of EXP formulas. On a Mac, the shortcut may differ by version, so check the Formulas tab if it does not respond.
  • Use the Evaluate Formula tool (Formulas tab > Evaluate Formula) to step through a nested EXP calculation one piece at a time.
  • For very large exponents, expect scientific notation in the display. Widen the column or switch to Number format to see the full value.

Troubleshooting

The cell shows #NAME?. Excel does not recognize the function name. Check for a typo such as EXPP or a missing parenthesis, and make sure you are using the English function name if your Excel is set to another language; localized versions use translated names.

The result is wrong by a large factor. The most common cause is a rate entered as a whole number instead of a decimal, or an exponent that should be negative. Recheck each input cell and confirm the order of operations inside the parentheses.

The formula displays as text. The cell is likely formatted as Text. Select it, set the format to General, then re-enter the formula. If the formula still shows, check that the equals sign is the first character and that there is no leading apostrophe.

Results differ between two computers. Both copies may hold different input values or different calculation settings. Compare the underlying cells, and check that automatic calculation is turned on (Formulas > Calculation Options).

If that did not work, start a fresh blank workbook and test =EXP(1) alone. If it returns 2.718, the function is fine and the problem lies in the original workbook's inputs, formatting, or references. If it fails in a blank workbook too, repair or reinstall Office through the official installer.

Frequently Asked Questions

Is there an e symbol I can type in an Excel formula?

No. Excel has no constant for e. Use EXP(1) or type the numeric value 2.718281828459045.

What is the difference between EXP and the E in a number like 1E+05?

EXP is the function that raises e to a power. The E in 1E+05 is scientific notation meaning 1 times 10 to the fifth power, and it is not the constant e.

How do I calculate e to the power of a cell value?

Use =EXP(A1), replacing A1 with the cell that holds the exponent. The result updates automatically when the cell changes.

Can I use e for continuous compound interest in Excel?

Yes. The formula is =Principal*EXP(rate*years), with the rate as a decimal such as 0.05 for 5%.

Why does my EXP formula return a negative number?

EXP always returns a positive number. A negative result means the negative sign is outside the function, as in =-EXP(A1), or the formula includes another operation that flips the sign.

Does EXP work in Excel for the web and on Mac?

Yes, EXP is a standard worksheet function available in Excel for Windows, Excel for Mac, and Excel for the web. Menu labels and shortcut keys can differ slightly by version, device, or region.