MathsBasic Arithmetic

Exponent
calculator.

Type your numbers into bⁿ = r. Raise any number to a power, or find the base or the exponent, with exact answers and the working.

How it’s worked out

An exponent tells you how many times to use the base as a factor. In bⁿ, b is the base and n is the exponent, also called the power or index. With a whole exponent you just multiply:

bn\displaystyle b^{n}=b×b×⋯×b\displaystyle {}= b \times b \times \cdots \times b(n factors)\displaystyle (n \text{ factors})

Other exponents follow from one rule: when you multiply powers of the same base, you add the exponents. So 5³ × 5⁻³ must equal 5⁰, and 5³ ÷ 5³ is 1. That fixes what a zero, a negative and a fractional exponent mean:

b0\displaystyle b^{0}=1\displaystyle {}= 1b−n\displaystyle b^{-n}=1bn\displaystyle {}= \frac{1}{b^{n}}bpq\displaystyle b^{\frac{p}{q}}=(bq)p\displaystyle {}= \left(\sqrt[q]{b}\right)^{p}
PowerValueRule
535^{3}125Whole exponent: multiply 5 by itself 3 times
505^{0}1Zero exponent: any nonzero base gives 1
5−25^{-2}0.04Negative exponent: 1 divided by 5²
251225^{\frac{1}{2}}5Exponent 1 over q: the qth root (here the square root)
272327^{\frac{2}{3}}9Exponent p over q: the qth root, then the power p

To find a missing exponent, take logarithms of both sides of bⁿ = r. The exponent comes down as a factor, and you divide:

n\displaystyle n=ln⁡rln⁡b\displaystyle {}= \frac{\ln r}{\ln b}

To find a missing base, take the nth root of the result. For b² = 49 that gives 7 and −7, because squaring hides the sign. An odd power keeps the sign, so b³ = −125 has only one real answer.

b\displaystyle b=rn\displaystyle {}= \sqrt[n]{r}

Decimal answers use double precision, which holds about 15 to 17 significant digits. When the base and the exponent are whole numbers, the tool also works out the exact integer, digit by digit, for answers up to 400 digits long.

Worked examples

How many values fit in 64 bits?

Leo is learning how computers store numbers. Each bit is 0 or 1, so 64 bits give 2 × 2 × … × 2, with 64 twos. That is 2⁶⁴.

A phone shows about 1.8447 × 10¹⁹ and drops the rest. The exact answer is 18,446,744,073,709,551,616. It has 20 digits. A 64-bit register can count from 0 up to one less than that.

Open this example in the tool

When does my money double?

Ana puts money in an account that grows 5% a year. Each year multiplies the balance by 1.05, so she wants the n in 1.05ⁿ = 2.

Logarithms give n = ln(2) ÷ ln(1.05) = 14.21 years. Years come in whole steps, so look at the powers on either side: 1.0514 = 1.9799 and 1.0515 = 2.0789. Her money passes double during year 15.

Open this example in the tool

How wide is a cube-shaped tank?

Sam has a cube-shaped water tank that holds 125 liters. One liter is 1,000 cm³, so the volume is 125,000 cm³. The side length b solves b³ = 125,000.

Taking the cube root gives b = 50 cm. The check works: 50³ = 125,000. A negative side would give a negative volume, because an odd power keeps the sign, so 50 cm is the only real answer.

Open this example in the tool

Reading your result

Exact or decimal. Exact is the form an answer key prints. A whole-number power shows every digit. A negative whole exponent shows a stacked fraction, such as 1 over 8 for 2⁻³. A fractional exponent of a whole number shows a simplified root, such as 2√2 for 2 to the power 3 over 2. Switch to Decimal when you need a number to use in another sum.

Significant figures. Choose 3, 6, 9 or 12. Results range from tiny to huge, so a count of digits works better than decimal places. When the decimal hides digits, a note under the switch gives the longer value. Answers above the chosen number of digits, or below 0.000001, switch to scientific notation. The Scientific notation tile always writes the answer that way, so 10⁻⁶ = 0.000001 shows as 1 × 10⁻⁶, the SI prefix micro.

Negative bases. A negative base with a fraction exponent p over q (in lowest terms) has a real value only when q is odd. That follows the rule for real roots in Stewart's Precalculus, section 1.2. The NIST Digital Library of Mathematical Functions, section 4.2, defines the general power through logarithms, which is why many programs return an error here.

PowerReal valueWhy
(−8)13(-8)^{\frac{1}{3}}−2Odd root, odd top number: stays negative
(−8)23(-8)^{\frac{2}{3}}4Odd root, even top number: turns positive
(−32)35(-32)^{\frac{3}{5}}−8Odd root, odd top number: stays negative
(−4)12(-4)^{\frac{1}{2}}not a real numberEven root of a negative number: complex

Limits. IEEE 754 double precision tops out near 1.8 × 10³⁰⁸ and rounds anything below about 5 × 10⁻³²⁴ to 0. Whole-number powers past the top still show their exact digits up to 400 digits. Past that, you get the digit count only.

Common mistakes

  • Reading −3² as 9. The power comes first, so −3² is −9. Only (−3)² is 9. Type the brackets into your own calculator, or put −3 in the base box here.
  • Multiplying the base by the exponent. 2³ is 2 × 2 × 2 = 8, not 2 × 3 = 6.
  • Thinking a negative exponent makes a negative answer. 2⁻³ is 1 over 8, which is 0.125. The minus sign flips the power into a fraction. It does not change the sign.
  • Adding exponents in a power of a power. (2³)² means 2³ × 2³, which is 2⁶ = 64. Multiply the exponents here. You add them only when you multiply two powers of the same base.
  • Typing 0.333 for one third. 0.333 is not exactly 1 over 3. With a negative base, (−8) to the power 0.333 has no real value, while (−8) to the power 1 over 3 is −2. Pick Fraction and type 1 over 3 instead.
  • Rounding a doubling time down. 1.05ⁿ = 2 gives 14.21, but 14 years is not enough: 1.05¹⁴ is only 1.9799. When the steps are whole years, round up.

Questions people ask

Each extra factor takes a fraction of what you already have. So 0.9² = 0.81, and 0.9¹⁰ is about 0.349, about a third of where you started. Any base between 0 and 1 shrinks toward 0 as the exponent grows, while a negative exponent does the reverse: 0.5⁻² = 1 ÷ 0.25 = 4. Enter 0.9 as the base and drag the handle on the graph to watch the value fall.

Sources