Exponential Equation Calculator
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.
| Equation | Shared 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?
When do you need logarithms for an exponential equation?
Can an exponential equation have no solution?
Can the base of an exponential be negative?
What is the answer to 2^(3x − 1) = 16?
Why is the base 1 not allowed?
How do I solve an equation with e in it?
What about equations like 4ˣ − 5·2ˣ + 4 = 0?
Hunt for the shared base first. Only reach for a logarithm when there genuinely is not one.