Calculator and Converter

Log calculator

A logarithm answers the question: to what power must the base be raised to give this number?

Results

Enter your values to see the result.

About this tool

Enter a Number and a Base and the calculator returns the logarithm, along with the natural log, the common log (base 10) and the binary log (base 2) of the same number. It is used in science, finance and computing.

How it is calculated
log_b(x) = ln(x) ÷ ln(b); b must be positive and not 1
Worked example
With Number: 1,000; Base: 10, the result is: Logarithm: 3; Natural log (ln): 6.91; Common log (log₁₀): 3; Binary log (log₂): 9.97.
Good to know
Both Number and Base must be positive, and the Base cannot be 1. The answer is computed as the natural log of the Number divided by the natural log of the Base, so the base-conversion results may carry tiny rounding differences.

Frequently asked questions

What does log base 10 of 1000 mean?

It asks which power of 10 gives 1000. Since 10 cubed is 1000, the Logarithm is 3. The default values in this calculator show exactly that example.

Why is a Base of 1 rejected?

Any power of 1 is still 1, so no exponent could ever produce another Number. The conversion formula would also divide by the natural log of 1, which is zero.

What are ln, log₁₀ and log₂ in the results?

They are the same Number expressed using three common bases: e for the natural log, 10 for the common log and 2 for the binary log. They are shown whatever Base you picked, for easy comparison.

Related calculators