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 inputs | Result shown |
|---|---|
| Power: 2 and 10 | 1,024 (4 digits) |
| Power: 2 and 100 | 1.267650 × 10^30, exact value 1267650600228229401496703205376 (31 digits) |
| Power: 1.12 and 10 | 3.1058482083 |
| Power: 2 and -3 | 0.125 |
| Power: 9 and 0.5 | 3 |
| Root: 144 and 2 | 12 |
| Root: 2 and 2 | 1.4142135624 |
| Root: -27 and 3 | -3 |
| Root: 81 and 4 | 3 |
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?
How do I calculate a negative exponent?
How do I find a cube root with this calculator?
Why can I not take the square root of a negative number?
Is a number to the power 0.5 the same as its square root?
How large a power can it show exactly?
Related guides
- Exponents and Logarithms: Rules Cheat Sheet with Worked Examples The laws of exponents and log rules on one page: product, quotient and power rules, negative and fractional powers, change of base and logs without a...
- Best Free Online Tools for Students in India (No Signup, 2026) Free browser tools for Indian students, sorted by task: essays, marks and CGPA, exam-form photos and PDFs, and study timers, with what each one can't...
- Age Limit for Exams: How to Calculate Your Age on the Cut-off Date Your age is checked on the cut-off date in the notice, not the day you apply. UPSC CSE 2026: 21–32 on 1 August 2026. How to check, relaxations, mistak...