Skip to content
Jellykit

Exponent and Root Calculator

Raise a number to any power, including negative and fractional exponents, or take its square, cube or nth root.

  • Runs on your device
Loading tool

About Exponent and Root Calculator

Work out powers and roots in one place. Raise any number to a whole, negative, decimal or fractional exponent, written as 1/3 rather than a rounded 0.333, or take a square, cube or nth root.

Whole-number powers are computed exactly, so 2^100 shows every one of its 31 digits and 0.5^-3 is exactly 8. Results too large for ordinary floating point, such as 10^5000.5, are still given in scientific notation. Where no real answer exists, as for the square root of −4, the principal complex value is shown and the reason explained.

How it works

  1. A whole-number exponent is applied by exact multiplication of the number as you typed it, so decimals such as 1.1² give 1.21 exactly rather than a floating-point near miss.
  2. A fractional exponent a/b is the b-th root raised to the power a. A negative base gives a real result only when b is odd: (−8)^(1/3) is −2.
  3. Roots are computed in floating point and polished, so perfect powers such as the 4th root of 81 come out exactly 3. Other results are rounded to 15 significant digits.
  4. Results beyond about 10^308 are worked out from their logarithm and shown in scientific notation.

Questions

Why does (−8)^(1/3) give −2 here when some calculators give an error?

Many calculators turn 1/3 into 0.3333… first, and a negative number has no real power for a decimal exponent. Entering the exponent as the fraction 1/3 keeps it exact, and an odd denominator means a real cube root exists.

What is 0 to the power 0?

This tool gives 1, the convention used in algebra, combinatorics and most programming languages, and says so beside the answer. Some texts leave 0⁰ undefined.

How precise are the results?

Whole-number powers are exact up to 5,000 digits. Roots and fractional powers are rounded to 15 significant digits, which is the precision of the floating-point numbers the browser uses.

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.