Logarithm Calculator

Find the logarithm of a value to any base, with natural, base-10, and base-2 logs alongside. Enter the value and base.

Logarithm
To the given base.

Usage Tip

log base 10 of a number is roughly its digit count minus one: 1000 has 4 digits and a log of 3.

THE MATH
log to base b of x = ln(x) ÷ ln(b)
The exponent the base is raised to in order to give x
A logarithm is the inverse of exponentiation: it asks what power produces a given number.
The change-of-base formula computes any base from natural logs.
The value must be positive; the base must be positive and not 1.
Natural log (base e), base 10, and base 2 are always shown.
Logs turn multiplication into addition.
Scroll to Top

The calculators and tools on Formula Factory are provided for general guidance and informational purposes only. Results are estimates based on standard formulas and the values you enter — they do not constitute professional engineering, electrical, or architectural advice. Always verify calculations with a qualified professional before making decisions for any safety-critical, code-compliance, or commercial application. Formula Factory makes no representations or warranties as to the accuracy or completeness of any result, and accepts no liability for errors, omissions, or any outcomes arising from reliance on this information.