Social media growth services from EthicalSMM

Exponent and Root Calculator

Raise a number to any power, including negative and decimal exponents, or take a square, cube or nth root, with exact big-number results.

Was this tool helpful?

Thanks for the feedback!

This calculator raises a number to a power or takes its root: squares, cubes, negative and decimal exponents, square roots, cube roots and any nth root. Students checking homework, people working out compound growth by hand and programmers who need an exact large power will all find it useful. Whole-number powers of whole numbers are worked out exactly, digit for digit, even when the answer runs to hundreds of digits.

The fields

  • Calculate: choose "Power: base ^ exponent" to raise a number to a power, or "Root: nth root of a number" to go the other way.
  • Base number: the number you start with. It can be negative or a decimal.
  • Exponent, or which root (2 = square root): in Power mode this is the power. In Root mode it says which root you want, so 2 gives the square root, 3 the cube root and 4 the fourth root.

Press Calculate. The result appears in large type with its scientific notation underneath. In Root mode you also see the same root written as a power, such as 144 ^ (1/2), and a check line that raises the answer back to the power so you can see it returns the original number.

How the answer is worked out

When the base is a whole number and the exponent is a whole number from 0 to 5,000, the tool uses exact integer arithmetic (JavaScript BigInt). Short answers are shown with commas. Answers longer than 30 digits are shown in the short form, for example 1.267650 × 10^30, with the full exact value in a box you can copy, plus a count of the digits.

Everything else, such as decimal bases, negative exponents and fractional exponents, uses ordinary floating-point maths and is shown to up to 10 decimal places. Very small results, below 0.000001, switch to scientific notation. A negative exponent means "one divided by": the tool adds a Meaning line, so 2 ^ -3 shows 0.125 and "1 ÷ 2^3".

A root is the same as a fractional power: the nth root of x is x ^ (1/n). For an odd root of a negative number, such as the cube root of -27, the tool takes the root of 27 and keeps the minus sign, giving -3.

Worked examples

Mode and inputsResult shown
Power: 2 and 101,024 (4 digits)
Power: 2 and 1001.267650 × 10^30, exact value 1267650600228229401496703205376 (31 digits)
Power: 1.12 and 103.1058482083
Power: 2 and -30.125
Power: 9 and 0.53
Root: 144 and 212
Root: 2 and 21.4142135624
Root: -27 and 3-3
Root: 81 and 43

The 1.12 ^ 10 line is a handy money check. ₹1,00,000 growing at 12% a year for 10 years becomes 1,00,000 × 3.1058482083, or about ₹3,10,585. The compound interest calculator does the same with deposits and different compounding periods.

Edge cases and error messages

  • A negative base with a fractional exponent, such as -2 ^ 0.5, gives "A negative base with a fractional exponent has no real answer." A negative base with a whole exponent is fine: -2 ^ 3 is -8 and -3 ^ 4 is 81.
  • Zero to a negative power gives "Zero to a negative power is undefined (it would mean dividing by zero)."
  • 0 ^ 0 is shown as 1, the convention used in most algebra and programming.
  • In Root mode, an even root of a negative number, such as the square root of -16, gives "An even (or fractional) root of a negative number is not a real number." A root of 0 gives "There is no zeroth root."
  • If a floating-point answer is too big for the computer to hold, for example 1.5 ^ 2000, you see "The answer is too large to show." Whole-number powers within the exact range, such as 2 ^ 1000 with its 302 digits, are still shown in full.

To go backwards from a power to its exponent, use the logarithm calculator. To rewrite a long result in a shorter form, try the scientific notation converter. All the maths runs in your browser and nothing is sent anywhere.

Frequently asked questions

What is 2 to the power of 10?
2 to the power of 10 is 1,024. It is 2 multiplied by itself ten times, and it is why a kilobyte is often counted as 1,024 bytes.
How do I calculate a negative exponent?
A negative exponent means one divided by the positive power. So 2 ^ -3 is 1 ÷ 2^3, which is 1 ÷ 8 or 0.125, and the calculator shows that meaning line under the answer.
How do I find a cube root with this calculator?
Choose "Root: nth root of a number", enter the number as the base and 3 in the second box. The cube root of 1,000 comes out as 10, and the cube root of -27 as -3.
Why can I not take the square root of a negative number?
No real number multiplied by itself gives a negative result, so the square root of -16 is not a real number. The answer lives in complex numbers (4i), which this calculator does not cover.
Is a number to the power 0.5 the same as its square root?
Yes. Raising a number to the power 1/2 is the same as taking its square root, so 9 ^ 0.5 gives 3, and more generally x ^ (1/n) is the nth root of x.
How large a power can it show exactly?
For a whole-number base and a whole-number exponent up to 5,000 it shows every digit, for example all 302 digits of 2 ^ 1000. Decimal powers use floating point and are shown to 10 decimal places.

Related guides

Related tools

People also used

Embed this tool on your site

Paste it into any blog or website. Free, with a credit link.