Exponent Calculator
Free exponent calculator: compute a^n for any base and any power. Solve for result, base, or exponent. Supports negative, fractional, and decimal exponents.
Exponent Calculator
Background.
The Quanta exponent calculator (also called a power calculator) evaluates a^n for any real base and any real exponent, in three directions: enter a base and an exponent and it returns the result, enter a result and an exponent and it returns the base (the nth root), or enter a base and a result and it returns the exponent (the logarithm). Exponentiation is one of the four foundational operations of arithmetic — addition, multiplication, exponentiation, and their inverses — and it is the engine behind almost every quantitative model of growth, decay, scaling, and computation that humans use.
At its most concrete, a positive-integer exponent is just repeated multiplication: 2^10 = 2 × 2 × 2 × 2 × 2 × 2 × 2 × 2 × 2 × 2 = 1024. That single example is worth pausing on because it is the most famous power in computing: ten doublings produce a thousand-fold increase, which is why 1 KB is 2^10 bytes, 1 MB is 2^20, and 1 GB is 2^30. Every time a CPU clock doubles, a file size doubles, or a cell divides, you are watching exponentiation happen in real time.
Beyond positive integers, exponents extend smoothly into three more cases that the calculator handles directly. Negative exponents flip a power into its reciprocal: a^(−n) = 1 / a^n, so 2^(−3) = 1/2^3 = 1/8 = 0.125. This is the definition that makes the index laws work consistently — without it, a^(m−n) = a^m / a^n would fail whenever m < n. Fractional exponents express roots: a^(1/n) is the principal nth root of a, so 9^(1/2) = √9 = 3, 8^(1/3) = ∛8 = 2, and 16^(1/4) = ⁴√16 = 2. Combined fractional exponents handle mixed root-and-power cases: a^(m/n) = (n√a)^m = n√(a^m), giving 8^(2/3) = (∛8)^2 = 2^2 = 4.
Real-number exponents like 2^1.5 or e^(0.07) are defined as the limit of rational-exponent approximations and are evaluated by the calculator as exp(exponent × ln(base)), the canonical numerical method that works for any positive base. The zero exponent is a special case worth memorising: a^0 = 1 for any non-zero base a, a convention that makes the product rule a^m × a^n = a^(m+n) hold consistently when m = 0 or n = 0. The case 0^0 is genuinely contested — some references treat it as 1 (the combinatorial convention, used in power series and the binomial theorem), others as indeterminate (the limit convention, since x^y can approach any value as both x and y approach 0).
Exponents power continuous-growth and decay models throughout finance (compound interest A = P(1 + r/n)^(nt), continuous compounding A = Pe^(rt)), biology (bacterial doubling N(t) = N_0 · 2^(t/T)), physics (radioactive decay N(t) = N_0 · e^(−λt), capacitor discharge V(t) = V_0 · e^(−t/RC)), chemistry (Arrhenius rate constants k = A · e^(−Ea/RT)), epidemiology (early-stage spread S(t) = S_0 · e^(rt)), computer science (algorithm complexity classes from polynomial n^k to exponential 2^n), and information theory (entropy and channel capacity in bits = log_2 of equally likely outcomes). Scientific notation, which the calculator outputs alongside every result, is itself an exponentiation in base 10: writing 6.022 × 10^23 instead of 602,200,000,000,000,000,000,000 lets scientists read and manipulate numbers spanning sixty orders of magnitude without losing track of zeros.
This page walks through the precise definition for each exponent type (integer, negative, fractional, real), the seven exponent laws (product, quotient, power-of-a-power, power-of-a-product, power-of-a-quotient, zero, negative), the inverse operations (nth root and logarithm), the worked examples 2^10 = 1024, 9^(1/2) = 3, and 8^(1/3) = 2, and the edge cases (0^0, negative base with non-integer exponent, division by zero in negative exponents) that trip up automated calculators if they aren't handled carefully.
What is exponent calculator?
Exponentiation is the operation a^n where a is called the base and n is called the exponent (or power, or index). For a positive integer n it is defined as repeated multiplication: a^n = a × a × … × a, with n copies of a in the product. So 5^3 = 5 × 5 × 5 = 125, and 2^10 = 1024. Three extensions take the definition off the positive integers and onto the entire real line. The zero exponent: a^0 = 1 for every non-zero base a, by convention chosen to make the product rule a^m × a^n = a^(m+n) hold when m or n is zero. The negative exponent: a^(−n) = 1 / a^n, defined so that the quotient rule a^m / a^n = a^(m−n) holds for every pair (m, n), including m < n. The fractional exponent: a^(1/n) is the principal nth root of a — the real number r such that r^n = a (taking the positive root when n is even, the same-sign root when n is odd). Combining these: a^(m/n) = (n√a)^m = n√(a^m). Real-valued exponents — like 2^π, e^x, or 10^1.5 — are defined as the unique continuous extension of the rational-exponent function and are computed via the identity a^x = exp(x · ln(a)) for any positive base a. The seven exponent laws govern every algebraic manipulation: product (a^m · a^n = a^(m+n)), quotient (a^m / a^n = a^(m−n)), power of a power ((a^m)^n = a^(mn)), power of a product ((ab)^n = a^n · b^n), power of a quotient ((a/b)^n = a^n / b^n), zero power (a^0 = 1 for a ≠ 0), and negative power (a^(−n) = 1/a^n). The inverses of exponentiation are the nth root (recovers the base: if a^n = c then a = c^(1/n)) and the logarithm (recovers the exponent: if a^n = c then n = log_a(c)). The three modes of this calculator are exactly those three directions — forward exponentiation, root extraction, and logarithm — solved through one unified solver. Domain restrictions to keep in mind: 0^0 is contentious (Quanta returns 1 following the combinatorial convention), a negative base with a non-integer exponent produces a complex number (the calculator refuses), and a logarithm with base ≤ 0, base = 1, or non-positive argument is undefined (rejected with a clear error).
How to use this calculator.
- Pick the mode at the top. "Result" is the standard forward direction — you know the base and the exponent and you want the value of base^exponent. "Base" runs the inverse: you know the result and the exponent and you want the nth root. "Exponent" runs the other inverse: you know the base and the result and you want the logarithm.
- In result mode, enter the base (any real number) and the exponent (any real number). The result updates as you type. Try 2 and 10 → 1024 to verify the famous "ten doublings is roughly a thousand-fold" rule of thumb that underpins KB, MB, GB.
- In base mode, enter the result and the exponent. The calculator returns result^(1/exponent), the nth root. Try result 9 and exponent 0.5 (or 1/2) → base 3, the square root of 9. Try result 8 and exponent 3 → base 2, the cube root of 8. Exponent zero is rejected because any base^0 = 1 leaves the base completely undetermined.
- In exponent mode, enter the base and the result. The calculator returns log_base(result), which is the exponent that makes base^exponent equal the result. Try base 2 and result 1024 → exponent 10. Try base 10 and result 1000 → exponent 3. Base must be strictly positive and not 1, and result must be strictly positive — these are the standard real-logarithm domain restrictions.
- Read the scientific notation outputs alongside every result. The mantissa is the leading digit-string with a single digit before the decimal point, and the scientific exponent is the order of magnitude. 1024 displays as mantissa 1.024, exponent 3 — meaning 1.024 × 10^3. For very large or very small results (try 2^100 or 0.5^50), the scientific form is the only way to read the number at a glance.
- Watch the edge cases. Negative base with a fractional exponent (like (−8)^0.5) returns a complex number, which the calculator rejects with an explicit error rather than silently producing NaN. Negative base with an even integer exponent in base mode (no real base satisfies base^2 = −4) is also rejected. Zero base with a negative exponent (0^(−2) = 1/0) is rejected as a division by zero. In all three cases the error message names the field and the reason so you can decide how to handle it.
The formula.
The fundamental definition splits by the type of exponent. For positive integer n: a^n = a × a × … × a (n factors). For zero: a^0 = 1 whenever a ≠ 0 — the convention that keeps the product rule consistent. For negative integer −n: a^(−n) = 1 / a^n — the convention that keeps the quotient rule consistent. For unit fractions: a^(1/n) = n√a, the principal nth root (positive when n is even and a ≥ 0; same-sign as a when n is odd). For general rational p/q in lowest terms: a^(p/q) = (q√a)^p = q√(a^p). For irrational and real exponents x and any positive base a: a^x = exp(x · ln(a)) = e^(x · ln(a)), which is how the calculator evaluates a^x numerically — pre-computing ln(a), multiplying by x, and exponentiating. The seven exponent laws follow directly. Product rule: a^m · a^n = a^(m+n), because (a × … × a) × (a × … × a) is just (m + n) copies of a multiplied together. Quotient rule: a^m / a^n = a^(m−n), proved by cancellation when m > n and extended to m < n by the negative-exponent definition. Power of a power: (a^m)^n = a^(m · n), because raising a product of m copies of a to the nth power produces m × n copies of a. Power of a product: (ab)^n = a^n · b^n, because multiplication is commutative. Power of a quotient: (a/b)^n = a^n / b^n, for the same reason. Zero power: a^0 = 1 whenever a ≠ 0, forced by a^n / a^n = a^(n−n) = a^0 and a^n / a^n = 1. Negative power: a^(−n) = 1/a^n, forced by a^0 / a^n = a^(0−n) = a^(−n) and a^0 / a^n = 1/a^n. The inverse operations are the nth root and the logarithm. nth root: if a^n = c, then a = c^(1/n) = n√c, which is what the calculator computes in base mode. For odd integer n, the nth root preserves sign — (−8)^(1/3) = −2 because (−2)^3 = −8 — and the calculator handles this case directly by extracting the absolute value, taking the root, and re-attaching the sign. For even integer n with negative result, no real base exists (no real x satisfies x^2 = −4) and the calculator rejects with an explicit error. For non-integer exponents with negative result, the answer is complex (8^(1/2) of −8 is 2√2 · i) and is also rejected. Logarithm: if a^n = c, then n = log_a(c) = ln(c) / ln(a) by the change-of-base formula. This is what the calculator computes in exponent mode. The domain restrictions are a > 0, a ≠ 1, and c > 0 — the standard real-logarithm domain. Numerical precision: the Quanta engine rounds all outputs to 15 significant figures, which is the practical limit of IEEE 754 double-precision arithmetic. For powers that overflow (any |result| > 1.797 × 10^308) the engine returns Infinity; for underflows (|result| < 5 × 10^−324) it returns 0; for indeterminate forms it raises a typed InvalidInputError rather than silently producing NaN.
A worked example.
Compute 2^10. The base is 2, the exponent is 10. In repeated-multiplication form: 2 × 2 = 4, × 2 = 8, × 2 = 16, × 2 = 32, × 2 = 64, × 2 = 128, × 2 = 256, × 2 = 512, × 2 = 1024 — ten doublings, ten factors of 2, result 1024. The calculator confirms: result = 1024, base = 2, exponent = 10, scientific mantissa 1.024, scientific exponent 3 (so 1024 = 1.024 × 10^3). This is the most famous power in computing — it is exactly why 1 kilobyte is 1024 bytes (2^10), 1 megabyte is 1,048,576 bytes (2^20), and 1 gigabyte is 1,073,741,824 bytes (2^30). The rule of thumb "every ten doublings is roughly a thousand-fold" comes directly from 2^10 = 1024 ≈ 10^3 — an approximation accurate to 2.4 percent that lets you do binary-to-decimal magnitude conversions in your head. Two quick sanity checks using the same calculator. Switch to base mode with result 9 and exponent 0.5: the calculator returns base 3, recovering the square root of 9 (because 3^2 = 9, so 9^(1/2) = 3). Switch to base mode with result 8 and exponent 1/3 (enter 0.333333…): the calculator returns base 2, recovering the cube root of 8 (because 2^3 = 8). These two examples illustrate the fractional-exponents-are-roots identity that is genuinely useful — exponent 1/n gives the nth root, exponent 1/2 the square root, exponent 1/3 the cube root, and so on. Finally, switch to exponent mode with base 2 and result 1024: the calculator returns exponent 10, the inverse of the original computation — confirming that the logarithm undoes exponentiation, just as the nth root undoes raising to the nth power.
Frequently asked questions.
Why is a^0 equal to 1 for any non-zero base?
What is 0 to the power of 0 (0^0)?
What does a negative exponent mean?
What does a fractional exponent like 1/2 or 2/3 mean?
How do I convert a result to scientific notation?
What is the difference between a^n, n√a, and log_a(x)?
Why can't I raise a negative number to a fractional exponent?
How are 2^10 = 1024 and the binary KB / MB / GB related?
What's the difference between a^n (exponentiation) and n × a (multiplication)?
How does this calculator handle very large or very small results?
References& sources.
- [1]Knuth, Donald E. The Art of Computer Programming, Volume 1: Fundamental Algorithms, 3rd edition. Addison-Wesley, 1997 — §1.2.4 (Integer Functions and Elementary Number Theory) and §1.2.5 (Permutations and Factorials) cover the formal definition of integer exponentiation, the index laws, and the algorithmic complexity of fast exponentiation (binary method, O(log n)).
- [2]Hardy, G. H. and Wright, E. M. An Introduction to the Theory of Numbers, 6th edition. Oxford University Press, 2008 — §1.4 develops integer powers and the index laws from first principles, and §4.1–4.3 extend to rational and real exponents via the limit definition.
- [3]NIST Digital Library of Mathematical Functions, §4 — Elementary Functions, particularly §4.2 (Definitions) and §4.4 (Logarithms and Powers). The definitive modern reference for the analytic definition of the power function a^z for real and complex arguments, the index laws, and numerical evaluation strategies.
- [4]Abramowitz, M. and Stegun, I. A. (eds.) Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables. National Bureau of Standards Applied Mathematics Series 55, 1964 — §4 (Elementary Transcendental Functions), particularly §4.2 on power functions and §4.1 on the exponential and logarithm. Still cited by NIST DLMF as a foundational reference.
- [5]Lang, Serge. Algebra, 3rd edition. Graduate Texts in Mathematics 211, Springer, 2002 — Chapter 1 develops exponentiation in arbitrary monoids and groups, the index laws as group-theoretic identities, and the extension from integer to rational exponents via the structure of ordered fields.
- [6]ISO 80000-2:2019 — Quantities and units, Part 2: Mathematics. International standard fixing the notation a^n for exponentiation, n√a for the nth root, and the constraints on real-valued evaluation (positive base for non-integer exponents).
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 313 calculators remain free
- No billing is enabled