CalcTrace

Exponent Calculator

Raise a base to any power: whole, negative, zero, decimal or a fraction such as 2/3. You can also work backwards to find the base or the exponent when you know the other two numbers. The working names the law of exponents used at each step.

Last updated .

What do you want to find?

Solve for

Whole numbers, negatives, decimals and fractions such as 2/3 or -1/2 all work.

Result

Result

–

Show the working

    What an exponent means

    An exponent says how many copies of the base to multiply together. The definition starts with whole numbers and is then extended, one law at a time, so that the same rules keep working for zero, negative and fractional exponents.

    an = a × a × … × a, with n copies of a

    a0 = 1    a−n = 1 ÷ an    ap/q = (q√a)p

    Here a is the base, n is the exponent (also called the power or index), and p/q is a fraction in lowest terms. The symbol q√a is the q-th root of a: the number that gives a when q copies of it are multiplied together. So 210 is ten twos multiplied together, which is 1,024.

    The laws of exponents

    LawRuleExample
    Productam × an = am+n23 × 24 = 27 = 128
    Quotientam ÷ an = am−n35 ÷ 32 = 33 = 27
    Power of a power(am)n = amn(23)2 = 26 = 64
    Power of a product(ab)n = anbn(2 × 5)3 = 8 × 125 = 1,000
    Zero exponenta0 = 1 (a not zero)50 = 1
    Negative exponenta−n = 1 ÷ an2−3 = 1 ÷ 8 = 0.125
    Fractional exponentap/q = (q√a)p82/3 = 22 = 4

    The zero and negative laws are not arbitrary. By the quotient law, 52 ÷ 52 = 50, and any non-zero number divided by itself is 1, so 50 has to be 1.

    Worked example: 8 to the power −2/3

    This one uses three laws in a row.

    1. Deal with the denominator first. The 3 underneath means a cube root. The cube root of 8 is 2, because 2 × 2 × 2 = 8.
    2. Apply the numerator. The 2 on top means square the root: 22 = 4. So 82/3 = 4.
    3. Apply the minus sign. A negative exponent means the reciprocal: 8−2/3 = 1 ÷ 4 = 0.25.

    Taking the root before the power keeps the numbers small. Squaring first gives 64, and the cube root of 64 is also 4, but with larger bases that order quickly becomes unmanageable by hand.

    Solving for the base or the exponent

    If the exponent and the result are known, undo the power with a root. If the base and the result are known, undo it with a logarithm.

    Base: if an = y then a = y1/n

    Exponent: if an = y then n = ln y ÷ ln a

    Here y is the result and ln is the natural logarithm; logarithms to any other base give the same ratio. For a3 = 125 the base is the cube root of 125, which is 5. For a2 = 49 there are two real answers, 7 and −7, because an even power hides the sign of the base. For 2n = 32 the exponent is 5. Most cases do not come out whole: 3n = 20 gives n = 2.9957 ÷ 1.0986 = 2.7268.

    Mistakes and edge cases

    A minus sign in front is not part of the base

    By the usual order of operations, −32 means −(32) = −9, while (−3)2 = 9. In this calculator a base typed as −3 is treated as (−3), so squaring it gives 9. Spreadsheets and programming languages disagree with each other on this, so use brackets whenever a negative base matters.

    Negative bases and fractional exponents

    A negative number has a real odd root but no real even root. (−8)1/3 = −2, because −2 × −2 × −2 = −8. But (−4)1/2 has no real value, since no real number squared is negative. The calculator reduces the exponent to lowest terms and checks whether the denominator is odd before deciding.

    Zero

    Zero to any positive power is 0. Zero to a negative power would mean dividing by zero, so it is undefined. 00 is a matter of convention: algebra, combinatorics and almost all software take it as 1, which is what this page shows, while in the study of limits it is left undefined.

    Growth is faster than intuition suggests

    210 is about a thousand, but 2100 is 1,267,650,600,228,229,401,496,703,205,376, a 31-digit number. The same effect drives compound growth: 5% a year for 10 years multiplies an amount by 1.0510 = 1.6289, noticeably more than the 1.5 that simple addition suggests.