Power and root calculator
Compute n-th powers and n-th roots (n up to 1000) with support for odd roots of negative numbers and fractional exponents, exact BigInt integer powers, scientific notation, significant digits and a square/cube root table.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Integer base and exponent are computed exactly with BigInt; fractional exponents fall back to floating point with rounding
1024
| n | √n | ∛n |
|---|---|---|
| 2 | 1.414214 | 1.259921 |
| 3 | 1.732051 | 1.44225 |
| 4 | 2 | 1.587401 |
| 5 | 2.236068 | 1.709976 |
| 8 | 2.828427 | 2 |
| 9 | 3 | 2.080084 |
| 10 | 3.162278 | 2.154435 |
| 16 | 4 | 2.519842 |
| 25 | 5 | 2.924018 |
| 27 | 5.196152 | 3 |
| 64 | 8 | 4 |
| 100 | 10 | 4.641589 |
| 1000 | 31.622777 | 10 |
What this tool does
- Compute big powers like 2^100 or 3^500 that overflow a pocket calculator — integer base and exponent are handled exactly with BigInt.
- Take n-th roots for geometry or physics, n up to 1000, including odd roots of negative numbers and fractional exponents.
- Sanity-check orders of magnitude for interest, bit widths or storage: the result comes with scientific notation and a significant-digit count.
- Teach with the square and cube root table, where perfect powers show an exact integer instead of a rounded approximation.
Example
Input
Base 2, exponent 10
Output
1024 (scientific notation 1.024e+3, 4 significant digits)
An integer base with an integer exponent goes through exact BigInt arithmetic, not floating point; scientific notation is produced by truncating the decimal string, and significant digits are counted from the integer form.
Frequently asked questions
What happens with 0^0 or 0 to a negative power?
Both are rejected. 0^0 is mathematically undefined and 0 to a negative power is a division by zero, so the tool reports "undefined" and "0 has no negative power" instead of quietly returning Infinity.
Can I take the square root of a negative number?
No. Even roots of negative numbers have no real solution and raise an error, while odd roots work: the cube root of -8 is -2, computed by taking the absolute value and restoring the sign.
Why does 2^0.5 show 1.414214 and not more decimals?
Fractional exponents go through IEEE 754 floating point, which leaves decimal noise, so the result is rounded to the configured precision. Raise the precision to 12 for more digits.
Will huge results freeze the page?
No. Exponents are capped at 1000 and exact integer powers have a bit-width guard: results beyond one million binary digits report "out of range" instead of hanging the browser.
Why is a negative power of an integer base rejected?
Because the exact path only returns integers. 2^-1 is 0.5, which is not an integer, so the tool reports that the result is not an integer. Bases of 1 or -1 still yield integers and work fine.
Keywords:power幂exponentroot开方平方根立方根square rootcube rootnth root分数指数