Logarithm Calculator

Calculate log base 10, log base e (ln), or log base n for any positive number.
This is the value you want to find the logarithm of. Must be greater than 0.
Default is 10 (common log). Enter e for natural log (ln), or any positive number except 1.
Quick Select Base:
Enter a positive number for x and a base (default 10, or use 'e' for ln).
Tip: For log10(x), leave base blank or enter 10.
For ln(x), enter e as the base.
For logn(x), enter your own base.
log 10 ( 100 ) =  

Result

Enter a number and base to see the logarithm result here.

Related Math Tools
Exponential
Calculate
Scientific
Calculate
Root
Calculate
Percentage
Calculate
Number Theory
Calculate

How to Calculate Logarithms

Example: log₁₀(100) = 2, ln(e) = 1, log₂(8) = 3.

How to Build Skills with Logarithms

Example: To solve for x in 2x = 16, use log2(16) = 4, because 2⁴ = 16.

Frequently Asked Questions

A logarithm is the exponent to which a base must be raised to produce a given number. For example, log₁₀(100) = 2 because 10² = 100.

To calculate a logarithm, use the formula log_b(a) = x, which means b^x = a. You can use a calculator or logarithm tables.

Logarithms are used in mathematics, science, engineering, and finance for solving exponential equations, measuring sound intensity, pH, and more.