Logarithm Calculator — Log Base N of X
Result
—
Formula
—
Related Values
—
Understanding Logarithms and Their Applications
A logarithm answers the question: to what power must a base be raised to produce a given number? This calculator computes logarithms for any positive number using common log (base 10), natural log (base e), binary log (base 2), or any custom base. It applies the fundamental definition log_b(x) = y, where b^y = x, and supports the change of base formula log_b(x) = ln(x) / ln(b) for arbitrary bases.
The three most widely used logarithm bases each serve a distinct purpose. The common logarithm (base 10) is used in decibel calculations, pH chemistry, and the Richter earthquake scale. The natural logarithm (base e, where e = 2.71828) is fundamental to calculus, compound interest, population growth models, and radioactive decay equations. The binary logarithm (base 2) is essential in computer science for analyzing algorithm complexity, data compression, and information theory.
Logarithms transform multiplication into addition and exponentiation into multiplication, which is why they were historically used for manual computation before electronic calculators existed. Today, logarithmic scales remain indispensable for visualizing data that spans many orders of magnitude, such as earthquake intensity, sound levels, and stellar brightness. Understanding when and how to apply logarithms is a core skill in mathematics, physics, engineering, and data science.
Frequently Asked Questions
What is a logarithm?
A logarithm answers: "To what power must the base be raised to get this number?" log_b(x) = y means b^y = x. For example, log_10(100) = 2 because 10^2 = 100.
What are common logarithm bases?
Base 10 (common log, used in science and engineering), base e = 2.71828 (natural log ln, used in calculus and continuous growth), and base 2 (used in computer science and information theory).
What is the change of base formula?
log_b(x) = ln(x) / ln(b) = log(x) / log(b). This formula lets you calculate logarithms of any base using a calculator that only has ln and log buttons.