Exponential Function Calculator
You need to compute y = a·bˣ or solve for an unknown exponent. Maybe it’s a compound growth projection, a half-life decay problem, or a continuous compounding scenario with e. An exponential function calculator gives you the result immediately – no manual logarithm lookup, no spreadsheet setup.
This page includes two calculators: one for the general exponential form y = a·bˣ, and another for the natural exponential function y = a·eᵏˣ. Both let you solve for any variable when the others are known.
What Is an Exponential Function?
An exponential function describes a process where a quantity changes by a constant factor over equal increments. Its general form is:
y = a · bˣ
where:
- a – the initial value (when x = 0, y = a)
- b – the base, or growth/decay factor (b > 1 for growth, 0 < b < 1 for decay)
- x – the exponent, often representing time or the number of periods
If the growth is continuous, the natural exponential form is used:
y = a · eᵏˣ
Here e ≈ 2.71828 (Euler’s number) and k is the continuous growth (k > 0) or decay (k < 0) rate per unit of x.
The calculator above works with both forms. It can find y from a, b (or k), and x; or solve for x given a, b, and y using logarithms: x = log(y/a) / log(b).
How to Use the Exponential Growth and Decay Formula
Every exponential calculation boils down to three parameters:
- Identify a. This is your starting quantity – the value when x = 0. For an investment of $1,000, a = 1000. For a bacteria culture of 500 cells, a = 500.
- Determine b. If the quantity grows by 7% per period, b = 1.07. If it shrinks by 20% per period, b = 0.80. For continuous compounding, convert the annual rate r to k: b = eʳ, so k = r.
- Choose x. The number of periods that have passed. For time, x could be years, days, or any other interval.
Plug these into the calculator above and read y. To find how long it takes to reach a target y, switch to the “solve for x” mode – the calculator applies the logarithmic inverse automatically.
Example: Investment Growth
Suppose you invest $5,000 in an account that grows at 6% annually. The balance after 10 years follows y = 5000·1.06¹⁰. Using the exponential function calculator:
- a = 5000
- b = 1.06
- x = 10
Result: y ≈ 8,954.24. That’s your final balance.
Example: Radioactive Decay
A 200-gram sample of a substance loses 15% of its mass every hour. The decay factor is b = 1 – 0.15 = 0.85. After 6 hours, the remaining mass is y = 200·0.85⁶.
- a = 200
- b = 0.85
- x = 6
Result: y ≈ 75.42 grams.
When to Use the Natural Exponential Form (e)
The form y = a·eᵏˣ is more convenient when the process is truly continuous – such as bacterial growth with no discrete generation, continuously compounded interest, or instantaneous cooling. In these cases, k is the instantaneous rate.
- A population that doubles every 8 hours has a continuous growth rate k = ln(2)/8 ≈ 0.0866. The model becomes y = a·e⁰·⁰⁸⁶⁶ᵗ.
- Continuously compounded interest: after t years, A = P·eʳᵗ, where r is the annual rate in decimal form.
The second tab of the calculator accepts a, k, and x to compute y, or solves for k or x if needed.
Finding the Exponent x with Logarithms
Sometimes you know the final amount and the base, but need the time or number of periods. The calculator solves a·bˣ = y for x by applying the change-of-base rule:
x = ln(y/a) / ln(b) = log(y/a) / log(b)
The same logic works with the natural form: if y = a·eᵏˣ, then x = ln(y/a) / k.
A typical question: “How many years will it take for $10,000 to double at 7% annual growth?” Set a = 10000, b = 1.07, y = 20000. The calculator returns x ≈ 10.24 years.
Why an Online Calculator Beats Manual Tables
Before spreadsheets and online tools, exponential values were read from bulky tables or approximated by series. Today an exponential function calculator eliminates:
- Misapplied parentheses and operator precedence errors
- Confusion between log-base-10 and natural logs
- Time lost on iterative guessing for inverse problems
Just enter the three known numbers. The tool evaluates the power term and multiplies instantly, keeping precision up to six decimal places for most inputs.