An exponent tells you how many times a number is multiplied by itself: means ten 2s multiplied together, which gives 1,024. This exponent calculator raises any real base to any real power, and it also has two dedicated modes for the exponential function and for powers of ten .
What sets it apart from a pocket calculator is precision. When the exponent is a whole number, the result is computed exactly with arbitrary-precision integers: comes out with all 31 digits rather than a rounded 1.27E30, and powers with up to 500 digits are listed in full. Beyond that, or when the exponent is a decimal, the result is computed with logarithms and shown in scientific notation, so you never get an "overflow" or "Infinity" — is simply a number with about 954,243 digits.
The calculator also handles the cases that trip people up: negative exponents (reciprocals), fractional exponents (roots), negative bases, and the conventions for and to a negative power.
How to use this calculator
- Choose the mode: aⁿ for any base and exponent, eˣ for the natural exponential, or 10ˣ for a power of ten.
- Enter the base and the exponent (or just in the eˣ and 10ˣ modes). Decimals and negative numbers are accepted.
- Read the result. Short exact results are shown in full; long ones appear in scientific notation, with every digit in the table under the result when there are no more than 500.
- For a negative exponent, the exact fraction is shown too ().
- Open the steps to see the repeated multiplication, the reciprocal or the logarithm used.
The formula
For a positive integer , a power is a repeated product:
The laws of exponents follow from that definition: , and . A fractional exponent is a root: and .
For a positive base and any real exponent, the power is defined through the exponential and the natural logarithm:
Very large results are written in scientific notation by splitting the base-10 logarithm into its integer part (the power of ten) and its fractional part (which gives the leading digits ).
Worked example
- — ten factors of 2.
- , exact, because and terminates.
- .
- : an odd power keeps the minus sign; an even power removes it.
- .
- .
- , a number with 31 digits, or in scientific notation.
Powers of a number: the rules worth remembering
| Rule | Example |
|---|---|
| positive if is even, negative if is odd |
Note that while : the exponent binds more tightly than the minus sign, which is why the calculator writes negative bases in brackets. For square, cube and nth roots with simplified radicals, see the square root calculator.
The exponential function eˣ
The number is the base of natural growth: it is the only base for which the function is its own derivative. Continuous compound interest (), radioactive decay, population growth and the normal distribution all use it. Select the eˣ mode to evaluate it directly; for beyond about 709, the value no longer fits in a standard floating-point number, so the calculator switches to logarithms and still gives ten significant digits. The 10ˣ mode is the inverse of the common logarithm and is the backbone of the decibel, pH and Richter scales.
Frequently asked questions
What is 0 to the power of 0?
By convention 0⁰ = 1. It is the empty product (no factors), it keeps the binomial theorem and polynomial notation valid, and it is what the IEEE 754 pow function returns. In calculus, however, a limit of the form 0⁰ is indeterminate and must be studied case by case.
How do I calculate a negative exponent?
Take the reciprocal of the positive power: a⁻ⁿ = 1/aⁿ. For example, 2⁻³ = 1/2³ = 1/8 = 0.125, and 10⁻⁶ = 0.000001. Zero to a negative power is undefined because it would require dividing by zero.
Why does a negative base with a decimal exponent give a complex number?
A decimal exponent is a root in disguise: (−8)^0.5 is the square root of −8, which is not a real number. The calculator then shows the principal complex value. Odd roots such as the cube root of −8 = −2 are real, but 1/3 cannot be typed exactly as a decimal, so use the nth-root calculator for them.
How many digits does a large power have?
A positive integer N has ⌊log₁₀ N⌋ + 1 digits, so aⁿ has ⌊n log₁₀ a⌋ + 1 digits. 2¹⁰⁰ has ⌊100 × 0.30103⌋ + 1 = 31 digits. The calculator shows that count for every exact integer result.
Is the result exact?
For whole-number exponents, yes, as long as the result has no more than 500 significant digits; all of them are listed. Decimal exponents, eˣ and huge powers are irrational or too long to list, so they are rounded to 10–12 significant digits, as noted under the result.
Sources
- NIST Digital Library of Mathematical Functions, §4.2 Logarithm, Exponential, Powers — Definitions
- Knuth, D. E. (1992). Two Notes on Notation. American Mathematical Monthly 99(5) — on 0⁰ = 1
- IEEE 754-2019, Standard for Floating-Point Arithmetic (pow and its special cases)
Last updated: