This base exponent calculator solves a specific inverse problem. Enter an integer base and a target integer to find out whether the target can be written as that base raised to a whole-number exponent. When an exact exponent exists, the calculator gives it and displays the equality. When one does not exist, the result shows what went wrong, such as a target between consecutive powers or a mismatch in sign.
Identify the unknown in a power
In the expression 4⁵, the 4 is the base and the 5 is the exponent. Evaluating the expression yields 1,024. This tool reverses those roles in the question. You enter the known base and result, and the tool looks for the exponent. Use an integer base whose magnitude is two or greater. That includes examples such as 2, 11, −3 and −10.
A whole-number exponent here includes zero. For each supported base, exponent zero produces one. Higher exponents build by repeatedly multiplying by the base. The absolute values increase because the magnitude of the base exceeds one. That strict growth gives at most one exponent whose power has the target magnitude. With a negative base, the signs alternate and the magnitude result needs one more test.
The targets may be positive, negative or zero. A nonzero base with a nonnegative exponent never yields zero. A negative target can only arise from a negative base with an odd exponent. A positive base always gives a positive power for every exponent in the search.
Worked example with a negative base
Use −4 for the base and −1,024 for the target. Beginning with zero, the powers are 1, −4, 16, −64, 256 and −1,024. Their exponents are 0 through 5. The fifth power hits the entered value exactly, so the page shows 5 exact exponent and displays the signed equality.
Now leave the base at −4 and change the target to positive 1,024. The magnitude check still lands on exponent 5. Since the exponent is odd, five negative factors produce a negative value. The equation fails by sign. There is no other nonnegative integer exponent with that same magnitude.
Compare this with target 800 and base 4. The fourth power has magnitude 256 and the fifth has magnitude 1,024. The calculator brackets 800 between them. An exponent that lies between four and five could be part of a different, real-valued logarithm problem with a positive base, but there is no whole-number solution for the equation in this tool.
See how the search keeps integers exact
The calculator starts with magnitude one and exponent zero. While the magnitude is less than the target's magnitude it multiplies by the absolute base and advances the exponent by one. The last smaller power stays available for the bracketing message. The search ends when equality is reached or the running magnitude passes the target.
This uses integer arithmetic, so a value close to a power does not become a match through rounding. For example, 10²⁰ is outside the allowed target size, while 10¹² is right at the supported maximum magnitude. A target of 999,999,999,999 sits just below 10¹². The check keeps those two quantities distinct.
Working with magnitudes first also makes the negative-base search orderly. The signed sequence for −2 alternates across zero and cannot simply be scanned as if all its values were rising in ordinary numerical order. Its magnitudes follow 1, 2, 4, 8 and so forth, which means the same stopping rule applies to either base sign.
The textbook OpenStax chapter on exponent properties provides supporting rules for whole powers, zero exponents and other exponent forms. Keep parentheses around a negative base when writing the exact equation. That makes clear which quantity is multiplied as a factor.
Frequently asked questions
Why are zero, one and negative one excluded as bases?
Their powers repeat values or require special handling. For example, one raised to every whole-number exponent gives one. Negative one gives the same positive value for all even exponents. The calculator focuses on bases where each exponent has its own magnitude.
Can I find a negative exponent from a fraction?
This tool accepts integer targets and searches zero or positive integer exponents. For a base with magnitude above one, a negative exponent gives a reciprocal whose absolute value is less than one. That kind of input belongs in a rational power calculation.
What does an exact exponent of zero mean?
It means your target is one. In this domain, with a nonzero base, the value of the zero power is one. Try base −7 with target 1 to see the result.
Will the sign printed in the bracket change for a negative base?
The two displayed endpoints are power magnitudes. For a negative base, apply the sign using the parity of each exponent. Even exponents give positive powers and odd exponents give negative powers.
How can I check a small result manually?
Multiply the base by itself the number of times shown, or start with one when reproducing the calculator's steps. With base 3 and exponent 4, the factors produce 3, 9, 27 and 81 in order.