Exponent Calculator

Enter a base and an exponent to raise a number to any power.

Updated

Enter to calculate Esc to clear

Exponent Calculator

Our Exponent Calculator raises any number to any power and shows the working. Whole-number powers are exact to every digit, so 2100 gives all 31 digits, and huge answers such as 21000 are shown in scientific notation with the full value one click away. It also handles negative exponents (5−2 = 0.04), decimals and fractions such as 1/3 for roots, and negative bases.

Quick answer

An exponent tells you how many times to multiply the base by itself: xn = x × x × … × x (n times). For example, 5³ = 5 × 5 × 5 = 125 and 210 = 1,024. Enter any base and exponent above and the calculator shows the answer instantly.

  • Power of 0: x⁰ = 1 for any non-zero x
  • Negative exponent: x−n = 1 ÷ xn, so 10−2 = 0.01
  • Fractional exponent: x1/2 = √x, so 91/2 = 3
  • Negative base: (−2)³ = −8 but (−2)4 = 16

What Is an Exponent?

An exponent is a small number written above and to the right of a base. It is shorthand for repeated multiplication: instead of 2 × 2 × 2 × 2 × 2 you write 2⁵. The whole expression is called a power, and the answer is the value of that power.

xⁿ = x × x × x × … × x (n times)

5³ = 5 × 5 × 5 = 125
base 5, exponent 3, power 125

The exponent 2 is called squared and 3 is called cubed, because x² is the area of a square with side x and x³ the volume of a cube. Exponents keep very large and very small numbers short: 1012 = 1,000,000,000,000.

Exponent Rules

RuleExample
Product
xᵃ × xᵇ = xᵃ⁺ᵇ
2³ × 2⁴ = 2⁷ = 128
Quotient
xᵃ ÷ xᵇ = xᵃ⁻ᵇ
5⁵ ÷ 5³ = 5² = 25
Power of a power
(xᵃ)ᵇ = xᵃᵇ
(2³)² = 2⁶ = 64
Power of a product
(xy)ⁿ = xⁿyⁿ
(2 × 3)² = 4 × 9 = 36
Zero exponent
x⁰ = 1
7⁰ = 1
Negative exponent
x⁻ⁿ = 1 ÷ xⁿ
10⁻² = 0.01
Fractional exponent
xm/n = (ⁿ√x)ᵐ
272/3 = 3² = 9

Worked Examples

2⁸ = 2 × 2 × 2 × 2 × 2 × 2 × 2 × 2 = 256
5⁻² = 1 ÷ 5² = 1 ÷ 25 = 0.04
9^(1/2) = √9 = 3
27^(2/3) = (∛27)² = 3² = 9
(−2)³ = (−2) × (−2) × (−2) = −8
1.5² = 1.5 × 1.5 = 2.25

Compound interest. Money that grows by a fixed rate each year follows A = P × (1 + r)t. 10,000 invested at 5% a year for 3 years grows to 10,000 × 1.05³ = 10,000 × 1.157625 = 11,576.25. The exponent is the number of years.

Table of Powers

xx²x³x⁴x⁵
2481632
392781243
416642561,024
5251256253,125
101001,00010,000100,000

Powers of 2 are worth knowing for computing: 210 = 1,024 (a kibibyte), 220 = 1,048,576 and 230 = 1,073,741,824.

Exponential Growth

Adding the same amount each step is linear growth; multiplying by the same amount is exponential growth. Exponential growth starts slowly and then overtakes any linear growth:

xLinear, 2xExponential, 2x
122
244
368
51032
10201,024
20401,048,576

The same maths describes bacteria doubling, compound interest and viral spread, and with a base below 1, decay: 100 × 0.5³ = 12.5 is what is left of 100 g of a substance after three half-lives.

Exponents in Excel and Code

Tool5 to the power 3
Excel / Sheets=5^3 or =POWER(5, 3)
Python5 ** 3 or pow(5, 3)
JavaScript5 ** 3 or Math.pow(5, 3)
C / C++ / Javapow(5, 3), Math.pow(5, 3)

In most of these, ^ on its own is not a power: in Python, JavaScript, C and Java it is bitwise XOR, so 5 ^ 3 gives 6. Ordinary floating point also loses digits after about 16 significant figures, which is why 2 ** 100 in JavaScript prints 1.2676506002282294e+30, while this calculator gives every digit.

Common Mistakes

  • Multiplying base and exponent. 2³ is 2 × 2 × 2 = 8, not 2 × 3 = 6.
  • Reading −3² as 9. The exponent comes first, so −3² = −9; only (−3)² = 9.
  • Thinking a negative exponent makes a negative number. 2−3 = 1/8 = 0.125.
  • Spreading a power over a sum. (a + b)² is a² + 2ab + b², not a² + b²: (2 + 3)² = 25, not 13.
  • Adding exponents with different bases. 2³ × 3² cannot be combined into one power; it is 8 × 9 = 72.

Key Terms

Base
The number being multiplied (5 in 5³).
Exponent (index, power)
How many times the base is used (3 in 5³).
Power
The expression 5³, or its value 125.
Squared / cubed
Raised to the power 2 / raised to the power 3.
Reciprocal
1 divided by a number; x−1 is the reciprocal of x.
Scientific notation
A number written as a × 10n, such as 1.071509 × 10301.

How to Use the Exponent Calculator

  1. Enter the base. Type the number to multiply in the “Base (x)” box, for example 5. Whole numbers, decimals and negative numbers all work.
  2. Enter the exponent. Type the power in the “Exponent (n)” box, for example 3, or tap 2, 3, 1/2 or −1. Negative exponents, decimals and fractions such as 1/3 (cube root) are allowed.
  3. Read the result. The answer appears as you type, with the working underneath (for example 5³ = 5 × 5 × 5 = 125). Very large answers are shown in scientific notation, with the digit count and the exact value below.
  4. Copy the result. Press Copy to copy the answer, with every digit for exact results. Press Clear or Esc to start again.

Example: enter 2 and 100 and the result is 1.267651 × 1030, a 31-digit number; Copy gives all of it, 1267650600228229401496703205376.

Who Can Use This Calculator?

StudentsChecking powers, roots and exponent rules in homework
Scientists and EngineersWorking with scientific notation and power laws
FinanceCompound interest and growth over many periods
ProgrammersPowers of 2, big-number checks and exact values

Frequently Asked Questions (FAQs)

What is an exponent?

An exponent says how many times to multiply a number (the base) by itself. In 5³ the base is 5 and the exponent is 3, so 5³ = 5 × 5 × 5 = 125. It is read as “5 to the power of 3” or “5 cubed”.

How do you calculate exponents?

For a positive whole exponent, write the base down that many times and multiply: 2⁸ = 2 × 2 × 2 × 2 × 2 × 2 × 2 × 2 = 256. For large exponents, square and multiply to save steps: 2⁸ = ((2²)²)² = (4²)² = 16² = 256.

Why is any number to the power 0 equal to 1?

Each time the exponent goes down by 1 you divide by the base: 2³ = 8, 2² = 4, 2¹ = 2, so 2⁰ = 2 ÷ 2 = 1. The same pattern works for every non-zero base, which is why x⁰ = 1.

What does a negative exponent mean?

A negative exponent means 1 divided by the positive power: x−n = 1 ÷ xn. So 5−2 = 1 ÷ 25 = 0.04 and 10−3 = 0.001. The answer gets smaller, but it is not negative.

What does a fractional exponent mean?

A fractional exponent is a root. x1/2 is the square root, x1/3 the cube root, and xm/n is the nth root raised to the power m. So 91/2 = 3, 81/3 = 2 and 272/3 = 3² = 9. A decimal exponent works the same way: 160.25 = 2.

What is 0 to the power 0?

0⁰ is usually taken as 1, which is what algebra, combinatorics, Excel, Python and JavaScript use, and what this calculator shows. Some textbooks call it undefined, because 0n = 0 while x⁰ = 1 point to different answers. 0 to a negative power is undefined, because it means dividing by zero.

Can the base be negative?

Yes. A negative base with an even whole exponent gives a positive answer, (−2)4 = 16, and with an odd exponent a negative one, (−2)3 = −8. An odd root also works, (−8)1/3 = −2, but an even root such as (−4)1/2 has no real answer.

Is −3² equal to 9 or −9?

In maths, −3² = −9, because the exponent applies before the minus sign: −(3²). To square −3, write (−3)² = 9. Spreadsheets are the exception: Excel and Google Sheets read =-3^2 as (−3)² and give 9.

How do you type an exponent in Excel or on a keyboard?

Use the caret: 5^3 means 5³. In Excel or Google Sheets type =5^3 or =POWER(5, 3). In Python write 5 ** 3 and in JavaScript 5 ** 3 or Math.pow(5, 3).

Is the Exponent Calculator free?

Yes. It is completely free, needs no sign-up, and can be used as many times as you like.

Try our Exponent Calculator to raise any number to any power instantly.