Example 1
- Base: 2
- Exponent: 10
1024
What is 2^10? 1024.
Enter base a and exponent b. The calculator computes a^b in the reals. With 2^10 the result is 1024. With 5^0 the result is 1. With 2^−3 the result is 0.125. With (−3)^3 the result is −27. A negative base works with an integer exponent; 0^0 and 0 to a negative power are refused. Fractional power with separate m and n is on a separate page.
Enter the base and exponent to see a^b.
A negative base works when the exponent is a whole number. A fractional exponent with a negative base needs complex numbers — not covered here. The calculator refuses 0^0.
A power ab means base a raised to exponent b. For a positive integer b it is the product a×a×… (b times): 210 = 1024. For b = 0 with a ≠ 0 the result is 1, so 50 = 1. A negative exponent is a reciprocal: 2−3 = 1 ÷ 23 = 1/8 = 0.125. The mathematical model is real exponentiation, matching NIST DLMF §4.2.
The calculator uses the numbers you enter in Base and Exponent (potega-b). The calculator computes a^b in the browser with domain guards: 00 is refused; 0 to a negative power is refused; a negative base with a non-whole exponent is refused (complex numbers). For a > 0, ab = exp(b ln a).
A negative base with a whole exponent stays in ℝ: (−3)3 = −27, (−2)4 = 16. An even exponent clears the minus; an odd exponent keeps it. A fractional exponent on a negative base needs complex numbers — not computed here; use the fractional-power page for x^(m/n).
The result panel shows ab, echoes of a and b, |a|b, the reciprocal 1/ab, and — when a > 0 — the exp(b ln a) check. For a > 0 the page draws y = ax with the point (b, ab); for a ≤ 0 it shows bars comparing |a| with |ab|. A comma and a period both parse.
Worked examples: 2 and 10 → 1024; 5 and 0 → 1; 2 and −3 → 0.125; −3 and 3 → −27; 10 and 2 → 100; 3 and 4 → 81; −2 and 4 → 16; 4 and −1 → 0.25. This calculator does not compute fixed-base ex or a logarithm — only ab.
y = ab, where a is the base and b is the exponent.
For a > 0: ab = exp(b ln a) (NIST DLMF §4.2).
For a positive integer n: an = a·a·…·a (n factors). For a ≠ 0: a0 = 1, a−n = 1/an.
Symbols: a — the “Base” field; b — the “Exponent” field; y — a^b. Mathematical model: real exponentiation (pow).
Let a and b be real numbers. The power ab in the reals is the value when it is defined. For a > 0 the analytic definition is unique: ab := exp(b ln a), following the NIST Digital Library of Mathematical Functions, §4.2 (powers). For a positive integer n, an = a·a·…·a (n factors). For n = 0 with a ≠ 0 one takes a0 = 1. For a negative integer −n with a ≠ 0: a−n = 1/an.
For a = 0 one takes 0b = 0 when b > 0; when b < 0 the expression is undefined. The case 00 stays undefined in this educational model. For a < 0 a real value requires a whole exponent; then the sign follows the parity of b.
The calculator implements these rules through the calculator and pow. It does not return complex values or every branch of a multi-valued power.
Integer powers are ancient (geometric squares and cubes). Modern an notation and extensions to negative and fractional exponents mature with logarithms (Napier, Briggs) and the analytic definition ab = exp(b ln a) for a > 0, systematized in eighteenth–nineteenth-century analysis and codified in Abramowitz & Stegun and the NIST DLMF.
Conceptually separate three layers. (1) School algebra: products, a0 = 1, a−n = 1/an, sign with a negative base. (2) Real analysis: the exp/ln definition on (0, ∞). (3) Complex analysis: multi-valued powers — for (−8)1/3 the principal value may be complex while the principal real cube root is −2. This calculator deliberately stays in layers (1)+(2) with a whole exponent when a < 0.
Do not confuse this with ex (fixed base e) or the fractional power x^(m/n) (separate m and n). A logarithm is the inverse: loga(ab) = b when a > 0 and a ≠ 1.
For a > 0 and real b, c: ab ac = ab+c; (ab)c = abc; (ab)c = ac bc. The exponential homomorphism follows from exp and ln (NIST DLMF §4.2).
For a < 0 and integer n: an ∈ ℝ; an < 0 when n is odd; an > 0 when n is even (if a ≠ 0). For a < 0 and non-whole b: no real value in this model.
Limits for a > 1: ab → ∞ as b → ∞; ab → 0 as b → −∞. For 0 < a < 1 the directions reverse.
Step 1 (a > 0). Set y = exp(b ln a). Then ln y = b ln a, so y is the unique positive number matching the real-power definition. For a positive integer n, induction gives the product.
Step 2 (b = 0). exp(0 · ln a) = exp(0) = 1 for a > 0, hence a0 = 1. School convention extends this to a ≠ 0.
Step 3 (b = −n < 0). a−n = exp(−n ln a) = 1/exp(n ln a) = 1/an when a ≠ 0.
Step 4 (a < 0, n ∈ ℤ). Define an by a product (or reciprocal). Floating-point exponentiation returns that for a negative base and integer exponent; for a non-integer it often yields NaN — the calculator refuses that case first.
Step 5 (00). There is no uniform convention in analysis; this educational model ends with an error message.
210 = 1024; 50 = 1; 2−3 = 0.125; (−3)3 = −27; 102 = 100; 34 = 81; (−2)4 = 16; 4−1 = 0.25; 811/2 = 9 with a positive base; (−8)1/3 — refused here (fraction); e1 lives on the exponential-function page.
When |b| ln|a| is very large, floating-point arithmetic may overflow to Infinity — the panel reports a result out of range.
pow is a library routine (argument reduction, approximation). For a > 0 the panel also shows exp(b ln a); tiny floating-point differences are possible but usually negligible. A comma and a period both parse.
The calculator computes the power after rejecting 0⁰, 0 to a negative exponent, and a negative base with a non-integer exponent. With a = 2 and b = 10 the value is 1024; with a = 5 and b = 0 it is 1 (school convention a⁰ = 1 for a ≠ 0); with a = −2 and b = 3 it is −8. The panel also shows |a|^b and, when a > 0, the check exp(b ln a).
A fractional exponent with a > 0 corresponds to root extraction (for example a^(1/2) = √a), but the separate nth-root calculator has a separate “degree” field. This page answers a^b in two fields. Floating-point overflow (a result outside the representable range) ends with an overflow message instead of a fake zero.
The calculator does not simplify to a symbolic form and does not return every complex root.
In teaching practice it helps to separate the mathematical identity from floating-point limits: this calculator shows the browser’s floating-point value, not a paper proof of symbolic identities. When inputs are extreme, check the domain first, then the floating-point range.
Related on CalcBoxer: fractional power x^(m/n), ex, logarithm, square root, and nth root. Do not confuse with physical power (watts) or the power set.
Comma and period are equivalent in the parser. Blank fields block the result. The curve or bar graphic is illustrative; the numeric value always comes from pow after the domain guards above.
Sources: NIST DLMF §4.2; Abramowitz & Stegun, ch. 4; MathWorld — Exponentiation; Wikipedia — Exponentiation. Educational tool.
a^b = base to the exponent. 2^10 = 1024. Real domain with limits when a ≤ 0.
1024
What is 2^10? 1024.
1
What is 5^0? 1.
0.125
What is 2^−3? 0.125.
−27
What is (−3)^3? −27.
100
What is 10^2? 100.
81
What is 3^4? 81.
16
What is (−2)^4? 16.
0.25
What is 4^−1? 0.25.
A power a^b is base a raised to exponent b. The calculator uses the Base (potega-a) and Exponent (potega-b) fields and evaluates the calculator → pow in the reals, refusing 0^0, 0 to a negative power, and a negative base with a non-whole exponent.
The result is 1024, because you multiply two by itself ten times. That is example 1 on this page — the same result after “Fill this example”.
5^0 = 1 when a ≠ 0. 2^−3 = 1/2^3 = 1/8 = 0.125. A negative exponent means the reciprocal of the positive power.
(−3)^3 = −27, because an odd exponent keeps the minus. (−2)^4 = 16, because an even exponent clears the sign. Those are examples 4 and 7.
Not in this calculator. That needs complex numbers. With an integer exponent the minus passes normally, as in (−3)^3. For x^(m/n) use the fractional-power page.
No. The calculator refuses 0^0. Zero to a positive exponent is 0, and zero to a negative exponent is undefined (division by zero).
Here you enter both values: base a and exponent b. The exponential eˣ has a fixed base e. The fractional-power page uses separate m and n fields in x^(m/n). A logarithm runs the other way: from a^b it returns b.
For a > 0, a^b = exp(b ln a). That is the real-power definition in NIST DLMF §4.2. The panel shows the exp(b ln a) check next to pow.
No. The result depends only on base a and exponent b. The currency and unit settings in the page header do not affect this result.
10^2 = 100, 3^4 = 81, and 4^−1 = 0.25. Those are examples 5, 6 and 8 on the page.
You can with a positive base: 81^(1/2) = 9. The square-root page still shows √x directly, and the fractional-power page has separate m and n fields.
In floating-point arithmetic pow may overflow to Infinity. The calculator then reports that the result is too large to display instead of showing Infinity.
Enter base a and exponent b. The result is a^b. With a positive integer b it is a×a×… (b times): 2^10 = 1024. For a > 0 you also have a^b = exp(b ln a).
256. Enter a = 2 and b = 8: 2×2×2×2×2×2×2×2 = 256. Same formula as 2^10 = 1024, just a smaller exponent.
a^(−n) = 1/a^n when a ≠ 0. Example: 2^−3 = 1/8 = 0.125 and 4^−1 = 1/4 = 0.25. The result does not become negative just because the exponent has a minus.
No. The calculator refuses 0^0. Zero to a positive power is 0; zero to a negative power is undefined (division by zero).
Here you have two fields: a and b (decimals are fine when a > 0). The fractional-power page needs integers m and n in x^(m/n) and handles odd roots of negative x more clearly.
The definition, domain, and exp/ln form below come from established mathematical sources.
Page updated November 3, 2026.