Formula for e not cell?

Formulas & functions · Updated November 23, 2026

The formula you’re looking for is =EXP(1) in Excel, which returns Euler’s number (approximately 2.71828182845904). If you need the value of e without using a cell reference, type =EXP(1) in any cell and press Enter — that’s the direct answer.

Why Excel Doesn’t Have an E Constant

Unlike some calculators or programming languages that have a built-in constant like e or M_E, Excel does not provide a dedicated constant for Euler’s number. Instead, it offers the EXP function, which raises e to any power. Since e is simply e^1, =EXP(1) is the standard way to get the constant itself. This design keeps the function set minimal and consistent: EXP is the exponential function, and its inverse is the natural logarithm LN.

How the EXP Function Works

The syntax is =EXP(number), where number is the exponent applied to e. For example:

  • =EXP(1) returns 2.71828182845904 (e).
  • =EXP(2) returns 7.38905609893065 (e²).
  • =EXP(0) returns 1 (any number to the power 0 is 1).
  • =EXP(-1) returns 0.367879441171442 (1/e).

If you want to display e with fewer decimals, format the cell with the Number format and set decimal places, or use =ROUND(EXP(1), 4) to get 2.7183.

When You Might Need e in Formulas

Euler’s number appears in many real-world calculations. Common uses in Excel include:

  • Continuous compound interest: Future value = principal × EXP(rate × time). For example, $1,000 at 5% continuously compounded for 3 years is =1000*EXP(0.05*3), which returns $1,161.83.
  • Exponential growth/decay: Population growth, radioactive decay, or bacterial growth models use N(t) = N0 × EXP(k×t).
  • Normal distribution: The probability density function uses e; Excel has NORM.DIST which handles it internally, but you might need e for custom statistical formulas.
  • Physics and engineering: Discharging capacitors, damped oscillations, and many differential equation solutions use e.

Alternatives to EXP(1)

If you need the value in multiple places, consider these options:

  • Type =EXP(1) in a cell (say A1) and reference $A$1 elsewhere.
  • Define a named constant: go to Formulas > Define Name, enter Euler in the Name box, and in Refers to, type =EXP(1). Then you can use =Euler in any formula.
  • If you want a hard-coded number, copy the value 2.71828182845904 and paste as values, but note that this loses precision if you need more digits (Excel stores up to 15 significant digits).

Common Errors and Misconceptions

A frequent mistake is typing =E or =e^1. Excel does not recognize e as a constant — it treats it as a name, and if no defined name exists, you get a #NAME? error. Also, =e^1 is invalid for the same reason. Another misconception is that EXP(1) is the same as 1^e — it’s not. Always use EXP.

If you get a #NUM! error, the exponent is too large (Excel’s limit is about 709.78 for EXP). If you get #VALUE!, the argument is non-numeric text.

Using e in Google Sheets

Google Sheets works identically: =EXP(1) returns the same value. The function and syntax are the same. The only difference is that in Google Sheets you might see a slightly different default decimal display, but the underlying value is the same. If you’re working in Excel for Mac, the function is also =EXP(1) — no difference.

Frequently Asked Questions

Q: How do I type the letter e in Excel?
You don’t type the letter e as a constant. Use =EXP(1) for the number, or if you need scientific notation (like 1.5E+3), that’s a different format — type 1.5E+3 directly and Excel interprets it as 1500.

Q: What is the full value of e in Excel?
Excel stores e as 2.71828182845904, which is accurate to 15 significant digits. The true value has infinite decimals, but Excel’s precision limit is 15 digits.

Q: Can I use e in a formula without typing EXP?
No, unless you define a named constant. You can define a name like e to refer to =EXP(1), but that’s still using EXP behind the scenes.

Q: Is there an LN function that gives e?
No, LN returns the natural logarithm of a number. For example, =LN(EXP(1)) returns 1, but that’s not the value of e itself.

Q: Why does my formula show 2.71828182845905 instead of 2.71828182845904?
That’s likely a display rounding issue. Excel’s actual stored value is 2.71828182845904, but depending on the cell width and format, it may display more or fewer digits. The difference is negligible for most calculations.

Related

Try it: the Formula Explainer: paste any formula and see each function and reference in plain English.

More in Formulas & functions

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.