Skip to content
UniKit

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

Result
1024
Scientific notation1.024e+3
Digits4
Square and cube root tableInteger results are shown exactly
n√n∛n
21.4142141.259921
31.7320511.44225
421.587401
52.2360681.709976
82.8284272
932.080084
103.1622782.154435
1642.519842
2552.924018
275.1961523
6484
100104.641589
100031.62277710

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分数指数

Related tools