Exponential Function Calculator

Graph an exponential function y = a·bx − h + k and see whether it shows growth or decay, its horizontal asymptote, intercepts and domain and range — or find the exponential function that passes through two points.

Exponential function

How the Exponential Function Calculator works

  1. Enter. Through (0, 3) and (2, 12)
  2. Graph. The tool samples the function in your browser and draws it without connecting across breaks.
  3. Read the result. y = 3 · 2ˣ; Growth factor b = 2 (doubles each step); Horizontal asymptote y = 0.
Exponential curve y = 3 times 2 to the x through (0, 3) and (2, 12) with horizontal asymptote y = 0.
Example: what you enter, the graph the exponential function calculator draws, and the results it reports.

Examples to load

What each parameter does

ParameterEffect on y = a·bx − h + k
b (base)b > 1: growth; 0 < b < 1: decay. The value is multiplied by b each time x increases by 1.
aVertical stretch. If a < 0 the graph is reflected over the asymptote.
hShifts the graph right by h (left if h is negative).
kShifts the graph up by k and moves the horizontal asymptote to y = k.

Worked example: through (0, 3) and (2, 12)

Write y = a·bˣ. The first point gives 3 = a·b⁰ = a, so a = 3. The second gives 12 = 3·b², so b² = 4 and b = 2 (b must be positive). The function is y = 3·2ˣ: it starts at 3 and doubles for every step of 1 in x, approaching but never touching y = 0 on the left.

Common mistakes

  • Treating a·bˣ as (a·b)ˣ. The exponent applies only to b: 3·2² = 12, not 36.
  • Moving the asymptote with h. A horizontal shift does not change the asymptote; only k does.
  • Expecting an x-intercept. y = a·bˣ never crosses y = 0 unless the graph is shifted down (k ≠ 0).

Guides: graphing exponential functions, growth and decay and function transformations.

Questions

How can I tell growth from decay?

Look at the base b in a·bˣ. If b > 1 the function grows; if 0 < b < 1 it decays. A negative a reflects the graph over its horizontal asymptote, which turns growth into a decreasing curve.

Why must b be positive and not 1?

For b ≤ 0, values like (−2)^(1/2) are not real, so the graph would have gaps. For b = 1, 1ˣ = 1 for every x, which is a constant, not an exponential.

Where is the horizontal asymptote?

At y = k for y = a·b^(x − h) + k. The curve approaches it but never reaches it.

How do I find an exponential function from two points?

Switch the mode to “Through two points”. With y = a·bˣ, divide the two equations to get b = (y₂ ⁄ y₁)^(1 ⁄ (x₂ − x₁)), then a = y₁ ⁄ b^(x₁).

Guides that use this calculator

Functions

How to Graph Logarithmic Functions

Graph y = log_b(x) and its transformations: domain, vertical asymptote, key points (1, 0) and (b, 1), and how the log graph mirrors the exponential.

2 min read·

Related calculators

Graphing Calculator

Plot several functions, points and inequalities; find roots, intersections and turning points.