← Math Calculators

Log Calculator

Use this free log calculator to find the logarithm of any number to any base. Enter the number and the base, with base 10 as the default, to work out the log in seconds. The most common bases are 10, e, and 2, and this calculator works with any of them.

How it works

A logarithm asks what power the base must be raised to in order to get the number. The log of 100 base 10 is 2, because 10 raised to the 2nd power is 100. The log of 8 base 2 is 3, because 2 raised to the 3rd power is 8. The calculator uses the change-of-base rule, log base b of x = ln(x) / ln(b), so any base works.

The most common bases are 10, the common log used in science and engineering scales like pH and decibels; e, about 2.718, the natural log used in growth and decay; and 2, used in computing. Enter 10, 2.718, or 2 as the base to get any of those, or any other base you need.

Logs turn multiplication into addition, which is why they compress huge ranges into small numbers. A pH of 6 is ten times as acidic as a pH of 7, and a sound 10 decibels louder carries ten times the intensity — each step of 1 on a base-10 log scale is a factor of 10.

Example: The log of 1,000 base 10 is 3.0000, because 10 raised to the 3rd power is 1,000.

Frequently asked questions

What is a logarithm?

A logarithm asks what power the base must be raised to in order to get the number. The log of 100 base 10 is 2, because 10 raised to the 2nd power is 100.

How do I calculate a log with a different base?

Enter the number and the base you want, such as 2 or 10. The calculator uses the change-of-base rule, dividing the natural log of the number by the natural log of the base.

More Math Calculators

← Back to all calculators