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
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
- Multiply 2 by itself 100 times: 2^100 = 1,267,650,600,228,229,401,496,703,205,376.
Precision and method
Laws of exponents
| Law | Rule | Example |
|---|---|---|
| Product | b^m × b^n = b^(m + n) | 2⁵ × 2³ = 2⁸ = 256 |
| Quotient | b^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 exponent | b^0 = 1 (b ≠ 0) | 7⁰ = 1 |
| Negative exponent | b^(−n) = 1 ÷ b^n | 2⁻³ = 1 ÷ 2³ = 1/8 |
| Fractional exponent | b^(p/q) = (q-th root of b)^p | 8^(2/3) = (cube root of 8)² = 2² = 4 |
Small whole-number powers
| n | n² | n³ | n⁴ | n⁵ |
|---|---|---|---|---|
| 2 | 4 | 8 | 16 | 32 |
| 3 | 9 | 27 | 81 | 243 |
| 4 | 16 | 64 | 256 | 1,024 |
| 5 | 25 | 125 | 625 | 3,125 |
| 6 | 36 | 216 | 1,296 | 7,776 |
| 7 | 49 | 343 | 2,401 | 16,807 |
| 8 | 64 | 512 | 4,096 | 32,768 |
| 9 | 81 | 729 | 6,561 | 59,049 |
| 10 | 100 | 1,000 | 10,000 | 100,000 |
| 11 | 121 | 1,331 | 14,641 | 161,051 |
| 12 | 144 | 1,728 | 20,736 | 248,832 |
Powers of 2
| Exponent n | 2^n | Digits |
|---|---|---|
| 8 | 256 | 3 |
| 10 | 1,024 | 4 |
| 16 | 65,536 | 5 |
| 20 | 1,048,576 | 7 |
| 32 | 4,294,967,296 | 10 |
| 53 | 9,007,199,254,740,992 | 16 |
| 64 | 18,446,744,073,709,551,616 | 20 |
| 100 | 1,267,650,600,228,229,401,496,703,205,376 | 31 |
| 128 | 340,282,366,920,938,463,463,374,607,431,768,211,456 | 39 |
| 256 | ≈ 1.15792089237 × 10⁷⁷ | 78 |
| 1000 | ≈ 1.07150860719 × 10³⁰¹ | 302 |
Exact answers the calculator finds
| Calculation | Exact result | Why |
|---|---|---|
| 8^(2/3) | 4 | the cube root of 8 is 2, and 2² = 4 |
| 16^(3/4) | 8 | the 4th root of 16 is 2, and 2³ = 8 |
| 27^(−2/3) | 1/9 | the cube root of 27 is 3, and 3⁻² = 1/9 |
| 2^(−3) | 1/8 | a negative exponent is a reciprocal: 1/2³ |
| 0.5^3 | 1/8 | a decimal base is an exact fraction: (1/2)³ |
| (−2)^5 | −32 | a negative base to an odd power stays negative |
| 4^(0.5) | 2 | the exponent 0.5 is 1/2, a square root |
| (1/4)^(−3/2) | 8 | the square root of 1/4 is 1/2, and (1/2)⁻³ = 8 |
When there is no answer
| Input | What the calculator says |
|---|---|
| 0^0 | 0^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.5 | 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. |
| 2^10000000000 | The 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 = 5 | 1^x is always 1, so no x gives 5. Choose a base other than 1. |
| 2^x = −8 | 2^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 = 5 | The exponent cannot be 0: b^0 is 1 for every base, so b cannot be found from it. |
| b^2 = −16 | A 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
| What | Limit |
|---|---|
| Exact whole-number powers, written out in full | Up to 20,000 digits |
| Exponent of a whole-number base | Up to 1,000,000,000 (positive or negative) |
| Digits listed in the table | Up to 1,000; longer results show the first and last digits instead |
| Last digits of a huge power | Always exact: the last 20 digits, by modular exponentiation |
| Leading digits of a huge power | From a logarithm: up to 12 figures, fewer as the exponent grows (2^1000000000 gives 6 figures) |
| Other bases and exponents | Numbers 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
- 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.
- 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.
- 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.
- 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 free tools
- Logarithm and Exponent CalculatorCalculate log of any base, ln, log10 and log2, antilogs and b^x, and solve b^x = y, with exact answers shown as fractions and steps.
- Square Root CalculatorSquare roots, cube roots and nth roots with the simplified radical (√72 = 6√2), perfect-power check, 30-digit decimals, negative inputs and fractions.
- Prime Factorization CalculatorCheck if a number is prime and get its prime factors, factor tree, divisors, divisor count and sum, Euler’s totient, and the next and previous prime.
- Factorial CalculatorCalculate n! exactly for any n up to 10,000: digit count, first and last digits, trailing zeros, n!!, subfactorial !n and Stirling’s approximation.
- Scientific CalculatorFree online scientific calculator with live results: trig in DEG, RAD or GRAD, logs, powers, factorial, nPr, nCr, memory and history.
- Half-Life CalculatorSolve for the remaining amount, initial amount, elapsed time or half-life, with decay constant and mean lifetime. Switch to doubling time for growth.
More: Percent, fractions and arithmeticAll math & numbersAll toolsHome & DIY calculators