What is a Logarithm? A Complete Definition

What Is a Logarithm? (Definition)

A logarithm is the inverse operation of exponentiation. In simple terms, a logarithm answers the question: “To what exponent must a base be raised to produce a given number?” For example, log₁₀(100) = 2 because 10² = 100. The logarithm is written as logb(x) = y, which means by = x. Logarithms are fundamental tools in mathematics, science, and engineering for working with exponential relationships, scaling, and solving for unknown exponents.

What Does a Logarithm Actually Mean?

Think of a logarithm as the exponent you need. If you have log2(8), you’re asking: “2 raised to what power gives 8?” The answer is 3 because 2³ = 8. So log2(8) = 3. Every logarithm has three parts: the base (b), the argument (x), and the result (y). The base must be positive and not equal to 1, and the argument must be positive (you can’t take the log of zero or a negative number in the real number system).

A Brief History: Why Were Logarithms Invented?

Logarithms were invented in the early 1600s by John Napier to simplify tedious arithmetic like multiplication and division of large numbers. Before calculators, people used logarithm tables to turn multiplication into addition and division into subtraction. This was a huge time-saver for astronomers, navigators, and engineers. Today we have digital calculators like the Log Calculator, but the underlying concept remains the same.

Common Types of Logarithms

While you can use any positive base, three bases are especially common:

  • Common logarithm (base 10): Written as log(x) or log₁₀(x). For example, log(1000) = 3. Used in pH calculations and the Richter scale.
  • Natural logarithm (base e): Written as ln(x). Base e ≈ 2.71828. Used in compound interest, population growth, and physics.
  • Binary logarithm (base 2): Written as log₂(x). Used extensively in computer science for information theory and algorithm analysis. See our page on Binary Logarithms in Computer Science for more detail.

Worked Example: Calculate log₂(32) Manually

Let’s find log₂(32). Ask: “2 raised to what power equals 32?” Start with small exponents:

  • 2¹ = 2
  • 2² = 4
  • 2³ = 8
  • 2⁴ = 16
  • 2⁵ = 32 → So log₂(32) = 5

Verification: 2⁵ = 32. That’s it! For more complex examples, refer to How to Calculate Logarithms Manually.

How Logarithms Are Used in Real Life

Logarithms appear everywhere:

  • Earthquake measurement: The Richter scale uses base‑10 logarithms. A magnitude 6 earthquake is 10 times stronger than a magnitude 5.
  • Sound intensity: Decibels (dB) are logarithmic. A 20 dB sound is 10 times more intense than 10 dB.
  • Finance: Compound interest and continuous growth models use natural logarithms.
  • Computer science: Binary logs help analyze algorithm efficiency (e.g., binary search).
  • pH scale: pH = –log[H⁺] measures acidity.

Common Misconceptions About Logarithms

  • “The log of zero exists.” No, log(0) is undefined because no exponent can produce zero from a positive base.
  • “The log of a negative number exists.” In real numbers, no. For example, log₁₀(–100) would require 10y = –100, impossible with a positive base. (In complex numbers it does, but that’s beyond this introduction.)
  • “Logarithms are too hard for everyday use.” Not true! Their properties simplify many calculations. For a full list of rules, see Logarithm Formula: Log Rules, Properties & Examples.
  • “All logs have base 10.” While common logs use base 10, any positive base (except 1) works.

Conclusion

Logarithms are a powerful mathematical tool that turn complicated exponential relationships into simple additive ones. Whether you encounter them in science, finance, or everyday life, understanding the basics allows you to interpret scales, solve equations, and appreciate the world’s exponential patterns. Use the Log Calculator to explore different bases and see logarithms in action.

Try the free Log Calculator ⬆

Get your Logarithms: the inverse of exponentiation, used to solve for exponents and model exponential relationships. result instantly — no signup, no clutter.

Open the Log Calculator

Contact Us