Built and fact-checked by the DocNectar team — see our editorial standards
Key Features
Instant Calculation
Get accurate results in real time with our optimized algorithm.
Mobile Friendly
Fully responsive design. Works on all devices & screen sizes.
Privacy Focused
Your data stays on your device. We don't store any inputs.
100% Free
No hidden costs. This tool is completely free forever.
An exponential function, f(x) = a·b^x, is fully and uniquely determined by just two parameters: a starting value (a, the function's output when x=0) and a growth or decay factor (b, how much the output multiplies by for each one-unit increase in x). This function shape describes an enormous range of real phenomena: compound interest and investment growth, population growth under unlimited resources, radioactive decay, and the spread of a virus in the early, unconstrained phase of an outbreak — anywhere a quantity's rate of change is proportional to its current size.
How it works
In "evaluate" mode, enter a, b, and x directly, and the calculator computes f(x) = a·b^x by straightforward substitution. In "find parameters" mode, enter two known points (x1, y1) and (x2, y2) that both lie on the curve, and the calculator solves for a and b algebraically: dividing the two function equations, y2/y1 = a·b^x2 / (a·b^x1) = b^(x2−x1), cancels out a entirely, leaving b = (y2/y1)^(1/(x2−x1)) — solvable by taking a root. Once b is known, substituting back into either original equation and solving gives a = y1/b^x1 (or equivalently a = y2/b^x2).
- Enter mode.
- Enter coefficient a (for evaluate mode).
- Enter base b (for evaluate mode).
- Enter x value (for evaluate mode).
- Enter x1 (for find-parameters mode).
- Enter y1 (for find-parameters mode).
- Enter x2 (for find-parameters mode).
- Enter y2 (for find-parameters mode).
- Click Calculate to see your results.
Examples
Find parameters from points (0,2) and (2,18)
b = (18/2)^(1/(2−0)) = 9^(1/2) = 3. Then a = 2/3⁰ = 2/1 = 2. So f(x) = 2·3^x. Checking: f(0)=2·1=2 ✓, f(2)=2·9=18 ✓.
Evaluate f(x) = 5·2^x at x=4
f(4) = 5·2⁴ = 5×16 = 80.
Find parameters from points (1,6) and (3,54)
b = (54/6)^(1/(3−1)) = 9^(1/2) = 3. Then a = 6/3¹ = 2. So f(x) = 2·3^x. Checking: f(1)=2·3=6 ✓, f(3)=2·27=54 ✓.
Who should use it
- Modeling compound growth or decay from two known data points.
- Algebra and pre-calculus coursework on exponential functions.
- Checking a hand-derived exponential model against known data.
Industry applications
- Finance (compound growth modeling)
- Biology and epidemiology (population and infection growth)
- Algebra education
Advantages
- Handles both direct evaluation and solving for unknown parameters from data.
- Shows the underlying algebra, not just the final answer.
Limitations
- "Find parameters" mode requires exactly two valid points with matching-signed, nonzero y-values.
Common mistakes to avoid
- Trying to find parameters from two points with opposite-signed y-values or a y-value of zero, which no exponential function can ever produce.
- Forgetting that dividing the two function equations cancels out a — this is the key algebraic step that makes solving for b possible.
- Confusing the "find parameters" mode's two INPUT points with the function's actual parameters a and b themselves.
Best practices
- Check that both given y-values share the same sign (and neither is zero) before attempting to find parameters — otherwise no valid exponential function exists.
- Verify your solved a and b by substituting both original points back into f(x)=a·b^x and confirming they check out.
- Use the evaluate mode as a quick way to double-check a "find parameters" result at additional x-values.
Tips
- For growth/decay problems phrased in terms of a rate percentage (like "grows 5% per year") rather than a raw multiplier, use the Exponential Growth Calculator instead.