Exponents Calculator
A real base raised to a real exponent, with the expansion when the exponent is a short whole number.
What the exponents calculator does
It raises a real base to a real exponent: two to the tenth is 1024, nine to the half is 3, and two to the minus three is 0.125. A fractional exponent is a root, and the result line says so rather than leaving the reader to infer it.
When the exponent is a whole number from 1 to 12 and the base is between 0.001 and 1000, the page also prints the expansion, so 2^10 is shown as ten factors of 2. The expansion is omitted for a longer or fractional exponent because the line would be longer than the answer is useful.
Two cases have no real value and are refused: 0^0 is undefined, and a negative base with a fractional exponent is complex rather than real. A power past the largest number the page can print — about 1.8 × 10³⁰⁸ — is refused as an overflow rather than printed as Infinity. Exponents are read from −10 000 to 10 000; a value outside that is a typo guard.
A missing base, a non-numeric token and a non-finite result are each refused by name.
Figures print to up to four decimal places with trailing zeros trimmed.
How to use it
Enter the Base and the Exponent.
Press Run. The result prints the power, and the expansion when the exponent is a short whole number.
Worked example
Input with the defaults:
2 ^ 10
Output:
Power: 1024 (2^10)
Expanded: 2 × 2 × 2 × 2 × 2 × 2 × 2 × 2 × 2 × 2 × 2
Why it runs in your browser
The power is computed in this tab. Your values are never uploaded.
The page raises a real base to a real exponent. Two to the tenth is 1024, nine to the half is 3, and two to the minus three is 0.125.
A fractional exponent is a root, and the result says so. When the exponent is a whole number from 1 to 12 and the base is moderate, the page also prints the expansion as a product of factors.
Two cases have no real value and are refused: 0^0 is undefined, and a negative base with a fractional exponent is complex. An overflow is named rather than printed as Infinity.
What a fractional or negative exponent means
An exponent of 1/n is the nth root, so 9^0.5 is 3 and 27^(1/3) is 3. A negative exponent is a reciprocal: 2^−3 is 1/8. The page computes both through the same real power and states the reading in the result.
A negative base with a fractional exponent has no real value, because no real number squared gives −4. That case is refused instead of returning NaN.
The two refused cases
0^0 is undefined: the conventions that make it 1 belong to combinatorics and power series, not to a general exponent page. The page refuses it rather than choosing a convention silently.
A power past about 1.8 × 10³⁰⁸ is past the largest number JavaScript can represent, so the page refuses it as an overflow instead of printing Infinity.
How to use Exponents Calculator
Enter the Base and the Exponent.
Press Run. The result prints the power, and the expansion when the exponent is a short whole number.
What to Expect
Best for
- Raising a number to a whole or fractional power
- Reading a negative exponent as a reciprocal
- Seeing a short power expanded into its factors
Not ideal for
- Complex results from a negative base and a fractional exponent
- Exact arithmetic on very large integers
- Equation solving with an unknown exponent, which is a logarithm
What this tool keeps
- The base and exponent as typed
- The sign of the exponent
What may need cleanup
- A base or exponent written as a fraction, which must become a decimal
- A power past the number range, which needs a big-number tool
Common errors
- Reading a fractional exponent as multiplication
- Expecting a real result from a negative base and a half power
Example use cases
- Computing a compound growth factor
- Checking a power by hand
- Teaching roots as fractional exponents
Sample input
2 to the power 10.
Sample output
1024, with the expansion of ten factors of 2.
Who this is for
- Students learning exponent rules
- Anyone checking a power quickly
Frequently asked questions
Why does a fractional exponent mean a root?
A fractional exponent is a root. The exponent one third asks which number multiplied by itself three times gives 8, and that number is 2. The page computes it as a real power and says so in the basis line.
Why is 0^0 refused?
It is undefined in general arithmetic. Some conventions set it to 1 for convenience in combinatorics, but that is a choice, and this page does not make choices about undefined expressions.
Why can I not compute (−8)^0.5?
Because no real number squared gives −8. The result is complex, and this page returns real numbers only. Use a complex-number page for that case.
What does the expansion line show?
The power written as a product, so 2^4 appears as 2 × 2 × 2 × 2. It is printed only for whole exponents from 1 to 12 with a moderate base, where the line stays readable.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.