Must be greater than 0
Common Log (log₁₀)
Base 10 logarithm, used in science and engineering
Natural Log (ln)
Base e (≈2.718) logarithm, used in calculus
Custom Base (log_b)
Logarithm with any positive base except 1
log₁₀(x) = log(x) / log(10)
ln(x) = logₑ(x)
log_b(x) = log(x) / log(b)
The change of base formula allows calculating any logarithm using natural or common logs.
Disclaimer
This calculator provides estimates only. Verify manually for critical calculations.
A logarithm is the inverse operation of exponentiation. In simple terms, the logarithm of a number tells you what exponent you need to raise a base to in order to get that number. For example, log₁₀(100) = 2 because 10² = 100. Logarithms were invented in the early 17th century by John Napier as a way to simplify complex calculations, and they remain fundamental in mathematics, science, and engineering today.
The concept can be expressed as: if b^y = x, then log_b(x) = y. Here, b is the base, x is the number (also called the argument), and y is the logarithm or exponent. This relationship is the foundation of all logarithmic calculations and explains why logarithms are so useful for solving exponential equations.
There are three commonly used types of logarithms, each with its own applications. The common logarithm (log₁₀ or simply "log") uses base 10 and is widely used in scientific notation, sound measurement (decibels), earthquake magnitude (Richter scale), and pH calculations in chemistry. Its prevalence in these fields stems from our decimal number system.
The natural logarithm (ln) uses Euler's number e (≈2.71828) as its base. This logarithm appears naturally in calculus, particularly in derivatives and integrals involving exponential functions. It's essential in modeling continuous growth processes, compound interest, radioactive decay, and population dynamics. Many natural phenomena follow exponential patterns that are most elegantly described using natural logarithms.
Binary logarithm (log₂) and other custom-base logarithms have specialized applications. Log₂ is fundamental in computer science for analyzing algorithm complexity and data structures. Any logarithm can be calculated using the change of base formula: log_b(x) = ln(x) / ln(b), making it possible to convert between different bases as needed.
Logarithms follow several important properties that make them powerful tools for simplifying calculations. The product rule states that log_b(xy) = log_b(x) + log_b(y), meaning the logarithm of a product equals the sum of logarithms. This property historically allowed multiplication to be performed through addition, which was much easier to compute.
The quotient rule states that log_b(x/y) = log_b(x) - log_b(y), converting division into subtraction. The power rule says that log_b(x^n) = n × log_b(x), which brings exponents down as multipliers. These properties are invaluable for solving equations, simplifying expressions, and understanding the behavior of exponential functions.
Understanding these properties helps in many practical applications: from calculating compound interest and analyzing algorithm efficiency to measuring sound intensity and understanding earthquake magnitudes. Logarithms compress large ranges of values into manageable scales, which is why they're used in so many measurement systems.
Logarithms are used extensively in everyday technology and science. In acoustics, sound intensity is measured in decibels (dB), which uses a logarithmic scale: a 10 dB increase represents a 10-fold increase in sound power. This allows us to represent the enormous range of human hearing (from a whisper to a jet engine) in a manageable scale.
In chemistry, the pH scale measures acidity using the negative logarithm of hydrogen ion concentration: pH = -log₁₀[H⁺]. Each unit change represents a 10-fold change in acidity. In seismology, the Richter scale for earthquake magnitude is logarithmic—each whole number increase represents roughly 31.6 times more energy released.
Computer scientists use logarithms to analyze algorithm efficiency. Binary search has O(log n) complexity, meaning doubling the data size only adds one more step. In finance, logarithmic returns help analyze investment performance and model price movements. From information theory to signal processing, logarithms remain indispensable mathematical tools.