Written and reviewed byMuhammad ShahidHow we verify calculations
Exponential Equation Solver: Solve With Steps or Logarithms
Enter an equation like 2^x = 32 and see whether it resolves by matching bases, factoring same-base powers, or taking logarithms. Exact answers when they exist, decimal approximations when they do not.
How to use the exponential equation solver
- Type your equation in the box, for example
2^x = 32. - Press Solve or hit Enter.
- Read the answer, then the steps: rewrite, factor, or logarithm, whichever applied.
The variable belongs in the exponent and the base stays a positive number other than 1: 2^x = 32, 3^(2x+1) = 81, e^x = 20, and mixed-base rewrites like 4^x = 2^(x+3).
What is an exponential equation?
An exponential equation is one where the unknown appears in an exponent: 2 raised to the x, 3 raised to the 2x + 1, and so on. A linear equation like 2x + 3 = 7 keeps the variable on the ground, where multiplication undoes it. Once the variable is upstairs, the operation to undo is exponentiation itself, and only two tools do that: writing both sides with the same base, or taking logarithms.
Worked examples, solved step by step
These cover every pattern the solver handles. Type any of them into the box above and it runs the same steps live.
Same base on both sides
2^x = 32
Isolate the power, then rewrite the number as a power of 2.
32 = 2^5, so x = 5
x = 5
Multiplier in front
5*2^x = 40
Divide both sides by 5 first.
2^x = 8
8 is a power of 2.
8 = 2^3, so x = 3
x = 3
Linear exponent
3^(2x+1) = 81
Rewrite 81 as a power of 3.
81 = 3^4, so 2x + 1 = 4
Solve the linear equation that remains.
2x = 3
x = 1.5
Sum of the same base
2^(x+1) + 2^x = 24
Factor out 2^x: 2^(x+1) is 2 * 2^x.
3 * 2^x = 24
Divide by 3.
2^x = 8
8 = 2^3.
8 = 2^3, so x = 3
x = 3
Different bases, same after rewriting
4^x = 2^(x+3)
4 is 2 squared, so 4^x becomes 2^(2x).
Rewrite every power with base 2
Both sides now share base 2.
2^(2x) = 2^(x + 3)
Set the exponents equal.
2x = x + 3
x = 3
Logarithm case
e^x = 20
20 is not a clean power of e, so take the natural log.
x = ln(20)
Evaluate.
x โ 2.995732
x โ 2.995732
Four methods, chosen by the shape of the equation
Match the bases
If both sides are powers of the same number, the exponents must be equal. 2^x = 32 becomes 2^x = 2^5, so x = 5. When the written bases differ but share a root, rewrite first: 4^x is 2^(2x), and 8^(x-1) can be written with base 2 as well.
Isolate the power, then take logs
When the other side is not a clean power, isolate the exponential term and take logarithms of both sides. 2^x = 10 gives x = ln(10)/ln(2) โ 3.321928. Any base works in the ratio: ln(x)/ln(2) equals log base 2 of x.
Factor sums of the same base
In 2^(x+1) + 2^x = 24, both terms share base 2. Pull out the smaller power: 2^x(2 + 1) = 24, so 3 * 2^x = 24, then solve 2^x = 8 for x = 3. This works whenever the exponent parts differ by a constant.
Let constants cancel
Equations like 8.9 = 5^(x-3) + 2 first move the constants: 5^(x-3) = 6.9. The power is alone, so logs finish the job: x - 3 = ln(6.9)/ln(5), giving x โ 4.240229.
No solution and infinitely many solutions
A positive base raised to any power is always greater than zero, so an equation that asks for 2^x = -5 has no solution. The same holds when the powers cancel and leave a false number statement: 2^x + 1 = 2^x + 5 reduces to 1 = 5. When the leftover is a true statement, like 2^x = 2^x, every value of x works. The solver reports all three outcomes on its own.
Common mistakes
Rewriting 4^x as 2 times 2^x
4^x = (2^2)^x = 2^(2x), not 2 * 2^x. The square applies to the exponent, not as a factor in front.
Adding Powers That Do Not Combine
2^x + 3^x stays as it is. Only the same base with compatible exponents factors: 2^x + 2^x = 2 * 2^x = 2^(x+1).
Splitting the Log of a Sum
ln(2^x + 3) is not ln(2^x) + ln(3). Log rules break products and quotients apart, never sums. Isolate the single power before taking any log.
Simplifying ln(x)/ln(2) to ln(x/2)
The ratio of logs is a change of base, not a quotient of the inside: ln(10)/ln(2) โ 3.321928, while ln(10/2) = ln(5) โ 1.609438.
Missing the Always-Positive Rule
2^x is positive for every x, so 2^x = -5 is impossible rather than tricky. Any negative or zero target means no solution.
What this solver handles and what it hands off
Sums of different bases
2^x + 3^x = 12 has no closed-form solution; those need numerical methods. Same-base sums like 2^(x+1) + 2^x = 24 work fine.
Variable bases
xยฒ = 4 puts the variable in the base instead of the exponent. That is a quadratic problem: the Quadratic Solver takes the coefficients and returns the roots.
No exponent at all
When the variable never appears in an exponent, you have a linear equation. The Equation Solver covers those, with 30 practice problems in the linear equation examples list.
Frequently Asked Questions About Exponential Equations
What is an exponential equation?
An equation where the unknown sits in the exponent: 2^x = 32, 3^(2x+1) = 81, or e^x = 20. Linear equations keep the variable on the ground (2x + 3 = 7); exponential equations put it upstairs, which is why they need different tools: matching bases or logarithms.
How do you solve an exponential equation with the same base?
Rewrite both sides with one base, then set the exponents equal. In 2^x = 32, rewrite 32 as 2^5 and read x = 5 directly. In 4^x = 2^(x+3), rewrite 4^x as 2^(2x), then 2x = x + 3 gives x = 3.
When do you use logarithms to solve?
When the number on the other side is not a clean power of the base. For 2^x = 10, no integer power of 2 gives 10, so take logs: x = ln(10)/ln(2) โ 3.321928. The solver shows that log step and prints the decimal solution.
What does it mean when an exponential equation has no solution?
A power with a positive base is always greater than zero, so 2^x = -5 has no solution. If the powers cancel and leave a false statement, like 1 = 5 in 2^x + 1 = 2^x + 5, there is no solution either. If they cancel to a true statement, every value works.
Can it solve 2^x + 3^x = 12?
No. Sums of different bases have no closed-form solution and need numerical methods. Sums of the same base do work: 2^(x+1) + 2^x = 24 factors to 3 times 2^x = 24, then 2^x = 8 and x = 3.
What about x squared or other variable bases?
A variable base, like x^2 = 4, is a quadratic problem in disguise. Use the Quadratic Solver for axยฒ + bx + c = 0. This tool keeps the base numeric: 2, 5, 10, e, or any positive number other than 1.
How do I check my exponential solution?
Substitute the answer back and evaluate both sides. For x = 3 in 4^x = 2^(x+3): the left side is 4ยณ = 64 and the right side is 2โถ = 64. The solver runs this check automatically and prints the matching value under every answer.
Exponential Equation Solver Pros & Cons
Pros
- Exact answers when the target is a clean power
- Logarithm steps with decimal approximations otherwise
- Same-base sums, multipliers, and constants handled
- e^x support and automatic substitution checks
- Free, with no sign-up or email
Cons
- No graphing visualization
- Sums of different bases are out of scope
- Variable bases belong to the Quadratic Solver

Reviewed by Muhammad Shahid
Writer & Calculator ReviewerWrites and reviews calculator content across marketing, finance, health, and math at GM Calculator.
Last reviewed: November 4, 2026