Exponent Calculator

Choose power or root, enter your numbers, and get the exact value, scientific notation and the rule behind it.

What an exponent means

An exponent tells you how many times to multiply a number, the base, by itself: 25 = 2 × 2 × 2 × 2 × 2 = 32. The definition extends naturally beyond positive whole numbers:

ExponentRuleExample
zerox0 = 1 (x ≠ 0)70 = 1
negativex^−n = 1 / x^n2^−3 = 1/8
fractionx^(p/q) = (q-th root of x)^p8^(2/3) = 22 = 4
decimalx^y = e^(y·ln x)20.5 ≈ 1.41421

The laws of exponents follow from repeated multiplication: x^a · x^b = x^(a+b), x^a / x^b = x^(a−b), (x^a)^b = x^(ab) and (xy)^a = x^a · y^a.

A negative base needs care. (−2)3 = −8 is fine, and (−8)^(1/3) = −2 because the cube root of a negative number is real. But (−4)^(1/2) has no real value — it is the complex number 2i — so the calculator reports that no real result exists.

Exact results for big powers

Ordinary calculators store numbers as 64-bit floating point, which keeps only about 16 significant digits. That is why many of them show 264 as 1.8446744e19. This calculator switches to arbitrary-precision integers whenever the base and exponent are whole numbers, so it prints every digit: 264 = 18,446,744,073,709,551,616, the number of different values a 64-bit register can hold.

The power is computed with exponentiation by squaring: x64 is found by squaring x six times rather than doing 63 multiplications, so even 210000 (3,011 digits) is instant. Exact digits are shown for results up to 5,000 digits; beyond that the result is given in scientific notation, computed from logarithms: the number of digits of x^y is ⌊y · log₁₀ x⌋ + 1.

Negative integer exponents are also kept exact, as a fraction 1/x^n, before being converted to a decimal.

Roots and simplified radicals

The n-th root of x is the number r with r^n = x, and it can be written as a power: ⁿ√x = x^(1/n). Square roots (n = 2) and cube roots (n = 3) are the most common.

When x is a whole number that is not a perfect power, the root is irrational, but it can often be simplified by pulling perfect powers out of the radicand. For the default example, 72 = 36 × 2 = 62 × 2, so √72 = 6√2 ≈ 8.48528. Likewise ∛54 = ∛(27 × 2) = 3∛2.

Even roots of negative numbers are not real numbers. For a square root the calculator shows the principal imaginary value, for example √−9 = 3i. Odd roots of negative numbers are real and negative: ∛−27 = −3.

For the related inverse operation — finding the exponent — use the logarithm calculator.

Frequently asked questions

What is 0 to the power 0?

In algebra, combinatorics and most programming languages 00 is defined as 1, and this calculator follows that convention. In calculus it is sometimes called an indeterminate form, because limits of the form x^y can approach different values.

How do I type a fractional exponent?

Enter it as a fraction, for example 2/3 or -1/2. Using a fraction rather than 0.6667 keeps the result exact and lets the calculator find real odd roots of negative bases.

Why is a negative number to a negative power not negative?

The sign depends only on whether the exponent is odd or even. (−2)^−3 = 1/(−2)3 = −1/8 is negative, but (−2)^−2 = 1/4 is positive.

How many digits does 2^1000 have?

302 digits. The count is ⌊1000 × log₁₀ 2⌋ + 1 = ⌊301.03⌋ + 1 = 302. Enter 2 and 1000 above to see them all.

Last reviewed: