↑

Free Logarithm Calculator

What this tool does

The Logarithm Calculator finds the logarithm of any number in any base. Enter the number and the base, or tap Base 10, Base e or Base 2, and see the result instantly with the natural log, log10 and log2 of the number, a check that raises the base back to the result, and the change-of-base working. Switch to antilog mode to undo a logarithm. Free and private.


Rules: x must be greater than 0, and the base must be greater than 0 and not equal to 1. Logarithms of zero or negative numbers are undefined in real numbers.
-
log result
-
ln (base e)
-
log10
-
log2
-
Check (base^result)
Details

Let us know

Please share your experience with this tool.

Thanks for rating!
No ratings yet — be the first!

How do I use the logarithm calculator?

Enter the number x and the base b, or tap Base 10, Base e or Base 2 for the common bases. The result appears instantly, together with the natural log, log10 and log2 of the number and a check that raises the base back to the result to prove it. The default log base 10 of 1000 gives 3, because 10^3=1000. Press Sample for log base 5 of 125 (also 3, since 5^3=125), or switch the mode to antilogarithm to compute b raised to a power instead.

What is a logarithm?

A logarithm answers the question: to what power must the base be raised to get the number? log base b of x equals y exactly when b^y=x. So log base 10 of 1000 is 3 because 10^3=1000, and log base 2 of 8 is 3 because 2^3=8. Logarithms turn multiplication into addition and powers into multiplication, which is why they appear in decibels, the pH scale, earthquake magnitudes, compound interest and computer science.

What are the common logarithm bases?

Three bases dominate. Base 10 (log10, often written just log) is used in engineering, chemistry and everyday scales like decibels. Base e, about 2.71828, gives the natural logarithm ln, which appears throughout calculus, physics and finance because e is the base of continuous growth. Base 2 (log2) is the computer-science base, counting bits and doublings: log2 of 1024 is 10, which is why 2^10=1024 bytes make a kibibyte. This calculator has one-tap buttons for all three.

What is the change of base formula?

Most calculators only have log10 and ln keys, so other bases use the change of base formula: log base b of x=ln(x) / ln(b). Any consistent base works in the fraction; natural logs are the usual choice. For example, log base 5 of 125=ln(125) / ln(5)=4.828314 / 1.609438=3. The details box shows this working for every calculation, so you can follow the same steps on paper or in an exam.

What is an antilogarithm?

The antilogarithm (antilog) is the inverse operation: given the logarithm y and the base b, it returns b^y, the original number. If log base 10 of 1000 is 3, the antilog of 3 in base 10 is 10^3=1000. Switch this calculator to antilog mode, enter the exponent and the base, and it returns the number, with the log values of that number shown alongside so you can verify the round trip.

Is it free and private?

Yes. The logarithm calculator is completely free, needs no sign-up, and runs entirely in your browser. Nothing is sent to a server. It works on phones, tablets and desktop computers, so it is handy for homework, exams revision and engineering work alike.

FAQs

What is log base 10 of 1000?

3, because 10^3=1000. The logarithm is the power the base must be raised to.

What is the difference between log and ln?

log usually means base 10 (log10), while ln is the natural logarithm with base e, about 2.71828. Both are shown for every number here.

How do I calculate a logarithm with any base?

Use the change of base formula: log base b of x=ln(x) / ln(b). Enter any base in this calculator and the working is shown in the details.

What is an antilog?

The inverse of a logarithm: antilog of y in base b is b^y. For example, the antilog of 3 in base 10 is 1000.

Can I take the logarithm of zero or a negative number?

No. In real numbers, logarithms are only defined for numbers greater than 0, and the base must be greater than 0 and not equal to 1.

Is it free?

Yes, completely free with no sign-up. Everything runs in your browser.


Author

Awais Arshad

Web Tools Developer & Content Creator at FastToolKit.