Skip to content

Exponent Calculator

Raise any number to a power, including negative, fractional and zero exponents, or solve for the missing exponent or base. Exact results for whole-number powers up to 1,000 digits.

  • Free, no sign-up
  • Runs in your browser
  • Math
Raise a base x to an exponent n.
Whole numbers, decimals, negative numbers, scientific notation (2.5e3) and fractions such as 1/3 are accepted, up to 1e15 in size.

Read the guide How Exponents Work: Rules, Examples and Exponential Growth

How to use the calculator

Choose what to calculate:

  • Power: x^n raises a base x to an exponent n.
  • Exponent finds n when you know the base and the result, for example how many times 2 must be multiplied to reach 1,024.
  • Base finds x when you know the exponent and the result, which is the same as taking a root.

Enter the numbers and press Calculate. You can type whole numbers, decimals, negative numbers, scientific notation such as 2.5e3, and fractions such as 1/3. The details panel explains each step.

When both the base and the exponent are whole numbers, the result is calculated exactly, digit for digit, as long as it has at most 1,000 digits. Larger or non-whole results are shown with 10 significant digits, in scientific notation when they are very large or very small. For example, 2^10000 is about 1.995063117e+3010, meaning 1.995063117 × 10^3010.

The rules of exponents

  • Positive whole exponent: repeated multiplication. 2^10 = 2 × 2 × … × 2 = 1,024.
  • Zero exponent: any nonzero number to the power 0 is 1, because x^n ÷ x^n = x^0 = 1.
  • Negative exponent: the reciprocal. 2^-3 = 1 / 2^3 = 1/8 = 0.125.
  • Fractional exponent: a root. x^(p/q) is the q-th root of x raised to the power p, so 27^(2/3) = 3² = 9.

Solving for the exponent or the base

To find the exponent, take logarithms: if x^n = r, then n = ln r / ln x. For 10^n = 50, n = ln 50 / ln 10 ≈ 1.698970004.

To find the base, take the n-th root: x = r^(1/n). For x² = 49 there are two real answers, 7 and -7, because both squared give 49. The calculator lists both when they exist.

Special cases

  • 0^0 is shown as 1. That is the convention used in algebra and combinatorics, where it counts as an empty product. In calculus, limits that look like 0^0 are indeterminate and must be worked out separately.
  • Zero to a negative power is undefined, because it would mean dividing by zero.
  • Negative base with a fractional exponent: (-8)^(1/3) = -2 is real because the cube root of a negative number exists. When the reduced fraction has an even denominator, as in (-4)^0.5, there is no real result. The calculator says so and shows the principal complex value, here 2i.

Frequently asked questions

Why is any number to the power of zero equal to 1?

Dividing powers of the same base subtracts the exponents: x^5 ÷ x^5 = x^(5−5) = x^0. Any nonzero number divided by itself is 1, so x^0 must be 1. This keeps the exponent rules consistent.

What is 0 to the power of 0?

Most algebra, combinatorics and programming conventions define 0^0 as 1, and this calculator does the same. It matches the idea of an empty product and makes formulas such as the binomial theorem work. In calculus, an expression that approaches the form 0^0 can tend to different values, so it is called indeterminate.

How do negative exponents work?

A negative exponent means take the reciprocal of the positive power. For example 5^-2 = 1 / 5^2 = 1/25 = 0.04. For whole-number bases the calculator shows the exact fraction as well as the decimal.

Why is there no real answer for a negative number to the power 0.5?

The power 0.5 is the square root, and no real number multiplied by itself gives a negative number. Fractions with an odd denominator are different: (-27)^(1/3) = -3, because (-3) × (-3) × (-3) = -27. Enter the exponent as a fraction like 1/3 to get this exact behavior.

How large can the numbers be?

Each input can be up to 1e15 in size. Whole-number powers are shown exactly up to 1,000 digits. Beyond that the result is given in scientific notation with up to 10 significant digits, for results up to about 10^(10^14).