Skip to content
LoveToCalc

Definition — what does that mean?

Exponential equation

An equation with the unknown in the exponent. The logarithm is what brings it down.

In Swedish: Exponentialekvation

Exponential equation

The relation

ax=b

An equation with the unknown in the exponent. The logarithm is what brings it down, and the base of the logarithm makes no difference to the answer.

Solve for
Solved for x

x=ln(b)ln(a)

Show how the formula is rearranged
  1. ax=b
  2. Take the natural logarithm of both sides. A power becomes a product, so the exponent comes down as a factor.

    x ln(a)=ln(b)

  3. Divide both sides by ln(a).

    x=ln(b)ln(a)

x=5

x equals the natural logarithm of (32) divided by the natural logarithm of (2), is approximately 3.4657 divided by 0.6931, equals 5

Working3 steps

Practice questions

You are given

  • a=10
  • x=4

The equation and its solution

Holds when a > 0, a ≠ 1 and b > 0.

The unknown sits in the exponent, and the four operations cannot get it out of there. Dividing by a does not help; taking a root does not help. The logarithm does it: it turns a power into a product, so the exponent comes down as a factor.

Solve 3ˣ = 81: log 81 / log 3 = 4. Check it: 3⁴ = 3 · 3 · 3 · 3 = 81. ✓

The method in two steps:

The base of the logarithm makes no difference

log (base 10) and ln (base e) give the same answer, and that is not a coincidence. The answer is a quotient of two logarithms, and changing base multiplies both of them by the same number, which then cancels.

Worked with Arithmetic Answer
log 1.9085 / 0.4771 4
ln 4.3944 / 1.0986 4

Use whichever key your calculator has. The only rule is to use the same logarithm top and bottom.

When there is a coefficient in front

C · aˣ = b takes two steps: divide the C away first, then solve what is left.

Solve 500 · 1.05ˣ = 1,000: divide by 500 and you have 1.05ˣ = 2, so x = log 2 / log 1.05 ≈ 14.2.

That is the same arithmetic as exponential growth solved for the number of steps, and the same as doubling time when the right-hand side is twice the starting value.

Sometimes no logarithm is needed

If both sides can be written as powers of the same base, compare the exponents directly:

That is quicker, exact, and usually what an exam expects. The logarithm is needed when the right-hand side cannot be written as a power of the same base.

Common mistakes

Common questions

What happens if the base is 1? 1ˣ is 1 for every x, so 1ˣ = b has either infinitely many solutions (if b = 1) or none at all. That is why the formula requires a base other than 1: log 1 is 0, and dividing by zero is not allowed.

Can the right-hand side be negative? Not with a positive base. aˣ is always positive when a is positive, however large or small the exponent. 2ˣ = −8 has no solution — 2⁻³ is 1/8, not −8.

What is x when the right-hand side is 1? Zero, whatever the base. log 1 is 0, and 0 divided by log a is 0. That agrees with any positive base to the power of 0 being 1.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
ab1x32152
xln(b)ln(a)ln(32)ln(2)5
bax2532

Last reviewed October 6, 2026 ·How pages are reviewed

Calculate it in practice

Ready-made worksheets with this formula

Sheets that ask this formula, with their answer keys. Open one to see the questions or print it.

High school

Exponential changeAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.