Exponential Equation Calculator

THE SOLUTION
Type the equation with x in the exponent.
The bases, the working, and the proof
Your equation
Use ^ for the power and brackets round anything longer than one symbol: 2^(3x-1) = 16. A number in front is fine (5*2^x = 40) and so is a number added on (2^x + 3 = 11). Fractional bases work too, written (1/2)^x = 8. For e as the base, tap the keyboard button above the pad and type it yourself.
Whenever both sides can be written as powers of the same number, the answer is an exact fraction. When they cannot, the answer is a logarithm and no decimal is the true value of it. This page says which of the two happened.
Tap a box, then use the keys
A positive base raised to any power stays positive, so 2^x = 0 and 2^x = −8 have no solution at all. That is a complete answer, and this page proves it rather than just saying it.
How the equation is solved

This exponential equation calculator solves for x when the unknown sits in the exponent, and tells you which of two very different answers you have: an exact one, or a logarithm.

Type 2^(3x − 1) = 16 and you get x = 5/3. Exact, because 16 is a power of 2.

Try the Same Base Before You Reach for Logs

Symbolab's own instructions for this topic begin: take the logarithm of both sides. That is not how any syllabus teaches it, and it throws away the exact answer.

Look at 2ˣ = 16. Sixteen is 2⁴. Write it that way and both sides are powers of 2, so the exponents must be equal and x = 4. No logarithm, no decimal, nothing to round.

It reaches further than most people expect. 9ˣ = 27 looks awkward until you notice both are powers of 3: (3²)ˣ = 3³, so 2x = 3 and x = 3/2. A fraction can be the base too — (1/2)ˣ = 8 is 2⁻ˣ = 2³, giving x = −3.

When the Bases Genuinely Cannot Meet

2ˣ = 10 is a different animal. Ten is not a power of two and never will be, so no rewriting will help.

Now a logarithm is not a shortcut, it is the only route. Take logs of both sides, bring the exponent down, and x = log₂10 ≈ 3.3219.

And here is the part worth being careful about: 3.3219 is not the answer. It is a reading of the answer to four places. The answer is log₂10, and if the question continues for another two lines, rounding here is where the accuracy goes. This page says which of the two situations you are in rather than handing you a decimal either way.

EquationShared base?Answer
2ˣ = 16 yes, both powers of 2 x = 4
9ˣ = 27 yes, both powers of 3 x = 3/2
2ˣ = 10 no x = log₂10
2ˣ = −8 no solution

Some of These Have No Answer at All

2ˣ = −8 has no solution. Neither does 2ˣ = 0.

The reason is worth holding on to, because it settles a whole family of questions at a glance. A positive base raised to any power stays positive. Push the exponent up and the value grows without limit; push it far down and it shrinks towards zero — but it never arrives, and it never crosses over.

So an exponential can equal 0.000001, and it can equal a million, and it can never equal zero or anything below. Write "no solution" and move on — it is a complete answer and it earns the mark.

A Claim Several Sites Get Wrong

One calculator site states, twice on the same page, that exponential equations can have negative bases.

They cannot. Take (−2)ˣ and put x = 1/2: that is the square root of −2, which is not a real number. The function has holes everywhere the exponent is a fraction with an even denominator, so it is not an exponential function at all. Every syllabus defines the base as positive and not equal to 1.

Which raises the other excluded case. Why not 1? Because 1ˣ = 1 whatever x is, so 1ˣ = 1 is true for every number and 1ˣ = 5 is true for none. Neither is an equation you can solve, which is exactly why the definition rules it out.

Getting the Power on Its Own First

Real questions rarely arrive bare. 5 · 2ˣ = 40 and 2ˣ + 3 = 11 both need one tidying step before any of the above applies.

Take the added number off first, then divide by whatever multiplies the power. 2ˣ + 3 = 11 becomes 2ˣ = 8, and now the same-base method finishes it in one line: x = 3.

Doing this in the wrong order is where more marks go than anywhere else in this topic. Taking a logarithm of 2ˣ + 3 gets you nowhere at all, because log(a + b) is not log a + log b — that step does not exist, however much it looks like it should.

Where These Turn Up Outside a Textbook

Every question about something growing or shrinking by a fixed proportion ends up here.

Money in an account at 6% a year doubles when 1.06ⁿ = 2. Nobody can rewrite 2 as a power of 1.06, so that one needs a logarithm and the answer is about 11.9 years. A radioactive sample halves when (1/2)^(t/T) = 1/2, and that one is exact: t = T, the half-life itself, no logarithm required.

The two situations sit side by side in the same chapter, which is why knowing which you have matters more than knowing either method.

How to Use This Exponential Equation Calculator

Write the power with ^ and put brackets round any exponent longer than one symbol: 2^(3x - 1) = 16. A coefficient in front is fine, so is a number added on, and a fraction can be the base if you bracket it: (1/2)^x = 8. The letter e works as the natural base.

If your unknown is on the line rather than above it, that is a linear equation. If the logarithm is the thing being solved for rather than the tool, you want logarithmic equations. And for equations like 4ˣ − 5·2ˣ + 4 = 0, substitute u = 2ˣ first and the whole thing becomes a quadratic.

Exponential Equation Calculator FAQ

How do you solve an exponential equation?
Try to write both sides as powers of the same number first. If that works, the exponents must be equal and you are left with ordinary algebra. Only when no shared base exists do you take a logarithm of both sides.
When do you need logarithms for an exponential equation?
Only when the two sides cannot be written over a common base. 2ˣ = 16 needs no logarithm because 16 is 2⁴. 2ˣ = 10 does, because 10 is not a power of 2.
Can an exponential equation have no solution?
Yes. 2ˣ = −8 has none, and neither does 2ˣ = 0. A positive base raised to any power is always positive, so it can never reach zero or go below it.
Can the base of an exponential be negative?
No. (−2) raised to a half would be the square root of a negative number, which is not real, so exponentials are defined only for positive bases. Some calculator sites state the opposite and they are mistaken.
What is the answer to 2^(3x − 1) = 16?
x = 5/3. Since 16 is 2⁴, the exponents can be set equal: 3x − 1 = 4, so 3x = 5. The answer is a fraction and should be left as one.
Why is the base 1 not allowed?
Because 1 raised to any power is still 1, so the equation either holds for every number or for none. There is nothing to solve, which is why the definition of an exponential function excludes it.
How do I solve an equation with e in it?
The same way, using the natural logarithm. For eˣ = 5, take ln of both sides and x = ln 5. The natural log is the inverse of the exponential with base e.
What about equations like 4ˣ − 5·2ˣ + 4 = 0?
Those are solved by substitution. Let u = 2ˣ, and since 4ˣ is u², the equation becomes a quadratic in u. Solve that, then solve each exponential separately.

Hunt for the shared base first. Only reach for a logarithm when there genuinely is not one.