exExponentialGrowthCalculator

Exponential Equation Solver

An exponential equation solver rearranges x(t) = x₀ × (1 + r)^t to isolate whichever of the four variables, initial value, rate, time or final value, is unknown, given the other three. Pick the unknown, fill in the remaining sliders, and the tool computes the fourth value instantly with the algebra shown.

Solve for any variable

Solve for
x(t)
1,628.8946
Calculation steps
x(t) = 1,000 × (1 + 0.0500)^10 = 1,628.894627

The four-variable exponential equation

x(t) = x₀ × (1 + r)^t links four variables: a starting amount, a per-period rate, an elapsed time, and an ending amount. Algebra rearranges the equation to isolate any single unknown, provided the other three are known. The toggle above lets you pick which one to solve for; the other three sliders become the inputs.

Rearranging with logarithms

Isolating t or r requires a logarithm, because the unknown sits in the exponent. Dividing both sides by x₀ gives x(t) / x₀ = (1 + r)^t; taking ln of both sides brings the exponent down as a multiplier, ln(x(t) / x₀) = t × ln(1 + r); as a result, every time or rate solution involves a ratio of two logarithms. See the exponential function page for more on how logarithms invert exponentials in general.

Worked examples

Solve for time: starting with $1,000, target $5,000 at 8% per year. t = ln(5) / ln(1.08) = 20.91 years.

Solve for rate: from 50,000 to 200,000 in 14 years. r = (4)^(1/14) − 1 = 10.40% per year.

Solve for initial: to have $1,000,000 in 30 years at 7%, start with 1,000,000 / 1.07^30 = $131,367.

Solve for rate, decay case: an inventory of 10,000 units shrinks to 4,000 over 6 years. r = (0.4)^(1/6) − 1 = −14.16% per year, a negative rate confirming decline rather than growth.

Solving backward: reconstructing a starting point

Backward-solved time is not just a curiosity; it is how forensic and historical estimates work. Suppose a bacterial sample now contains 3,200,000 cells and is known to double every 30 minutes, similar to the assumptions on the bacterial growth calculator. If the culture started from 50,000 cells, the ratio 3,200,000 / 50,000 = 64 = 2⁶ means exactly 6 doublings occurred, so contamination began 6 × 30 minutes = 180 minutes, or 3 hours, before the sample was taken.

Which variable people usually solve for

Most exponential-equation questions fall into three buckets. Savers solve for initial value x₀: how much to deposit now, as on the savings calculator, to reach a target balance later. Analysts solve for time t: how long until a metric such as population crosses a threshold, for example a city of 500,000 growing at 2.5% a year reaches 1,000,000 in t = ln(2) / ln(1.025) ≈ 28.07 years. Scientists solve for rate r when they only have two observations and need the growth rate connecting them.

Checking an answer by substitution

Substituting the solved value back into the original equation catches most mistakes before they matter. For the rate example above, r = 10.40% and t = 14 give x(t) = 50,000 × 1.1040^14 = 199,773, close enough to the target of 200,000 that the small gap is only rounding in the displayed rate; the unrounded rate of 10.4090% reproduces 200,000 exactly. If substitution produces a result far from the known value, the error is usually a misplaced exponent, such as using 1/(t − 1) instead of 1/t, or forgetting to convert a percentage to a decimal before raising it to a power.

FAQ

What is an exponential equation?

An exponential equation is x(t) = x₀ × (1 + r)^t, linking an initial value x₀, a growth rate r, elapsed time t, and a final value x(t). Any three of the four determine the last one uniquely. For example, $2,000 growing at 6% for 15 years reaches x(t) = 2,000 × 1.06^15 = $4,793.12, found simply by plugging the known three into the equation.

How do I solve for time t?

Take the natural logarithm of both sides and divide: t = ln(x(t) / x₀) / ln(1 + r). With x₀ = 100, x(t) = 200 and r = 5%, t = ln(2) / ln(1.05) ≈ 14.21 periods. The same method works for any ratio; doubling always uses ln(2), tripling uses ln(3), and so on.

How do I solve for rate r?

Rearrange the equation to r = (x(t) / x₀)^(1/t) − 1, the same geometric-mean formula used for CAGR. Growing from $1,000 to $1,800 over 12 years gives r = (1.8)^(1/12) − 1 = 5.02% per year. The exponent is 1/t, not 1/(t − 1), a common source of off-by-one mistakes.

How do I solve for initial value x₀?

Divide both sides by (1 + r)^t: x₀ = x(t) / (1 + r)^t. To reach $50,000 in 20 years at 7% growth, start with x₀ = 50,000 / 1.07^20 = $12,920.95 today. Waiting five extra years to start, needing to hit that $50,000 target in 15 years instead of 20, raises the required initial deposit from $12,920.95 to about $18,122, an increase of roughly 40%, because compounding has less time to work.

Can time be negative?

Yes, plugging in a negative t projects the equation backwards instead of forwards. If a quantity is 1,000 today and has been growing at 5% per year, its value 10 years ago was 1,000 / 1.05^10 = 613.91. Only the sign of t changes; the same equation runs in either direction from a single known point.

What if my equation has multiple unknowns?

An exponential equation has four variables: x₀, r, t and x(t). With only two known, infinitely many valid combinations of the other two exist, so it cannot be solved uniquely. You need at least three of the four fixed. This calculator enforces that rule by locking three inputs and computing only the fourth.

Related calculators

Exponential Growth
Forward direction with table and chart.
Exponential Function
Pure b^x evaluator.
Exponential Regression
Fit when you have many data points.
Growth Rate
Solve r between two observations.