🧮
🧮 Math & statistics

Exponential Function Calculator (find y = a·bˣ through two points)

Results update as you type.

Your numbers

Understanding the exponential function calculator — concept and principle

This calculator finds the exponential function y = a·bˣ that passes through two given points, then evaluates it at any x. It reports the initial value a, the growth factor b, the percent change per unit of x, the continuous rate k, the same curve with base e, and the doubling time or half-life. Use it for algebra problems about growth and decay.

Exponential through two pointsExponential through two points(2, 18)(5, 486)(6, 1,458)b = 27^(1/3)3a = 18 ÷ 3²2Doubling time0.6309f(6) = 2 · 3⁶1,458
Over a gap of 3 the value grew 27-fold, so each step multiplies by 3.

How it is calculated

From y₁ = a·b^(x₁) and y₂ = a·b^(x₂):

b = (y₂ ÷ y₁)^(1/(x₂ − x₁)); a = y₁ ÷ b^(x₁)

Change per unit of x = (b − 1) × 100 %

k = ln b; y = a·e^(kx); doubling time (or half-life) = ln 2 ÷ |k|

The principle

In an exponential function, each step of 1 in x multiplies y by the same factor b. Dividing the two point equations cancels a and leaves only b raised to the gap between the x values; taking the matching root gives b. Once b is known, a follows from either point. a is the value at x = 0, the starting amount, and b > 1 means growth while 0 < b < 1 means decay.

Worked example

Default inputs: points (2, 18) and (5, 486); evaluate at x = 6.

  1. y₂ ÷ y₁ = 486 ÷ 18 = 27, over a gap of 3, so b = 27^(1/3) = 3.
  2. a = 18 ÷ 3² = 2; the function is y = 2 · 3ˣ, growth (b > 1).
  3. f(6) = 2 × 3⁶ = 2 × 729 = 1,458.
  4. Change per unit = (3 − 1) × 100 = 200 %; k = ln 3 = 1.09861, so y = 2 · e^(1.09861x).
  5. Doubling time = ln 2 ÷ ln 3 = 0.6309 units of x.

How to read the result

Here y triples with every unit of x, so it doubles in about 0.63 units. Check the function on both points: 2 × 3² = 18 and 2 × 3⁵ = 486. With real data that only roughly follow an exponential pattern, use exponential regression with more points instead of fitting through two.

Common mistakes

Keep in mind: Two points always define an exponential curve, but that does not prove the data follow one. Check with more observations before predicting.

Frequently asked questions

How do I find an exponential function from two points?

Divide the y values to get b raised to the x gap, take the root, then solve for a.

What does b mean?

The factor by which y is multiplied when x increases by 1.

How do I tell growth from decay?

b > 1 is growth, 0 < b < 1 is decay.

Sources: OpenStax, College Algebra 2e (2021), §6.1 Exponential Functions

Checked 9 Nov 2026. OpenStax, College Algebra 2e (2021), §6.1 Exponential Functions — “Finding Equations of Exponential Functions” (given two data points, substitute both into f(x) = a·bˣ and solve the system for a and b; a ≠ 0, b > 0, b ≠ 1).

🧮 All math & statistics tools →🌍 Calculators by country →