exponentialgrowthcalculator.com

Exponential Equation Solver

Choose which variable to solve for, enter the other three, and watch the logarithm steps update live whenever the unknown is time or the growth rate.

Exponential equation solver

The unknown you want solved
The known value at the start
%
Percent change per period
Elapsed periods, can be fractional
The known value after t periods
Time t 11.91 periods to grow from 1,000 to 2,500 at 8% per period
Growth Factor (1 + r) 1.0800 multiplier applied each period
Step-by-Step Solution
t = ln(x(t) / x0) / ln(1 + r) t = ln(2,500 / 1,000) / ln(1 + 0.08) t = ln(2.5000) / ln(1.0800) t = 0.91629 / 0.07696 t = 11.91

Natural Log Reference Values

ExpressionValue
ln(1.05) 0.04879
ln(1.08) 0.07696
ln(1.10) 0.09531
ln(1.15) 0.13976
ln(2) 0.69315
ln(2.5) 0.91629

What the table shows: the exact two values the centerpiece example divides, ln(2.5) = 0.91629 and ln(1.08) = 0.07696, appear on the last two rows above, so 0.91629 ÷ 0.07696 = 11.91 can be re-derived by hand with nothing more than a calculator's LN button. The other rows cover the growth rates most often typed into the calculator above, so a plausible answer can be sanity-checked before trusting the live result.

Definition

What Is an Exponential Equation?

An exponential equation is any equation whose unknown sits inside an exponent, or must be isolated from one, rather than appearing as an ordinary multiplied or added term.

In x(t) = x₀(1 + r)t, x(t) and x₀ sit outside the exponent, so solving for either one is ordinary algebra. A single multiplication or division finishes the job. r and t, by contrast, together build the exponent itself: r sets the base (1 + r) and t is the power it's raised to. Isolating either of those two is what actually makes an equation "exponential" in the sense that matters for solving it.

Ordinary algebra genuinely cannot free a variable from an exponent. Take 1,000 × 1.08t = 2,500 and divide both sides by 1,000: that leaves 1.08t = 2.5, and no further amount of dividing, subtracting, or multiplying touches the t still sitting up in the exponent. Every ordinary operation acts on whole terms, and an exponent is not a term. It's an instruction attached to one.

A logarithm is the one operation built for exactly this job: it is defined as the inverse of exponentiation, so applying it to both sides of 1.08t = 2.5 brings t down to ground level where ordinary division can finally isolate it. That single move is the entire reason logarithms exist in a growth-formula context, and it's the move this page walks through with real numbers rather than leaving as an abstract rule.

Anyone who only ever plugs known values forward, x₀, r, and t known, x(t) unknown, never actually needs any of this, which is exactly the case the growth calculator on this site's homepage is built to handle. This page picks up exactly where that direction runs out: whenever the unknown is the exponent's own variable instead of an ordinary term.

Equation

Solving With Logarithms, the Formula

Solving for t or r starts from the same growth equation used everywhere on this site, x(t) = x₀(1 + r)ᵗ, rearranged specifically to put the exponent's own variable by itself. Both rearrangements below route through a natural logarithm; they differ only in what happens after it.

Solving for time
t = ln(x(t) / x0) / ln(1 + r)

Divide the final value by the initial value, take the natural log of that ratio, then divide by the natural log of the growth factor.

Solving for rate
r = eln(x(t) / x0) / t − 1

Take the natural log of the same ratio, divide by t this time instead of by a log, raise e to that result, then subtract 1.

Variables in the exponential equation
SymbolNameWhat it representsExample
x(t)Final valueThe known or target quantity after t periods.2,500
x0Initial valueThe known quantity at t = 0, before any growth.1,000
rGrowth rateThe periodic rate, as a decimal, that connects x₀ to x(t).0.08 (that is 8%)
tTime periodsHow many periods separate x₀ from x(t). Can be fractional.11.91 periods

What the table shows: whichever symbol is missing, the other three plug directly into one of the two boxed formulas above with nothing left to guess. For the complete list of every algebraic rearrangement of this same equation, including the two that need no logarithm at all, see the full rearrangement lookup table.

Method

How to Solve an Exponential Equation Step by Step

To solve an exponential equation for t or r, isolate the exponential term, apply a natural log to both sides, use the power rule of logarithms to bring the exponent down, then divide, or divide first and exponentiate, to finish isolating the unknown.

  1. Isolate the exponential term

    Divide both sides of x(t) = x₀(1 + r)t by x₀, leaving x(t) / x₀ = (1 + r)t with the exponent alone on one side.

  2. Apply the natural log to both sides

    Taking ln of both sides gives ln(x(t) / x₀) = ln((1 + r)t), still balanced, just reshaped.

  3. Use the power rule of logarithms

    The power rule, ln(aᵇ) = b·ln(a), turns ln((1 + r)t) into t·ln(1 + r), converting the hidden exponent into an ordinary multiplied term.

  4. Divide to finish isolating the unknown

    Solving for t, divide both sides by ln(1 + r). Solving for r instead, divide by t first, raise e to that power to undo the ln, then subtract 1.

  5. Check the result

    Substitute the solved value back into the original formula and confirm it reproduces the known x(t). A mismatch means an earlier step went wrong.

Worked example, solving for r from a town's population

A town had 15,000 residents and grew to 21,000 residents over the next 9 years. The rate rearrangement finds the steady annual growth rate that explains the change.

x0
15,000 residents
x(t)
21,000 residents
t
9 years
r = (x(t) / x0)1/t − 1 r = eln(x(t) / x0) / t − 1 r = eln(21,000 / 15,000) / 9 − 1 r = eln(1.4000) / 9 − 1 r = e0.33647 / 9 − 1 r = e0.03739 − 1 r = 1.03809 − 1 = 3.81% per year

Checking the answer by compounding forward confirms it: 15,000 × (1 + 0.038093)9 = 21,000 residents, matching the actual 9-year result.

Base of the Log

Natural Log vs. Common Log, and Why It Doesn't Matter Here

Natural log (ln) uses base e (about 2.71828) and common log (log₁₀) uses base 10, but either one gives the exact same answer when solving for t or r in this equation. The two are both logarithms, the same inverse-of-exponentiation operation, differing only in which base constant they're built around.

The reason the base doesn't matter here comes straight from the change-of-base identity, logb(x) = ln(x) / ln(b). Substituting that into t = logb(x(t)/x₀) / logb(1 + r) gives t = [ln(x(t)/x₀) / ln(b)] / [ln(1 + r) / ln(b)], and the ln(b) in the numerator and denominator cancels, leaving t = ln(x(t)/x₀) / ln(1 + r) exactly as before, with no trace of b remaining. Whatever base is chosen, isolating a ratio of two logs erases it.

This isn't just algebra on paper. It holds to the full precision a calculator can show. Using natural log, ln(2.5) / ln(1.08) = 11.905903537. Using log base 10 on the same numbers, log₁₀(2.5) / log₁₀(1.08) also equals 11.905903537, identical to nine decimal places, because both computations describe the same underlying ratio. The one rule that does matter is consistency: use the same log button for both the numerator and the denominator of a single calculation, never one of each.

For the complete catalog of every way this equation can be rearranged, including the two directions that need no logarithm at all, see the rearrangement lookup page. To evaluate or invert a bare exponential expression like bx directly, without the x₀-and-r growth framing used here, the exponential function reference covers that version. And anyone who only needs to project a known rate forward, rather than solve backward for an unknown one, will find that the fastest route back to this site's exponential growth calculator at the top of the homepage.

Questions

Frequently Asked Questions

Why do you need logarithms to solve for t or r in an exponential equation?

Logarithms are needed because t and r are both trapped inside an exponent, and no ordinary algebra step, such as adding, subtracting, multiplying, or dividing both sides, can pull a variable down out of an exponent. A logarithm is the one operation built specifically to undo exponentiation, which is why every method for isolating t or r runs through one.

Solving for x(t) or x₀ never needs this step, because neither sits inside the exponent, both can be isolated with plain multiplication and division instead.

What does "taking the log of both sides" actually do algebraically?

Taking the log of both sides applies the same function to both sides of a true equation, which keeps it balanced, specifically so the power rule of logarithms, log(ab) = b·log(a), can rewrite a hidden exponent as an ordinary multiplied term. Once the exponent is a multiplier instead of a power, isolating it is just division.

Nothing about the underlying quantities changes; the log step only changes the shape of the equation, from a power into a product.

Does using natural log instead of log base 10 change the answer?

No. Natural log (ln) and log base 10 (log₁₀) always give the identical answer when solving for t or r, because the unknown works out to a ratio of two logs taken in the same base, and that base cancels out of the ratio. ln(2.5) / ln(1.08) and log₁₀(2.5) / log₁₀(1.08) both equal 11.905903537 to every decimal place a calculator can show.

Either function works, as long as the same one is used for both the numerator and the denominator of a single calculation. Mixing the two inside one ratio is the only way this choice can produce a wrong answer.

What is the most common mistake when solving for r or t?

The most common mistake is taking the log of the rate before converting it from a percentage to a decimal. Plugging 8 into ln(1 + r) instead of 0.08 produces ln(9), a number that has nothing to do with this equation. Every step after that inherits the error, so the final answer for t or r comes out completely wrong even though the arithmetic that follows is performed correctly.

The fix is a single habit: divide any percentage rate by 100 before it ever reaches a logarithm.

How long would it take $5,000 growing at 6% per period to reach $8,000?

It takes about 8.07 periods: t = ln(8,000 / 5,000) / ln(1.06) = ln(1.6000) / ln(1.06) = 0.47000 / 0.05827 = 8.07. Since a fraction of a period still has to fully elapse, the balance actually crosses $8,000 partway through the ninth period, not at the end of the eighth.

Entering 5,000, 8,000, and 6% into the calculator above with "t, Time Periods" selected reproduces this exact result, along with every intermediate log value shown here.

Can x(t) or x₀ be solved without using logarithms?

Yes. Solving for x(t) or x₀ never requires a logarithm, because neither variable is trapped inside the exponent. x(t) = x₀ × (1 + r)ᵗ is a direct multiplication once x₀, r, and t are known, and x₀ = x(t) / (1 + r)ᵗ is a direct division once x(t), r, and t are known, both are plain substitution, exactly as the calculator above shows the moment either option is selected.

Logarithms only enter the picture once t or r becomes the unknown instead.

How is this page different from the growth formula reference page?

This page is built around the solving process itself, the exact logarithm steps used to isolate t or r worked out one line at a time, while the growth formula reference lists every rearrangement of the equation in one lookup table without walking through how each is derived. Use the reference page to quickly find a formula already solved for the variable needed; use this page to see, and follow, how that rearrangement is actually reached.

The two pages describe the same equation from opposite ends: one shows the destination, the other shows the route.