Raise any base to any power, including negative and fractional exponents.
Enter values above — results appear automatically, or press Calculate. The formula used is explained below.
An exponent counts repeated multiplication: 2¹⁰ = 2×2×2×…×2 ten times = 1024. Exponents grow astonishingly fast — doubling at each step turns 10 doublings into a thousandfold increase.
Negative exponents express reciprocals, so 2⁻³ = 1/8. Fractional exponents express roots: 9^(1/2) = 3 and 27^(1/3) = 3. These rules let a single formula handle growth, decay, scaling and roots alike.
Laws of exponents compress whole calculation chains: x^a × x^b = x^(a+b), (x^a)^b = x^(ab), and (xy)^n = x^n × y^n. Simplifying 2^10 × 2^5 to 2^15 before computing avoids overflow and rounding error that direct multiplication invites.
Exponential growth versus linear growth is the intuition that matters: linear adds fixed amounts (100, 200, 300), exponential multiplies (100, 200, 400 at doubling). Compound interest, viral spread, Moore's-law transistor counts and pandemic curves all follow x^t — recognizing the shape early changes decisions that linear thinking gets catastrophically wrong.
Zero, one and negative bases are the edge cases: anything non-zero to power 0 is 1 (x^0 = 1 follows from x^n ÷ x^n), 0^0 is conventionally 1 in most calculators, negative bases with fractional exponents leave real numbers (use complex mode elsewhere), and 0 to a negative power is division by zero — undefined, which this calculator flags explicitly.
Floating-point limits bound real computation: results beyond ~1.8×10^308 overflow to Infinity (flagged here, not silently wrong), and fractional powers of large numbers lose low digits to rounding. For cryptographic or scientific magnitudes, dedicated big-number libraries beat browser doubles.
Exponentiation is where floating-point behaviour stops being intuitive, and the two failure modes look nothing alike. Overflow is the obvious one: large positive exponents push straight to Infinity, and Infinity minus Infinity is NaN, so a chain of operations that should be finite returns NaN with no warning. Underflow is the one that catches people: a large negative exponent drives the result to 0, and then 1 divided by 0 is Infinity, so a formula that divides by a small power ends up infinite even though every value looked reasonable. Neither produces an error; both produce a number that is confidently wrong.
Non-integer exponents are the second trap, and the algebra stops holding exactly at that boundary. Identity laws like a^0 = 1 and a^(x/y) = y-th root of a^x both assume the exponent is an integer, and a negative base with a fractional exponent is not a real number at all — yet most languages return NaN there without telling you the input was the problem. The workable approach is to check the inputs explicitly before the arithmetic: flag a non-integer exponent with a negative base, and decompose a fractional power into a root and an integer exponent rather than letting the language decide.
Integer powers can be done exactly, and the method is worth knowing even when doubles suffice. Repeated squaring — halving the exponent at each step and squaring the base — turns a^n into O(log n) multiplications instead of n, and it can be applied to arbitrary-precision integer types to produce results no double can represent. That is the mechanism behind fast modular exponentiation in cryptography, where the computation stays inside a fixed word size by reducing at every step. For ordinary use the simpler exponentiation operator is correct; the concern is scale, not correctness at small exponents.
Raise any base to any power, including negative and fractional exponents. Formula: xⁿ means x multiplied by itself n times. Example: 2^10 = 1024.
An exponent counts repeated multiplication: 2¹⁰ = 2×2×2×…×2 ten times = 1024. Exponents grow astonishingly fast — doubling at each step turns 10 doublings into a thousandfold increase.
Negative exponents express reciprocals, so 2⁻³ = 1/8. Fractional exponents express roots: 9^(1/2) = 3 and 27^(1/3) = 3. These rules let a single formula handle growth, decay, scaling and roots alike.
Laws of exponents compress whole calculation chains: x^a × x^b = x^(a+b), (x^a)^b = x^(ab), and (xy)^n = x^n × y^n. Simplifying 2^10 × 2^5 to 2^15 before computing avoids overflow and rounding error that direct multiplication invites.
Exponential growth versus linear growth is the intuition that matters: linear adds fixed amounts (100, 200, 300), exponential multiplies (100, 200, 400 at doubling). Compound interest, viral spread, Moore's-law transistor counts and pandemic curves all follow x^t — recognizing the shape early changes decisions that linear thinking gets catastrophically wrong.
Zero, one and negative bases are the edge cases: anything non-zero to power 0 is 1 (x^0 = 1 follows from x^n ÷ x^n), 0^0 is conventionally 1 in most calculators, negative bases with fractional exponents leave real numbers (use complex mode elsewhere), and 0 to a negative power is division by zero — undefined, which this calculator flags explicitly.
Floating-point limits bound real computation: results beyond ~1.8×10^308 overflow to Infinity (flagged here, not silently wrong), and fractional powers of large numbers lose low digits to rounding. For cryptographic or scientific magnitudes, dedicated big-number libraries beat browser doubles.
Exponentiation is where floating-point behaviour stops being intuitive, and the two failure modes look nothing alike. Overflow is the obvious one: large positive exponents push straight to Infinity, and Infinity minus Infinity is NaN, so a chain of operations that should be finite returns NaN with no warning. Underflow is the one that catches people: a large negative exponent drives the result to 0, and then 1 divided by 0 is Infinity, so a formula that divides by a small power ends up infinite even though every value looked reasonable. Neither produces an error; both produce a number that is confidently wrong.
Non-integer exponents are the second trap, and the algebra stops holding exactly at that boundary. Identity laws like a^0 = 1 and a^(x/y) = y-th root of a^x both assume the exponent is an integer, and a negative base with a fractional exponent is not a real number at all — yet most languages return NaN there without telling you the input was the problem. The workable approach is to check the inputs explicitly before the arithmetic: flag a non-integer exponent with a negative base, and decompose a fractional power into a root and an integer exponent rather than letting the language decide.
Integer powers can be done exactly, and the method is worth knowing even when doubles suffice. Repeated squaring — halving the exponent at each step and squaring the base — turns a^n into O(log n) multiplications instead of n, and it can be applied to arbitrary-precision integer types to produce results no double can represent. That is the mechanism behind fast modular exponentiation in cryptography, where the computation stays inside a fixed word size by reducing at every step. For ordinary use the simpler exponentiation operator is correct; the concern is scale, not correctness at small exponents.
2^10 = 1024. The same machinery gives 2^-10 = 1/1024 ≈ 0.00097656 and 16^(1/2) = 4. A growth check: $1,000 at 7% for 10 years is 1000 × 1.07^10 ≈ $1,967 — the exponent doing compound interest's work.
Formulas are standard public references (see our methodology). External standards are cited in the text where they apply.
Last reviewed: September 2026 · Report an error