1. Home
  2. Calculators
  3. Exponent & Logarithm Calculator

Exponent & Logarithm Calculator

For students who need a power, a root or a logarithm, and the exact digits of a big whole-number power.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use Exponent & Logarithm Calculator

  1. Enter your numbers, or press a sample to see an example.
  2. Read the results and the table under them.
  3. Copy the results or download the table.

Features

  • Powers, roots and logarithms in one page
  • Any logarithm base
  • Exact digits for whole-number powers
  • Natural, base-10 and base-2 logs
  • Reciprocal and scientific notation of the result

Supported formats

Input

  • A typed number

You get

  • On-screen results
  • Copyable text
  • CSV table

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Exponent & Logarithm Calculator is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • Whole-number powers are exact; other results are decimals shown to about 12 significant digits.
  • Logarithms need a positive number and a base above 0 that is not 1.
  • Everything runs in your browser; nothing you type is sent anywhere.

Guide

Powers, roots and logarithms to any base, with exact digits for whole-number powers

Powers, roots and logarithms are three views of one relationship. If a to the power b equals c, a power finds c, a root finds a and a logarithm finds b. This calculator does all three, shows the answer in plain and scientific notation where useful, and checks it by working the relationship backward.

Powers

Enter a base and an exponent. When both are whole numbers, and the exponent is not negative, the result is computed with big integers, so a number such as 7 to the power 40 shows every one of its 34 digits. The page reports how many digits the exact value has, the value in scientific notation, and its reciprocal. Exact digits are given while the result has fewer than 400 digits, and results longer than 40 digits are also placed in a text box that you can copy or download. With a negative or fractional exponent the answer is a decimal, shown to about twelve significant digits, and 2 to the power minus 3 is 0.125, with a reciprocal of 8.

Roots

Enter a number and a whole-number root n from 2 to 1,000. The tool finds the nth root and then raises it to the nth power to check. If that gives back the number exactly, the line says that the root is exact, as for the cube root of 27, which is exactly 3 because 3 cubed is 27. If not, the answer is a decimal and the check line shows how close the return trip comes. An even root of a negative number is not real, and the page rejects it with that message, while an odd root of a negative number works.

Logarithms

A logarithm answers the question to what power the base must be raised to get x. Enter x and a base b. The page shows the logarithm and a check, b to the power of the result. It also shows three standard logarithms of x: the natural logarithm ln x, the common logarithm in base 10 and the binary logarithm in base 2. These are the three that appear on calculators and in computing, and for any other base the answer follows from the change-of-base rule.

Edge cases

x must be greater than 0, and the base must be greater than 0 and not 1, since a base of 1 would need an exponent of infinity. Zero cannot be raised to a negative power, and a negative base with a fractional exponent is not a real number, so the page rejects both. Zero to the power zero is shown as 1. Results close to a whole number may differ from it in the last digits because the answer is a rounded decimal, so rely on the check line for exactness.

A worked example

2 to the power 10 is 1,024, a number with 4 digits and a reciprocal of 0.0009765625. The cube root of 27 is 3, and the check shows the root cubed is 27. For the logarithm of 1,024 in base 2, the answer is 10, the natural logarithm is 6.9314718056, the common logarithm is 3.01029995664 and the binary logarithm is 10, with the check showing 2 to the power 10 is 1,024. For 7 to the power 40, the exact value is 6,366,805,760,909,027,985,741,435,139,224,001, which is 6.3668057609 × 10^33.

Limits

The page works with real numbers only. It does not produce complex roots or logarithms of negative numbers. Non-integer results are floating-point decimals, so they can differ from the true value in the last shown digit. A result too large for a floating-point number, such as 10 to the power 400, is reported as too large rather than as a value.

Checked against the current version of the Exponent & Logarithm Calculator on .

Frequently asked questions

How are a power, a root and a logarithm related?

They answer three different questions about the equation a to the power b equals c. A power finds c from a and b, a root finds a from b and c, and a logarithm finds b from a and c.

How do I take a logarithm in a base my calculator lacks?

Use change of base: log base b of x equals the natural log of x divided by the natural log of b. The page does that for you and prints the natural, base-10 and base-2 logs of the same number as a cross-check.

What is log base 2 of 1024?

It is 10, because 2^10 = 1024.

How exact is 7 to the power 40?

For whole-number bases and exponents the answer is computed with big integers, so all 34 digits are exact: 6,366,805,760,909,027,985,741,435,139,224,001.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.