Exponent Calculator

Exponent Calculator

Popular AI Skill PRO

Enter Calculation

Formula

Result=BaseExponent\text{Result} = \text{Base}^{\text{Exponent}}

Example

Result=23=8\text{Result} = 2^{3} = 8
Usage stats

Advertisement

Results

23
8

Report an error on this page

What the Exponent Calculator Does

This Exponent Calculator raises a number to a power. You enter two values — a Base and an Exponent — and it returns the result of multiplying the base by itself the number of times set by the exponent. It works for whole numbers, decimals, negative values and fractional exponents, so it handles everything from simple squares to roots expressed as powers.

How to Use It

  • Base: the number being raised to a power (the x in the formula). For example, 2, 10, or 1.5.
  • Exponent: how many times the base is used as a factor (the n). This can be positive, negative, zero or a decimal.

Press calculate and the tool returns the result instantly. Both inputs are read as numbers, so decimals like 2.5 or negatives like -3 are fully supported.

The Formula

The calculator uses the standard power function:

$$y = x^{n}$$

Internally it computes Math.pow(base, exponent), the same operation used in most programming languages. This means:

  • A positive exponent multiplies the base repeatedly: \(x^3 = x \times x \times x\).
  • A negative exponent gives a reciprocal: \(x^{-2} = 1 \div x^2\).
  • An exponent of 0 always returns 1 (for any non-zero base).
  • A fractional exponent gives a root: \(x^{0.5}\) is the square root of x.
Advertisement
Diagram of a base raised to an exponent equaling repeated multiplication
An exponent tells how many times the base is multiplied by itself.

Worked Example

Suppose you enter a Base of 3 and an Exponent of 4. The calculator computes:

$$y = 3^4 = 3 \times 3 \times 3 \times 3 = \mathbf{81}$$

Now try a decimal exponent: with a Base of 16 and an Exponent of 0.5, the result is \(\sqrt{16} = \mathbf{4}\). With a Base of 2 and an Exponent of -3, the result is \(1 \div 2^3 = 1 \div 8 = \mathbf{0.125}\).

Worked example expanding two cubed into repeated multiplication equaling eight
Worked example: 2 cubed expands to 2 x 2 x 2 = 8.

Exponent Rules Reference

These laws apply to any nonzero real base \(x\) and \(y\) with real exponents. The fractional-exponent rule is limited to real-number results: it needs \(x \ge 0\) when \(n\) is even. Each example below works out to an exact value.

Rule Formula Numeric example
Product rule \(x^a \cdot x^b = x^{a+b}\) \(2^3 \cdot 2^4 = 2^{3+4} = 2^7 = 128\)
Quotient rule \(\dfrac{x^a}{x^b} = x^{a-b}\) \(\dfrac{5^6}{5^4} = 5^{6-4} = 5^2 = 25\)
Power of a power \((x^a)^b = x^{ab}\) \((3^2)^3 = 3^{2 \cdot 3} = 3^6 = 729\)
Power of a product \((xy)^n = x^n \cdot y^n\) \((2 \cdot 5)^3 = 2^3 \cdot 5^3 = 8 \cdot 125 = 1000\)
Power of a quotient \(\left(\dfrac{x}{y}\right)^n = \dfrac{x^n}{y^n}\) \(\left(\dfrac{6}{3}\right)^2 = \dfrac{36}{9} = 4\)
Zero exponent \(x^0 = 1 \quad (x \neq 0)\) \(7^0 = 1\)
Negative exponent \(x^{-n} = \dfrac{1}{x^n}\) \(2^{-3} = \dfrac{1}{2^3} = \dfrac{1}{8} = 0.125\)
Fractional exponent \(x^{m/n} = \left(\sqrt[n]{x}\right)^m\) \(8^{2/3} = \left(\sqrt[3]{8}\right)^2 = 2^2 = 4\)

About \(0^0\): Mathematically, \(0^0\) has no single agreed value and is called an indeterminate form in limits. In algebra, combinatorics and most programming languages, the convention is \(0^0 = 1\). JavaScript's Math.pow(0, 0) returns 1, so the calculator shows 1 for base 0 and exponent 0.

Negative bases with fractional exponents: An expression such as \((-8)^{1/3}\) has the real cube root \(-2\). However, floating-point power functions usually return NaN (not a number) for a negative base with a non-integer exponent, because a decimal exponent can't be identified as an exact fraction with an odd denominator.

Advertisement

Common Powers Table

This table lists exact values of \(b^n\) for bases 2, 3, 5 and 10 with exponents 0 through 10. Every power in a row equals the one before it multiplied by the base. For example, \(2^{10} = 2 \cdot 2^9 = 2 \cdot 512 = 1024\).

Exponent \(n\) \(2^n\) \(3^n\) \(5^n\) \(10^n\)
0 1 1 1 1
1 2 3 5 10
2 4 9 25 100
3 8 27 125 1,000
4 16 81 625 10,000
5 32 243 3,125 100,000
6 64 729 15,625 1,000,000
7 128 2,187 78,125 10,000,000
8 256 6,561 390,625 100,000,000
9 512 19,683 1,953,125 1,000,000,000
10 1,024 59,049 9,765,625 10,000,000,000

Squares and Cubes of 1–12

The square of \(n\) is \(n^2 = n \cdot n\), and the cube is \(n^3 = n \cdot n \cdot n\). For example, \(12^3 = 12 \cdot 12 \cdot 12 = 144 \cdot 12 = 1728\).

\(n\) \(n^2\) \(n^3\)
1 1 1
2 4 8
3 9 27
4 16 64
5 25 125
6 36 216
7 49 343
8 64 512
9 81 729
10 100 1,000
11 121 1,331
12 144 1,728

Some values appear more than once: \(2^6 = 4^3 = 8^2 = 64\) and \(3^6 = 9^3 = 27^2 = 729\). Each case follows from the power-of-a-power rule.

Conventions and edge cases

Each case below was run through this calculator; the result column is what it actually returns.

CaseInputResult
Negative exponent (2 to the −3)2, -30.125
0 to the power 00, 01

Checked on 2026-11-08

Frequently Asked Questions

What happens if the exponent is 0? Any non-zero base raised to the power of 0 equals 1. This is a mathematical rule the calculator follows automatically.

Can I use a negative base? Yes. A negative base with a whole-number exponent works normally — for example \((-2)^3 = -8\). However, a negative base combined with a fractional exponent (like a square root) is undefined in real numbers and may return "NaN".

Does it handle very large numbers? Yes, within the limits of double-precision arithmetic. Extremely large results (such as huge bases with high exponents) may be displayed in scientific notation or, if they exceed the maximum, as "Infinity".

Last updated:

Most popular in Math and Statistics

View all Math and Statistics calculators