Exponential Function Calculator

Evaluate an exponential function f(x) = a·b^x, then see its growth or decay rate, doubling time or half-life, and y-intercept.

Quick Facts

General form
f(x) = a · b^x
Requires a ≠ 0, b > 0, and b ≠ 1.
y-intercept
f(0) = a
Every exponential function passes through (0, a).
Growth vs. decay
b > 1 grows, 0 < b < 1 decays
The rate per unit x is (b − 1) × 100%.

Your Results

Calculated
f(x) = a·b^x
-
Function value at your chosen x
Growth / Decay Rate
-
(b − 1) × 100%, per unit x
Doubling Time / Half-life
-
ln(2)/ln(b) or ln(0.5)/ln(b)
Function Type
-
Growth, decay, or constant

Ready

Enter a, b, and x, then press Calculate.

Formula and Method for the Exponential Function Calculator

An exponential function has the form f(x) = a · bx, where a is the coefficient (also the function's value at x = 0), b is the base (b > 0 and b ≠ 1), and x is the exponent you are evaluating at. This calculator plugs your a, b, and x into that formula, then derives the growth or decay rate, the doubling time or half-life, and identifies whether the function is growing, decaying, or constant.

How the calculation works

The calculator first raises the base to the exponent, bx, and multiplies by the coefficient a to get f(x). It then computes the per-unit growth or decay rate as (b − 1) × 100%: a base above 1 means the function increases by that percentage every time x increases by 1, while a base between 0 and 1 means it decreases by that percentage. Finally, it finds how long it takes the function to double (for b > 1) using t = ln(2) / ln(b), or to fall to half its value (for 0 < b < 1) using t = ln(0.5) / ln(b) — both derived by solving bt = 2 or bt = 0.5 for t with logarithms.

Common mistakes

  • Using a non-positive base: b must be greater than 0. Negative bases (like (-2)^x) produce complex numbers for many exponents, so they fall outside the standard exponential function.
  • Confusing the coefficient with the base: a scales the whole curve and sets the y-intercept; b controls how fast it grows or decays. Swapping them changes the shape entirely.
  • Treating b = 1 as growth or decay: when b = 1, f(x) = a for every x — it's a constant function with a 0% rate and no doubling time or half-life.

Real-world applications

  • Compound interest and investment growth: A = P(1 + r)^t follows the same a·b^x structure, with a = P and b = 1 + r.
  • Population growth and radioactive or drug decay both follow f(x) = a·b^x, with doubling time or half-life describing how fast the quantity changes.
  • Bacterial culture growth, viral spread models, and depreciation of assets all use the exponential form to project future values from a starting amount and a fixed per-period rate.

Frequently Asked Questions

What is the general form of an exponential function?
An exponential function has the form f(x) = a·b^x, where a is the initial value (the value at x = 0), b is the base (b > 0 and b ≠ 1), and x is the exponent. If b > 1 the function grows; if 0 < b < 1 it decays.
How do you find the growth or decay rate of an exponential function?
Subtract 1 from the base and convert to a percentage: rate = (b − 1) × 100%. A base of 1.05 is 5% growth per unit x; a base of 0.90 is a 10% decay per unit x.
How do you find the doubling time or half-life of an exponential function?
For growth (b > 1), doubling time is ln(2) / ln(b). For decay (0 < b < 1), half-life is ln(0.5) / ln(b). Both are measured in the same units as x.
Why must the base b be positive and not equal to 1?
If b ≤ 0, b^x is undefined or complex for many real values of x (for example, (-2)^0.5). If b = 1, the function collapses to the constant f(x) = a with no growth or decay, so it is excluded from the standard exponential form.