Exponent Calculator
Raise a base to a power and inspect expanded multiplication for small positive whole exponents. Negative exponents represent reciprocals; fractional exponents require attention to the real-number domain.
Power rules with their conditions
- For a nonzero base a, a⁰ = 1 and a⁻ⁿ = 1/aⁿ.
- For integer exponents, aᵐ × aⁿ = aᵐ⁺ⁿ; negative exponents require a nonzero base.
- With positive bases, decimal powers can represent roots: 16^0.5 = 4.
- Negative bases with noninteger exponents are not evaluated as real roots by Math.pow.
How to use the Exponent Calculator
- Enter a base and exponent; the result updates immediately.
- For positive integer exponents from 1 through 12, the expanded expression shows every repeated factor.
- For a negative integer exponent and nonzero base, calculate the positive power and take its reciprocal.
- The reciprocal panel is 1 divided by the calculated result; it is not a second way of entering the exponent.
- Treat a nonfinite or unavailable result as a calculation limit, not a real-number answer.
Why a negative cube root can fail here
The real cube root of −8 is −2, since (−2)³ = −8. However, entering base −8 and exponent 0.3333333333333333 sends a noninteger floating-point exponent to Math.pow, which returns NaN for a negative base. It does not recognize that decimal as the exact rational number 1/3. Use a calculator with an explicit cube-root operation for that question.
The algebraic zero-exponent rule above is stated for nonzero bases. JavaScript returns 1 for Math.pow(0, 0); that computational convention does not settle every mathematical use of 0⁰. Zero to a negative power is not a finite real value.
Separate the power from a growth forecast
For repeated proportional growth, a multiplier such as 1.05 raised to a count of periods is only the growth factor. A starting quantity of 200 multiplied by 1.05² gives 220.5, because 1.05² = 1.1025. Real growth need not remain constant between periods.
Large powers can overflow to Infinity and sufficiently small values can underflow to zero. Floating-point rounding and ten-decimal display rounding also mean the screen is not an arbitrary-precision integer or fraction proof. Keep exact fractions or integer arithmetic when the exact last digit matters.
Real powers and reciprocal display
The calculator uses JavaScript Math.pow: 0^0 returns 1 as a programming convention, while 0 raised to a negative power is nonfinite. Negative bases with fractional exponents can give no real result, even when an exact rational-root interpretation exists.
Examples
Repeated doubling
Base 2 and exponent 10 gives 1,024. Independently check by squaring: 2⁵ = 32 and 32 × 32 = 1,024. If a quantity starts at 3 and doubles ten times, multiply the power by 3 separately to obtain 3,072; this tool returns only the power.
A negative exponent makes a reciprocal
Base 4 and exponent −3 gives 1/(4 × 4 × 4) = 1/64 = 0.015625. Multiplying this result by 64 returns 1. The reciprocal panel for this result is 64.
A positive-base root
Base 81 and exponent 0.5 gives 9. Verify by multiplying 9 × 9 = 81. This is the principal nonnegative square root, not both solutions of x² = 81.
Signs depend on the exponent
Base −3 with exponent 4 gives 81 because four negative factors pair into two positive products. With exponent 3 it gives −27. The base field includes the sign; this differs from an expression parser reading an unparenthesized leading minus.
Check the result in context
Reciprocal check: 2^(−3) = 1/2³ = 0.125. The reciprocal-form card shows 8, the denominator of this reciprocal, not a second value equal to 0.125.
Powers of 2, 3 and 10
| n | 2ⁿ | 3ⁿ | 10ⁿ |
|---|---|---|---|
| 0 | 1 | 1 | 1 |
| 1 | 2 | 3 | 10 |
| 2 | 4 | 9 | 100 |
| 3 | 8 | 27 | 1,000 |
| 4 | 16 | 81 | 10,000 |
| 5 | 32 | 243 | 100,000 |
| 6 | 64 | 729 | 1,000,000 |
| 7 | 128 | 2,187 | 10,000,000 |
| 8 | 256 | 6,561 | 100,000,000 |
| 9 | 512 | 19,683 | 1,000,000,000 |
| 10 | 1,024 | 59,049 | 10,000,000,000 |
Negative powers of 10
| Power | Decimal | Fraction |
|---|---|---|
| 10^−1 | 0.1 | 1/10 |
| 10^−2 | 0.01 | 1/100 |
| 10^−3 | 0.001 | 1/1,000 |
| 10^−4 | 0.0001 | 1/10,000 |
| 10^−5 | 0.00001 | 1/100,000 |
| 10^−6 | 0.000001 | 1/1,000,000 |
Frequently asked questions
Does a decimal exponent always mean a real root?
For a positive base, exponents such as 0.5 can represent roots. For negative bases this implementation returns NaN for noninteger exponents, even when a corresponding exact rational exponent has a real interpretation.
Why is the reciprocal missing for some inputs?
The code only computes 1/result when the result is finite and nonzero. A zero, infinite or NaN result cannot produce that reciprocal panel's finite calculation.
Does the expanded expression show every exponent?
No. It is displayed for positive integer exponents from 1 to 12. A missing expansion for a larger or negative exponent does not itself mean the power is invalid.
Why doesn’t a negative fractional power always give a real root?
The exponent is stored as a floating-point number, not an exact rational fraction. For a negative base, use an integer power here; an odd-root interpretation such as cube root of −8 requires a root function.
Sources & methodology
More math tools
Scientific Calculator
Advanced calculator for trig, logs, roots, powers, factorials and more.
Open tool →Factor Calculator
Find factors, factor pairs and prime factorization for a whole number.
Open tool →GCF Calculator
Find the greatest common factor of two or more positive integers.
Open tool →Graphing Calculator
Graph functions, trace points, view tables and analyze equations.
Open tool →Significant Figures Calculator
Count significant figures and round numbers to a selected number of significant digits.
Open tool →Permutation Calculator
Calculate nPr permutations with or without repetition.
Open tool →