An exponential function calculator works out eˣ or any power bˣ, models exponential growth and decay, finds the doubling time and the time to reach a target, and converts between exponential and logarithmic form. Choose the job, enter the numbers and press the button. The formulas follow the Wikipedia pages on the exponential function and exponential growth, and the work is done in your browser. It also covers the e power x calculator, the exponential form calculator and the exponential growth calculator.
How to use the exponential function calculator
- Choose what you want: a power, growth, a doubling time, a time to a target, or the forms.
- Enter the exponent and the base, or the starting amount, the rate and the time.
- Press Calculate.
The exponential function eˣ
The Wikipedia page describes the exponential function as the one function that has the value 1 at 0 and whose derivative is itself. Its value at 1 is the number e, about 2.718. It can be written as the sum of the series 1 + x + x²/2! + x³/3! + …, and as the limit of (1 + x/n) to the power n as n grows. It satisfies e to the power (x + y) equal to eˣ times eʸ, and it is always positive. Leave the base empty to get eˣ; the calculator also adds the first 12 terms of the series so you can see how it converges. For x = 1, they give 2.7182818.
Any base: bˣ
Any positive base b can be handled through e: bˣ equals e to the power x times ln b. Enter a base such as 2 and an exponent such as 10 to get 1,024. The calculator also gives the natural logarithm of the result, which equals the exponent times ln b.
Exponential growth
The page on exponential growth gives several equivalent forms. With a rate per period, the amount after t periods is x₀ times (1 + r) to the power t. In continuous form it is x₀ times e to the power kt, and the two agree when k equals ln(1 + r). The doubling time is ln 2 divided by k. For a starting amount of 100 growing at 5 percent per period for 10 periods, you get 162.889. The doubling time is ln 2 divided by ln 1.05, about 14.21 periods, and the rule of 70 estimate on the page, 70 divided by the rate, gives 14. For continuous growth at k = 1 for one period, an amount of 1 grows to e, and the same growth is a discrete rate of about 171.8 percent.
Doubling time and the time to reach a target
If a quantity doubles every T units, then after time t it is x₀ times 2 to the power t divided by T. The page's example has a doubling every 10 minutes, so after one hour, which is six doublings, an amount of 1 has become 64. To find how long growth takes, solve for t: it is ln of the target divided by the start, over ln of the growth factor. Growing 100 at 5 percent per period to 200 takes 14.2067 periods. If the target lies in the wrong direction for the rate, for example below the start with positive growth, no positive time exists, and the calculator says so.
Exponential form and logarithmic form
Exponential form and logarithmic form say the same thing. The statement that the logarithm of x to base b is y is equivalent to b to the power y being x. Enter the base and either y or x, and the calculator finds the other and writes both forms. With base 2 and y = 3, x is 8; with base 10 and x = 1,000, y is 3.
Uses of the exponential function
Exponential functions describe compound interest, population growth, the spread of an infection, radioactive decay and the charge of a capacitor. A negative rate gives decay. The calculator treats a rate above −100 percent, so a decline of 20 percent per period is entered as −20.
A worked example of decay
A quantity that loses 20 percent of its value in each period is entered with a rate of −20. Starting from 500 and running for 3 periods, the amount is 500 times 0.8 cubed, which is 256. In continuous form the same decay has k equal to ln 0.8, about −0.2231, and the calculator shows this as the continuous rate. Because the rate is negative, there is no doubling time, but you can ask for the time to reach a lower target. Going from 500 to 250 takes ln 0.5 divided by ln 0.8, which is about 3.1 periods, the half-life of this decay.
Why the series matters
The series for eˣ is how many calculators and programs compute it. Each term is the previous term times x divided by the next whole number, so the terms shrink quickly once n is larger than x. With 12 terms the sum is accurate to about nine digits for x = 1 and about six for x = 2. For larger x, more terms are needed, which is why the calculator uses the built-in exponential for its main result and shows the series sum only as a check.
Common mistakes
- Mixing up periods. The rate and the time must use the same period.
- Using the rule of 70 for large rates. It is an estimate that works for small rates.
- Entering a percent as a decimal. Enter 5 for 5 percent.
- Confusing eˣ with xᵉ. In one the variable is the exponent.
- Expecting growth to continue forever. Real quantities level off.
What next
Use this often? Add Exponential to your Home screen.
Frequently asked questions
What is an exponential function calculator?
A tool that evaluates functions such as eˣ and bˣ and models exponential growth and decay, with doubling times and targets.
What is the formula for exponential growth?
x(t) = x₀ × (1 + r)ᵗ per period, or x₀ × e^(kt) in continuous form, with k = ln(1 + r).
How do you find the doubling time?
Divide ln 2 by the continuous rate k, or by ln(1 + r). At 5% per period it is about 14.21 periods; the rule of 70 gives 14.
What is e to the power x?
The exponential function, equal to 1 + x + x²/2! + x³/3! + …. At x = 1 it is e ≈ 2.71828.
How do you write a logarithm in exponential form?
log_b x = y means b^y = x. For example log₂ 8 = 3 means 2³ = 8.
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.