Exponent, Root and Logarithm Calculator
Powers, roots and logarithms in any base, exact wherever an exact answer exists, with the steps shown.
Results
12 to the power 3/2
41.56921938
Rounded to 10 significant figures. Exact value: 24√3.
- Simplest radical form
- 24√3
- Scientific notation
- 4.156921938 × 10¹
- Digits before the decimal point
- 2Leading zeros not counted.
How this was calculated
- An exponent 3/2 means the square root, then the power 3: 123/2 = (√12)3.
- Write it as one root: 123/2 = √(123) = √1,728.
- Pull out the largest perfect square: 1,728 = 242 × 3, so √1,728 = 24√3.
- 123/2 = 24√3 ≈ 41.56921938.
- In a spreadsheet: =POWER(12, 3/2)
| Exponent | Exact form | Value |
|---|---|---|
| −3/2 | √3/72 | 0.02405626122 |
| −1/2 | √3/6 | 0.2886751346 |
| 1/2 | 2√3 | 3.464101615 |
| 3/2 (yours) | 24√3 | 41.56921938 |
| 5/2 | 288√3 | 498.8306326 |
| 7/2 | 3,456√3 | 5,985.967591 |
| 9/2 | 41,472√3 | 71,831.61109 |
Chart data: The curve y = 12ˣ
| Point | x (exponent) | y = 12ˣ |
|---|---|---|
| Your result | 1.5 | 41.57 |
Assumptions
- Exponents are read exactly: a decimal such as 0.75 is the fraction 3/4, and p/q means the q-th root raised to the power p.
- A negative base has a real power only when the exponent in lowest terms has an odd denominator. Otherwise the principal complex value is shown for information.
- Decimals are rounded (half up) to 10 significant figures from a calculation carried well past the 30 figures the page can show; exact forms are not rounded.
Calculated in your browser. This site doesn't send or store the numbers you enter.
What you can work out here
This calculator finds a power , an nth root , a logarithm in any base, or the exponent that solves . The four are inverses of one another: , and describe the same fact from three sides. Answers are exact whenever an exact answer exists and fits on the page (whole numbers with every digit, fractions, simplest radical forms such as , and logarithms such as ). Otherwise they are decimals rounded to the number of significant figures you choose. When there is no real answer, the result says so and explains why instead of showing an error.
How to use it
Choose what to Calculate (Power, Root, Log or Solve bʸ = x) and type the numbers. The answer updates as you type.
- Base and Exponent (Power): each box takes a whole number, a decimal, a fraction such as
2/3or-1/2, a mixed number such as2 1/2, or scientific notation such as1.2e-5. The base can also bee, for powers of Euler’s number. Write a negative base as-8or(-8). - Which root and Number (Root): square and cube roots have their own buttons; Other index asks for .
- Log base and Number (Log): base 10, base and base 2 are buttons; Other base opens the Base box.
- Base and Number (Solve bʸ = x): and .
- Answer format: significant figures (1 to 30; 10 when left blank) and automatic or scientific notation.
The Try chips load cases from this page. Under each answer are the steps with your numbers, a table of neighboring powers or roots with a CSV download, and the curve through your answer. Switching modes keeps your numbers, so after you can press Solve and see the same answer as the exponent in .
How to calculate exponents, including negative and fractional powers
A whole-number exponent counts repeated multiplication, a negative exponent takes the reciprocal, and a fractional exponent takes the th root and then the th power:
- is the base and a whole number;
- is the exponent as a fraction in lowest terms.
So , , and . The calculator reads an exponent typed as a decimal as the exact fraction it stands for: 0.75 is 3/4, 0.2 is 1/5, and 0.3333 is 3,333/10,000, not 1/3. For positive bases that only matters in the last digits, but for negative bases it decides whether there is an answer at all (see below).
Worked example: 12 to the power 3/2
Enter Base 12 and Exponent 3/2.
- The exponent 3/2 means the square root, then the cube: .
- Write it as one root: .
- Pull out the largest perfect square: , so .
- As a decimal to 10 significant figures: .
The table shows the neighboring powers of 12 at 1/2, 5/2 and so on, each 12 times the one before. Switch modes and the same numbers answer the inverse questions: Root gives again, and Log and Solve keep the base 12 and give , the exponent in .
How to find a square root, cube root or nth root
The nth root of is the number that gives when raised to the power ; it equals . The root sign always means the principal root. For an even index that is the root that is 0 or more: , even though as well. For an odd index the root has the same sign as the number, so .
A perfect power has an exact root, which the calculator gives as a whole number or fraction. Anything else has an irrational root, shown in simplest radical form and as a rounded decimal.
Simplifying roots: simplest radical form
To simplify , split into a perfect nth power times a leftover with no nth-power factor, then take the root of the perfect power:
- , so .
- , so .
- (about 0.7071067812), which clears the root from the denominator.
The steps show the split the calculator used, so you can check it against your own factoring.
How to calculate a logarithm in any base (change of base)
is the exponent that turns into : means . The base must be greater than 0 and not 1, and must be greater than 0. For any base, divide natural logs:
For :
That fits between whole powers: and .
Some logarithms are exact fractions, and the calculator finds them. , because and , so . Likewise .
Natural log (ln) vs common log (log)
They are the same idea in different bases. The natural log, ln, uses base ; the common log, usually written log, uses base 10. So while , and the two always differ by the same factor, . In some computer science writing a bare “log” means base 2 instead, so check which base a formula assumes. In a spreadsheet, =LN(x) is the natural log and =LOG(x, base) works in any base, using base 10 when you leave the base out.
An antilog undoes a log: the antilog of 2.5 in base 10 is , and the natural antilog of 1.5 is . Use Power with base 10 or e.
Solving for an exponent: bʸ = x
Taking logs of both sides gives . This answers “how many times do I multiply by to reach ?”
- Doublings to reach 1,000,000: gives , so 20 whole doublings are needed ().
- Growth of 7% per step: gives . After 10 steps the total is , short of double; the 11th step reaches .
When the answer is between 0 and 24, the table in Solve mode lists every whole power from up to one past the answer, so you can see the step where is passed; otherwise it shows the eight whole powers around the answer.
When there is no real answer (negative roots, log of zero)
- Even roots of negative numbers. No real number squared is negative, so has no real value. The calculator says so and gives the complex value for information: , where .
- Negative bases with fractional exponents. A real answer exists only when the exponent in lowest terms has an odd denominator: and , because 0.2 is 1/5. But 0.3333 is 3,333/10,000, whose denominator is even, so has no real value (its principal complex value is about ). If you meant the cube root, type 1/3.
- Logarithms of 0 and of negative numbers. No power of a positive base is 0 or negative, so has no value at all and has no real value (its principal complex value is ).
- Base 1, or a base of 0 or less, in Log and Solve, and 0 to a negative power, which would mean dividing by 0: these can’t be calculated, and the message under the box says why.
What is 0 to the power of 0?
This calculator gives and adds a note. That value keeps the binomial theorem working, which is Donald Knuth’s argument for it in the paper listed in the sources. Some algebra courses, including the OpenStax text in the sources, leave without a value, and in calculus it is an indeterminate form: when a base and an exponent both only approach 0, the limit can come out as any number. So if your course leaves without a value, follow your course.
Very large and very small results
Whole-number results are exact up to about 30,000 digits, listed in full with a button that copies them. For that is all 31 digits:
Above about , ordinary double-precision arithmetic overflows to Infinity. When a result that large is too long to list, or isn’t a whole number or fraction at all (such as ), the calculator works with its logarithm instead. For :
The whole part of the logarithm gives the power of ten, and 10 raised to the rest gives the leading digits, so the result is about .
Reading the result
- The answer is exact when it says so; otherwise it is rounded to your significant figures. Irrational roots also show their simplest radical form.
- The tiles add the exact form, scientific notation, the negative square root, the digit count, or the same number in other log bases, depending on the mode.
- The steps show the method with your numbers and end with the spreadsheet formula that does the same calculation.
- The table gives nearby powers (Power), roots of your number from square to 10th (Root), or whole powers of the base around your number (Log and Solve).
- The check puts the rounded answer back in, so it can differ from your number in the last few digits, more so when the answer is a large number.
Assumptions and limitations
- Only real numbers count as answers. Complex values appear for information only.
- Decimals are rounded half up from a calculation carried well past the 30 figures the page can show, so the last figure shown is correctly rounded; exact forms are never rounded.
- Exponents are limited to ±1,000,000,000 and root indexes to 1,000. Simplest radical form is found for numbers under the root up to about 9 × 10¹⁵; above that the calculator gives the decimal only.
- The calculator works one operation at a time. For expressions such as , use a scientific calculator.
Common mistakes
- Reading as . Order of operations applies the exponent first, so , while . Type a negative base as
-3(or(-3)) to mean . - Typing 0.333 for 1/3. With a positive base the difference is small, but with a negative base it removes the real answer; the Exponent box warns you when it spots this.
- Forgetting the negative square root. is the positive root, 8.485281374; when solving , works too.
- Mixing up log and ln. A result that is off by a factor of about 2.302585093 means one of the two used base and the other base 10.
- Dividing instead of taking a root. is , not .
Questions
How do I multiply or divide powers with the same base?
Add the exponents to multiply and subtract them to divide: 2³ × 2⁴ = 2⁷ = 128, and 2⁷ ÷ 2³ = 2⁴ = 16. Raising a power to a power multiplies the exponents: (2³)² = 2⁶. These rules need the same base; 2³ × 3⁴ has no shortcut.
Can a logarithm be negative?
Yes. With a base above 1, the log of any number between 0 and 1 is negative, because it takes a negative power to get there. For example, log₁₀ 0.5 ≈ −0.3010299957, since 10 to that power is 0.5. What can’t be negative is the number you take the log of.
What is log 1 in any base?
0. Every allowed base raised to the power 0 is 1, so the log of 1 is 0 in any base greater than 0 other than 1. Likewise the log of the base itself is always 1, since b¹ = b.
Sources
- College Algebra 2e, 1.2 Exponents and Scientific Notation OpenStax (Rice University) The product, quotient and power rules, the zero exponent rule (a to the power 0 is 1 for nonzero a, with 0 to the power 0 left without a value in that course), the negative exponent rule (a to the power −n is 1 over a to the power n) and scientific notation.
- College Algebra 2e, 1.3 Radicals and Rational Exponents OpenStax (Rice University) Principal square roots and principal nth roots (the root with the same sign as the number), the index and the radicand, odd roots of negative numbers, simplifying radicals by factoring out perfect powers, rationalizing denominators, and rational exponents as roots.
- College Algebra 2e, 2.4 Complex Numbers OpenStax (Rice University) The imaginary unit i as the square root of −1 and square roots of negative numbers written as multiples of i, using the principal root.
- College Algebra 2e, 6.3 Logarithmic Functions OpenStax (Rice University) log base b of x = y means b to the power y = x, bases greater than 0 and not 1, no real logarithm of 0 or of a negative number, the common log (base 10, written log) and the natural log (base e, written ln), and log meaning base 2 in some computer science writing.
- College Algebra 2e, 6.5 Logarithmic Properties OpenStax (Rice University) log base b of 1 is 0 and log base b of b is 1, the product, quotient and power rules for logarithms, and the change-of-base formula log base b of M = ln M ÷ ln b.
- Two Notes on Notation Donald E. Knuth, arXiv:math/9205211 (1992) Why 0 to the power 0 should be 1 (the binomial theorem needs it), and why Cauchy was right to list it among indeterminate limiting forms when both parts only approach 0.
- College Algebra 2e, 1.1 Real Numbers: Algebra Essentials OpenStax (Rice University) Exponential notation (a to the power n as n factors of a) and the order of operations, with exponents before multiplication.
- Number.MAX_VALUE MDN Web Docs (Mozilla) The largest double-precision number, about 1.7976931348623157 × 10^308; larger values become Infinity.
- POWER function Microsoft Support POWER(number, power) raises a base to a power; the ^ operator does the same.
- EXP function Microsoft Support EXP(number) returns e raised to that power, with e = 2.71828182845904.
- LN function Microsoft Support LN(number) returns the natural logarithm of a positive number.
- LOG function Microsoft Support LOG(number, base) returns the logarithm in any base, and base 10 when the base is left out.
Smart Financial Calc: https://smartfinancialcalc.com/math/exponent-root-log-calculator/