dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day! You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? Contact-me!

Tool for calculating logarithms. The logarithm function is denoted log or ln and is defined by a base (the base e for the natural logarithm).

Answers to Questions

What is the natural logarithm?

The natural logarithm is the function whose derivative is the inverse function of \( x \mapsto \frac 1 x \) defined for \( x \in \mathbb{R}_+^* \).

The natural logarithm is noted \( \log \) or \( \ln \) and is based on the number \( e \approx 2.71828\ldots \) (see decimals of number e).

Example: \( \Log(e) = \ln(e) = 1 \)

Example: \( \Log(1) = \ln(1) = 0 \)

Some people use \( \log \) for \( \log_{10} \), so make sure to know which notation is used.

What is the neperian logarithm?

The neperian logarithm is the other name of the natural logarithm.

What is the decimal logarithm?

The decimal logarithm noted \( \log_{10} \) is the base \( 10 \) logarithm. This is one of the most used logarithms in calculations and logarithmic scales. $$ \log_{10}(x) = \frac { \ln(x)} { \ln(10) } $$

Example: \( \log_{10}(1000) = 3 \)

What is the binary logarithm?

The binary logarithm noted \( \log_{2} \) (or sometimes \( lb \)) is the base \( 2 \) logarithm. This logarithm is used primarily for computer calculations. $$ \log2(x) = \frac {\ln(x)} {\ln(2)} $$

Ask a new question

Source code

dCode retains ownership of the source code of the script Logarithm online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the online Logarithm script for offline use, for you, your company or association, see you on contact page !

dCode uses cookies to customize the site content, analyze user behavior and adapt dCode to your use. Some data is stored and collected for advertising purposes and may be shared with our partners. OK