Exponential Functions

Each time x increases by 1, y is multiplied by b.

y = a · bˣ

With b > 1 it grows faster and faster (exponential growth); with 0 < b < 1 it decays toward 0.

a is the value at x = 0.

Calculator

Change a value and the result and picture update instantly.

Result

y32

Animated picture

The picture follows your values. Some points and shapes can be dragged.

Use in game development

Upgrade costs that rise 15% each level, or volume and brightness fades, use exponential curves.

Code example (JavaScript)

const cost = baseCost * Math.pow(1.15, level); // upgrade price

What the symbols mean

SymbolMeaning
aStart value a
bBase b
xx
yy

More formulas in this category

Frequently asked questions

What is the formula for Exponential Functions?
The formula for Exponential Functions is y = a · bˣ. Each time x increases by 1, y is multiplied by b.

Math Formula Quiz Numbers, Algebra & Functions

Sources

Checked: 2026-11-29