Log Calculator
Calculate log₁₀, natural log (ln), log₂, and any custom base logarithm for a positive number. All four results display simultaneously.
Enter a positive number to compute its logarithms.
Advertisement
Logarithm Formulas
A logarithm answers: what exponent gives us this number? The change-of-base formula lets you calculate any base from natural log.
log₁₀(n) = log(n) / log(10)
ln(n) = natural log (base e ≈ 2.71828)
log₂(n) = ln(n) / ln(2)
log_b(n) = ln(n) / ln(b) [change-of-base]
Understanding the Change-of-Base Rule
The change-of-base formula is one of the most useful tools for working with logarithms. It states that log base b of n equals the ratio of the logarithms of n and b in any common base. Most scientific calculators provide only log₁₀ and ln, so this formula makes every other base accessible.
Logarithms also obey three key identities that are worth internalising. The product rule states that log(a × b) = log(a) + log(b). The quotient rule states that log(a / b) = log(a) − log(b). The power rule states that log(aⁿ) = n × log(a). These three rules underlie most logarithmic simplifications in algebra and calculus.
The inverse relationship between logarithms and exponents means that e^(ln(x)) = x and 10^(log₁₀(x)) = x for all positive x. This property is used extensively in solving exponential equations, such as finding the time needed for an investment to double at a given interest rate.