Exponentials & Logarithms

What Is e in Math? Euler's Number Explained

The number ee is a fixed constant, approximately 2.718282.71828, defined by e=lim⁡n→∞(1+1n)ne=\lim_{n\to\infty}\left(1+\frac{1}{n}\right)^{n}. It is the base of the natural logarithm and the number behind every formula for continuous growth and decay.

e=lim⁡n→∞(1+1n)n≈2.71828e = \lim_{n\to\infty}\left(1+\frac{1}{n}\right)^{n} \approx 2.71828

Try it with your numbers

Show every step

Treat ee like π\pi: a specific number, not a variable. The sections below show where it comes from, why calculus prefers it, how to compute with it, and how to catch mistakes before they cost you points.

What is e in math, and why is it not a variable?

Bar comparison showing e to the 10th is about 22026 while 2.7 to the 10th is 20589
Using 2.7 instead of e leaves e¹⁰ about 6.5% short, so keep e as a symbol until the last line.

The decimal expansion starts 2.718281828459045 and continues without end. Because the digits never terminate or repeat, ee is irrational. It is also transcendental, which means no polynomial with whole-number coefficients has ee as a root. The repeated “1828” near the front is a coincidence, and the digits 459045459045 that follow break the pattern right away.

The habit that costs the most points is treating ee as an unknown. In e2x=7e^{2x}=7 the unknown is xx, and ee stays put. The second habit is rounding to 2.72.7 too early. The true value of e10e^{10} is about 2202622026, while 2.7102.7^{10} is about 2058920589, which is roughly 6.5%6.5\% too small. Keep ee as a symbol through the algebra and round only in the final line.

Exact answers such as e3e^{3} or ln⁡7\ln 7 are usually preferred to decimals. The functions exe^{x} and ln⁡x\ln x undo each other, and if that idea is new, what a logarithm is covers the background. A useful anchor to keep in mind: ee sits between 22 and 33, closer to 33.

Quick check

Between which two whole numbers does e2e^{2} lie?

Where does e come from? Compound interest in one idea

Bar chart of (1+1/n)^n for 1, 2, 4, 12 and 365 compoundings approaching e
Compounding daily already lands within 0.004 of the continuous limit e, so more frequent compounding stops paying off.

Put 11 dollar in an account that pays 100%100\% interest per year. If the interest is added nn times a year, each payment is 1n\frac{1}{n} of the balance, so after one year you hold (1+1n)n\left(1+\frac{1}{n}\right)^{n}. More frequent compounding helps, but with sharply diminishing returns:

Compounding nn (1+1n)n\left(1+\frac{1}{n}\right)^{n}
Yearly 11 22
Twice a year 22 2.252.25
Quarterly 44 2.441412.44141
Monthly 1212 2.613042.61304
Daily 365365 2.714572.71457
Every 10001000th of a year 10001000 2.716922.71692
One million times 1,000,0001{,}000{,}000 2.718282.71828

Two forces fight here. The base 1+1n1+\frac{1}{n} shrinks toward 11, which would flatten everything to 11, while the exponent nn grows without bound, which would blow the result up. Neither wins: the product settles at ee. This is the classic indeterminate form 1∞1^{\infty}, and it is why you cannot simply say ”11 to any power is 11” when a limit is involved.

The limit was discovered by Jacob Bernoulli in 1683 while studying compound interest. Euler began using the letter ee in a letter to Christian Goldbach on 25 November 1731, and it first appeared in print in his Mechanica in 1736. Why he chose the letter is unknown.

Try this: On a calculator, compute (1+110)10\left(1+\frac{1}{10}\right)^{10} and (1+1100)100\left(1+\frac{1}{100}\right)^{100}. You should get about 2.593742.59374 and 2.704812.70481. Notice how little the second jump gains for ten times the effort.

How to calculate e from its series

There is a much faster route than the limit:

e=∑k=0∞1k!=1+1+12+16+124+⋯e=\sum_{k=0}^{\infty}\frac{1}{k!}=1+1+\frac{1}{2}+\frac{1}{6}+\frac{1}{24}+\cdots

Here k!=1⋅2⋅3⋯kk!=1\cdot2\cdot3\cdots k and 0!=10!=1. This is the power series of exe^{x} evaluated at x=1x=1. The factorials grow so quickly that eight terms beat a thousand compounding periods. Add the terms up to 17!\frac{1}{7!}:

  1. 1+1=21+1=2
  2. 2+12=2.52+\frac{1}{2}=2.5
  3. 2.5+16≈2.666672.5+\frac{1}{6}\approx2.66667
  4. 2.66667+124≈2.708332.66667+\frac{1}{24}\approx2.70833
  5. 2.70833+1120≈2.716672.70833+\frac{1}{120}\approx2.71667
  6. 2.71667+1720≈2.718062.71667+\frac{1}{720}\approx2.71806
  7. 2.71806+15040≈2.718252.71806+\frac{1}{5040}\approx2.71825

The true value is 2.718282.71828, so the gap is about 0.000030.00003, just over the next term 18!≈0.0000248\frac{1}{8!}\approx0.0000248. That pattern is a handy error estimate: the first term you drop is almost the whole error.

The series can never pass 33. Since k!≥2k−1k!\ge2^{k-1} for every k≥1k\ge1, the sum is at most 1+1+12+14+⋯=31+1+\frac{1}{2}+\frac{1}{4}+\cdots=3. Compare that with an arithmetic series, where each term adds a fixed step and the total grows forever. Here the terms collapse faster than any geometric ratio, so the total is trapped.

Memory trick for the digits

Write 2.72.7, then 18281828 twice, then 45 90 4545\,90\,45. That gives 2.7182818284590452.718281828459045, correct to fifteen places.

Why e is called the natural base

Zoom in on y=axy=a^{x} at x=0x=0. The slope there is ln⁡a\ln a, about 0.6930.693 for a=2a=2 and about 1.0991.099 for a=3a=3. Somewhere between them is the base whose slope at x=0x=0 is exactly 11, and that base is ee. Since exponentials copy themselves when shifted sideways, slope equals height everywhere, which gives the property that exe^{x} has a derivative equal to itself at every point:

ddxex=ex\frac{d}{dx}e^{x}=e^{x}

A second description uses area. On the graph of y=1/xy=1/x, ee is the unique number larger than 1 that makes the shaded area from 11 to that number equal to 11. That area definition is exactly how the natural logarithm ln⁡x=log⁡ex\ln x=\log_e x is built, which is why ln⁡e=1\ln e=1.

Every other base can be rewritten in terms of ee with ax=exln⁡aa^{x}=e^{x\ln a}, so 5x=exln⁡55^{x}=e^{x\ln 5}. This is why calculators and calculus treat ee as the one base that matters. On a graph, y=exy=e^{x} passes through (0,1)(0,1) and (1,e)(1,e) and hugs the line y=0y=0 on the left (see graphing exponential functions). Its mirror image across y=xy=x is y=ln⁡xy=\ln x, through (1,0)(1,0) and (e,1)(e,1), covered in graphing logarithmic functions.

Quick check

What is the slope of the graph of y=exy=e^{x} at the point where x=2x=2?

How to use e with negatives, fractions and ln

Powers of ee obey the same exponent laws as any other base:

  • ea⋅eb=ea+be^{a}\cdot e^{b}=e^{a+b} and eaeb=ea−b\dfrac{e^{a}}{e^{b}}=e^{a-b}
  • e−x=1exe^{-x}=\dfrac{1}{e^{x}}
  • e1/2=ee^{1/2}=\sqrt{e} and ep/q=epqe^{p/q}=\sqrt[q]{e^{p}}
  • ln⁡(ex)=x\ln\left(e^{x}\right)=x for every real xx
  • eln⁡x=xe^{\ln x}=x for every x>0x>0

The last two lines are the reason ee is so convenient: ln⁡\ln cancels ee with no leftover constant. The rest of the logarithm rules then handle sums, products and powers inside the ln⁡\ln. When both sides are powers of ee, such as e2x=e6e^{2x}=e^{6}, skip the logs and set the exponents equal, the method from exponential equations with the same base. Here that gives x=3x=3.

Two traps show up constantly. First, e−2=1e2≈0.135e^{-2}=\frac{1}{e^{2}}\approx0.135 is positive, because a negative exponent flips the power and never flips the sign. Second, −e2≈−7.39-e^{2}\approx-7.39 but (−e)2≈7.39(-e)^{2}\approx7.39, and calculators punish sloppy brackets: type e(2x+1)e^{(2x+1)} with parentheses around the whole exponent. The order of operations practice problems drill exactly this habit.

Worked example: solve e2x=7e^{2x}=7. Take the natural log of both sides so the ee disappears:

ln⁡(e2x)=ln⁡7⇒2x=ln⁡7⇒x=ln⁡72≈1.94592≈0.973\ln\left(e^{2x}\right)=\ln 7 \quad\Rightarrow\quad 2x=\ln 7 \quad\Rightarrow\quad x=\frac{\ln 7}{2}\approx\frac{1.9459}{2}\approx0.973

Check: e2(0.973)=e1.946≈7.0e^{2(0.973)}=e^{1.946}\approx7.0. The same plan works for any base, as shown in solving exponential equations with logarithms, but base ee gives the cleanest steps.

Continuous growth and decay with Euler’s number

The formula for continuous compounding is

A=PertA=Pe^{rt}

where PP is the starting amount, rr is the rate as a decimal per unit of time, and tt is the time in the same unit. It comes straight from the limit above: compounding nn times a year gives P(1+rn)ntP\left(1+\frac{r}{n}\right)^{nt}, and as nn grows this becomes PertPe^{rt}. Decay uses a negative exponent, N=N0e−ktN=N_{0}e^{-kt}.

Worked example: 50005000 dollars at 4%4\% for 1010 years, compounded continuously. Here rt=0.04⋅10=0.4rt=0.04\cdot10=0.4, so

A=5000 e0.4≈5000⋅1.491825≈7459.12A=5000\,e^{0.4}\approx5000\cdot1.491825\approx7459.12

Compounding once a year instead gives 5000⋅1.0410≈5000⋅1.480244≈7401.225000\cdot1.04^{10}\approx5000\cdot1.480244\approx7401.22. Going from yearly to continuous adds only about 57.9057.90 over a decade. The big gain was from yearly to monthly, and the table earlier showed why. The common slip is typing r=4r=4 instead of 0.040.04, which turns a modest account into a number with six digits.

Because ert=2e^{rt}=2 when rt=ln⁡2rt=\ln 2, the doubling time is simply t=ln⁡2rt=\frac{\ln 2}{r}. At 4%4\% that is 0.6930.04≈17.3\frac{0.693}{0.04}\approx17.3 years.

Doubling and half-life

Doubling time is ln⁡2r\frac{\ln 2}{r} and half-life is ln⁡2k\frac{\ln 2}{k}. Both use ln⁡2≈0.693\ln 2\approx0.693, so a quick mental estimate is 0.7r\frac{0.7}{r}.

The same ekte^{kt} shape models population growth, radioactive decay, cooling coffee and the bell curve in statistics. The reason is the one from the previous section: whenever the rate of change is proportional to the current amount, the solution is a power of ee.

Euler’s number vs Euler’s formula vs the calculator E

Three different things get mixed up, and the name “Euler” does not help.

Name What it is Value or form
Euler’s number ee The constant on this page ≈2.71828\approx2.71828
Euler’s constant γ\gamma A different constant ≈0.57722\approx0.57722
Euler’s formula An equation linking ee to trig eix=cos⁡x+isin⁡xe^{ix}=\cos x+i\sin x
Calculator E Scientific notation 4.5E3=45004.5E3=4500

Euler’s constant, the Greek letter gamma, is a separate number from ee, so check which one a problem means. Euler’s formula is the reason ee appears in trigonometry and complex numbers. Set x=πx=\pi and use cos⁡π=−1\cos\pi=-1, sin⁡π=0\sin\pi=0 to get eiπ=−1e^{i\pi}=-1, which rearranges to eiπ+1=0e^{i\pi}+1=0. That identity features 00, 11, π\pi, ii and ee together.

The calculator E is the most common source of confusion for students. On a display, 2.5E−32.5E-3 means 2.5×10−3=0.00252.5\times10^{-3}=0.0025. It does not mean 2.5⋅e−32.5\cdot e^{-3}. To use Euler’s number on a calculator, press the key labeled exe^{x}, or type e1e^{1} to see 2.7182818282.718281828.

Quick check

A calculator displays 4.5E34.5E3. Which number is this?

How to check an answer that contains e

Memorize a few anchors and most wrong answers announce themselves: e≈2.72e\approx2.72, e2≈7.39e^{2}\approx7.39, e3≈20.09e^{3}\approx20.09, e−1≈0.368e^{-1}\approx0.368, and e0.693≈2e^{0.693}\approx2. If you solve ex=20e^{x}=20 and get x≈30x\approx30, the anchors say that e3e^{3} is already 2020, so xx should be near 33.

Next, check the domain. The value of exe^{x} is positive for every real xx, so ex=−4e^{x}=-4 has no solution, and ln⁡\ln only accepts positive inputs. When an equation contains several ln⁡\ln terms, test each candidate in the original equation and reject any that make an argument zero or negative, as in solving logarithmic equations. For the simple case ln⁡x=3\ln x=3, the answer is x=e3≈20.09x=e^{3}\approx20.09.

Finally, cross-check with a second method. The change of base formula gives ln⁡20=log⁡20log⁡e≈1.301030.43429≈2.9957\ln 20=\frac{\log 20}{\log e}\approx\frac{1.30103}{0.43429}\approx2.9957. If your calculator’s ln⁡\ln key agrees, and e2.9957returnsaboute^{2.9957}returns about 20$, the answer holds up.

Practice problems

0 of 5 solved

  1. Simplify ln⁡(e5)\ln\left(e^{5}\right).

  2. Write e4e6\dfrac{e^{4}}{e^{6}} with a positive exponent and estimate its value.

  3. Solve 3e2x−1=263e^{2x}-1=26. Give the exact answer and a decimal.

  4. 20002000 dollars is invested at 3%3\% with continuous compounding for 55 years. Find the final amount.

  5. Solve e2x−5ex+6=0e^{2x}-5e^{x}+6=0.

Common questions

What is e in math?

The letter e stands for Euler's number, a constant of about 2.71828. It is the base of the natural logarithm and the number that appears whenever growth or decay happens continuously.

Why is e approximately 2.718?

It is the value that (1 + 1/n)^n settles toward as n grows without bound, which is what $1 becomes after a year at 100% interest compounded continuously. It is also the sum 1 + 1 + 1/2! + 1/3! + and so on. Both routes give the same number, 2.71828 and a never-ending string of digits.

Is e a rational or irrational number?

It is irrational, so it cannot be written as a fraction, and its decimal never ends or repeats. It is also transcendental, meaning it is not a root of any polynomial with integer coefficients.

What is the difference between e and pi?

Both are irrational constants, but they come from different places. Pi (about 3.14159) comes from circles, while e (about 2.71828) comes from continuous growth and the slope of exponential functions.

Is Euler's number the same as Euler's constant?

No. Euler's number is e, about 2.71828. Euler's constant is the Greek letter gamma, about 0.57722, a different number that appears in number theory and analysis.

What does the E on my calculator mean?

On a calculator display, E means 'times ten to the power of', so 3.2E4 is 32000. It is scientific notation, not Euler's number. The key labeled e^x is the one that uses 2.71828.

Up next