Skip to main content
ponderloop

Exponent Calculator

Enter a base and an exponent to get the exact power: 2^100 = 1,267,650,600,228,229,401,496,703,205,376 (an exact whole number with 31 digits), 8^(2/3) = 4 and 2^(−3) = 1/8. Whole-number powers are computed in full with BigInt up to 20,000 digits; beyond that you get the digit count, the first and last digits and the scientific notation, for example 2^1000000 has 301,030 digits. The tool also solves b^x = y for the exponent or the base, and shows the product, quotient and power rules step by step.

Updated Runs in your browser: nothing you enter is uploadedHow this tool works

Calculate

a whole number, decimal or fraction; negative is fine for whole-number exponents, or e

a whole number, decimal or fraction like 2/3; negative is fine

2^100 =

1,267,650,600,228,229,401,496,703,205,376

Exact whole number with 31 digits.

Exact value
1,267,650,600,228,229,401,496,703,205,376
Precision
Exact, no rounding

Step by step

  1. Multiply 2 by itself 100 times: 2^100 = 1,267,650,600,228,229,401,496,703,205,376.

Laws of exponents

Each example is evaluated by the calculator. The rules need b ≠ 0 for zero and negative exponents, and a positive base for fractional ones.
LawRuleExample
Productb^m × b^n = b^(m + n)2⁵ × 2³ = 2⁸ = 256
Quotientb^m ÷ b^n = b^(m − n)5⁹ ÷ 5⁶ = 5³ = 125
Power of a power(b^m)^n = b^(m × n)(2³)⁴ = 2¹² = 4,096
Power of a product(a × b)^n = a^n × b^n(2 × 5)³ = 10³ = 1,000, and 2³ × 5³ = 8 × 125 = 1,000
Power of a quotient(a ÷ b)^n = a^n ÷ b^n(2/3)³ = 8/27, and 2³ ÷ 3³ = 8 ÷ 27
Zero exponentb^0 = 1 (b ≠ 0)7⁰ = 1
Negative exponentb^(−n) = 1 ÷ b^n2⁻³ = 1 ÷ 2³ = 1/8
Fractional exponentb^(p/q) = (q-th root of b)^p8^(2/3) = (cube root of 8)² = 2² = 4

Small whole-number powers

Squares, cubes and higher powers, computed exactly.
nn²n³n⁴n⁵
2481632
392781243
416642561,024
5251256253,125
6362161,2967,776
7493432,40116,807
8645124,09632,768
9817296,56159,049
101001,00010,000100,000
111211,33114,641161,051
121441,72820,736248,832

Powers of 2

Results over 40 digits are shown in scientific notation here; the calculator lists exact values of up to 1,000 digits in full.
Exponent n2^nDigits
82563
101,0244
1665,5365
201,048,5767
324,294,967,29610
539,007,199,254,740,99216
6418,446,744,073,709,551,61620
1001,267,650,600,228,229,401,496,703,205,37631
128340,282,366,920,938,463,463,374,607,431,768,211,45639
256≈ 1.15792089237 × 10⁷⁷78
1000≈ 1.07150860719 × 10³⁰¹302

Exact answers the calculator finds

CalculationExact resultWhy
8^(2/3)4the cube root of 8 is 2, and 2² = 4
16^(3/4)8the 4th root of 16 is 2, and 2³ = 8
27^(−2/3)1/9the cube root of 27 is 3, and 3⁻² = 1/9
2^(−3)1/8a negative exponent is a reciprocal: 1/2³
0.5^31/8a decimal base is an exact fraction: (1/2)³
(−2)^5−32a negative base to an odd power stays negative
4^(0.5)2the exponent 0.5 is 1/2, a square root
(1/4)^(−3/2)8the square root of 1/4 is 1/2, and (1/2)⁻³ = 8

When there is no answer

The messages are the ones the calculator shows.
InputWhat the calculator says
0^00^0 is undefined (it is an indeterminate form), so there is no single answer.
0^(−2)0 to a negative power is undefined: 0^(−2) would be 1 divided by 0.
(−2)^0.5A negative base needs a whole-number exponent: (−2)^(0.5) is not a real number, because fractional powers of a negative number are complex. An odd root such as the cube root of −8 does exist: use Find the base with exponent 3 and result −8.
2^10000000000The exponent is too large: with a whole-number base this tool takes exponents up to 1,000,000,000. Try a smaller exponent.
1^x = 51^x is always 1, so no x gives 5. Choose a base other than 1.
2^x = −82^x is always positive for a positive base, so no real x solves 2^x = −8. (The solutions are complex numbers, which this calculator does not compute.)
b^0 = 5The exponent cannot be 0: b^0 is 1 for every base, so b cannot be found from it.
b^2 = −16A negative number has no real square root: no real number raised to an even power is negative. (The roots are complex, which this calculator does not compute.)

Limits

WhatLimit
Exact whole-number powers, written out in fullUp to 20,000 digits
Exponent of a whole-number baseUp to 1,000,000,000 (positive or negative)
Digits listed in the tableUp to 1,000; longer results show the first and last digits instead
Last digits of a huge powerAlways exact: the last 20 digits, by modular exponentiation
Leading digits of a huge powerFrom a logarithm: up to 12 figures, fewer as the exponent grows (2^1000000000 gives 6 figures)
Other bases and exponentsNumbers up to 100 digits; exponents as fractions up to 10^15; exact roots found with BigInt

How to calculate a power or solve for an exponent

  1. Choose what to calculate. Pick Power for b to the x, Find the exponent or Find the base to solve b^x = y, or one of the three rules (multiply, divide, power of a power) to see the working.
  2. Enter the numbers. Type the base and the exponent. Whole numbers, decimals and fractions such as 2/3 work, and so do negatives. Type e as the base for e^x.
  3. Read the answer. An exact result appears as a whole number or fraction, with its decimal; a huge power shows its digit count, first and last digits and scientific notation; anything else is rounded to 12 significant figures.
  4. Follow the working. Open the steps to see which exponent rule is applied at each stage, whether the answer is exact, and any note on precision.

Frequently asked questions

How do you calculate a negative exponent?
A negative exponent means the reciprocal: b^(−n) = 1 ÷ b^n. So 2^(−3) = 1/8, and 10^(−2) = 1/100. Enter the exponent with a minus sign and the calculator gives the exact fraction with its decimal (0.125).
How do you calculate a fractional exponent?
The denominator is a root and the numerator is a power: b^(p/q) is the q-th root of b, raised to the p-th power. So 8^(2/3) is the cube root of 8, which is 2, squared: 8^(2/3) = 4. When b is not a perfect q-th power the result is irrational and shown to 12 significant figures: 2^(0.5) ≈ 1.41421356237. Decimals work too, because 0.5 is read as 1/2.
What is a number to the power 0, and what is 0^0?
Any non-zero number to the power 0 is 1: 7^0 = 1. The reason is the quotient rule: b^n ÷ b^n = b^(n − n) = b^0, and anything divided by itself is 1. 0^0 has no single value, and the calculator says so: “0^0 is undefined (it is an indeterminate form), so there is no single answer.”
How does the calculator handle huge powers?
Whole-number bases and exponents are computed exactly with BigInt. 2^1000 has 302 digits and the calculator lists them all. Past 20,000 digits it gives the digit count (the whole part of the exponent times log₁₀ of the base, plus 1), the leading digits from the fractional part, and the last 20 digits exactly through modular exponentiation. 2^1000000 has 301,030 digits, starts 990065623 and ends 04888403162747109376.
How many digits does a power have?
The number of digits of b^n is floor(n × log₁₀ b) + 1. For 2^1000 that is floor(1000 × 0.30103) + 1 = 302. The calculator shows this count, the first and last digits and the scientific notation for any whole-number power, such as 3^1000000000, which has 477,121,255 digits and starts 52440.
How do I solve b^x = y for the exponent?
Take the logarithm of both sides: x = ln(y) ÷ ln(b). If y is a power of b the answer is exact: 5^x = 125, so x = 3. Otherwise it is irrational: 2^x = 10, so x ≈ 3.32192809489. Use Find the exponent for this; the working shows the change-of-base steps.
How do I find the base when I know the exponent and the result?
Raise both sides to the reciprocal of the exponent, because (b^x)^(1/x) = b. If b³ = 125 then b = 125^(1/3) = 5. A fractional exponent works the same way: b^(2/3) = 4 gives b = 4^(3/2) = 8. For an even exponent the negative of the answer also works, which the calculator notes.
What are the exponent rules?
Same base: multiply by adding exponents (2^5 × 2^3 = 256), divide by subtracting them, and a power of a power multiplies them. Also a^n × b^n = (a × b)^n, b^0 = 1 and b^(−n) = 1 ÷ b^n. The Multiply, Divide and Power of a power options apply the rule to your numbers and check the result against working out each part separately.
Why is a negative base to a fractional power not allowed?
For a whole-number exponent a negative base is fine: (−2)^3 = −8 and (−2)^4 = 16. For a fractional exponent such as (−2)^0.5 there is no real answer, because it is a square root of a negative number. A negative base needs a whole-number exponent: (−2)^(0.5) is not a real number, because fractional powers of a negative number are complex. An odd root such as the cube root of −8 does exist: use Find the base with exponent 3 and result −8.
Is −2² the same as (−2)²?
No. By convention −2² means −(2²) = −4, while (−2)² = 4. This calculator takes the base exactly as you type it, so entering −2 as the base and 2 as the exponent gives 4. To get −4, calculate 2² and put the minus sign in front.
Is my number sent anywhere?
No. Every power, root and logarithm is worked out on your own device, so the base and exponent never leave the page. At most the site counts that the tool was used, never the numbers.

How it works

Typed numbers (decimals, fractions, E notation) become exact fractions of BigInt integers. A whole-number power is computed exactly by BigInt exponentiation while the result has at most 20,000 digits. Beyond that the number of digits comes from floor(n × log₁₀|b|) + 1, with log₁₀ taken from a double (which limits how many leading digits can be trusted, shown in the Precision row), and the last 20 digits come from repeated squaring modulo 10^20, which is exact for any exponent. A base that is a power of ten is exact at any size. A negative exponent is the reciprocal of the positive one. A fractional exponent p/q in lowest terms is exact when the integer q-th roots of the numerator and denominator of the base both exist; the result is then (root)^p computed with integers, as in the logarithm and square root calculators. Everything else is evaluated as e^(x · ln b) in double precision and rounded to 12 significant figures; results too large or small for digits are given as a power of ten. Solving b^x = y uses the change-of-base rule x = ln y ÷ ln b, with an exact fraction when b and y are powers of one common number, and b = y^(1/x) for the base. A negative base needs a whole-number exponent for a real answer, and an odd root of a negative number is negative. The rules of exponents are applied to the combined exponent and checked against the separate powers when the values are small enough to read. Definitions follow NIST DLMF §4.2. Everything runs in your browser and nothing you type is sent anywhere.

Sources

More: Percent, fractions and arithmeticAll math & numbersAll toolsHome & DIY calculators