You enter a base (x) and an exponent (n). The tool computes x^n using JavaScript's Math.pow function, which follows IEEE-754 double-precision floating-point arithmetic. It handles negative bases, negative exponents, and fractional exponents. Results are displayed with up to 12 significant digits. Very large results overflow to Infinity and very small results may underflow to 0.
In real number arithmetic, a negative number raised to a fractional power (like (−8)^(1/3)) may not have a real result depending on the denominator. JavaScript's Math.pow returns NaN for negative bases with non-integer exponents, so this calculator displays "undefined" in those cases.
JavaScript doubles can represent numbers up to about 1.8 × 10³⁰⁸. Beyond that, the result overflows to Infinity. For example, 10³⁰⁹ will display as ∞.
Mathematically, 0⁰ is sometimes considered indeterminate, but by convention (and in JavaScript's Math.pow), it returns 1. This convention is standard in combinatorics, set theory, and most programming languages.
Results use IEEE-754 double-precision, which provides about 15–17 significant decimal digits. The display is capped at 12 significant digits to avoid showing floating-point rounding artifacts.
Estimate only. Results reflect your inputs and standard formulas. Double-check important decisions independently.