Logarithms: The Math Trick That Made Science Possible

Here is a question with a simple answer: what power do you raise 10 to in order to get 1,000? The answer is 3, because 10 to the third power is 1,000. You just computed a logarithm. Specifically, the base-10 logarithm of 1,000 is 3. That is it. That is what a logarithm is. It answers the question: "what exponent do I need?"

If that seems too simple to matter, consider this: logarithms were the most important computational technology in the world for 350 years. They turned multiplication into addition, made astronomical calculations possible, powered navigation across oceans, and showed up in so many natural phenomena that you have already encountered them in this series without knowing it. The pH scale you learned in chemistry is a logarithm. The decibel scale for sound is a logarithm. The Richter scale for earthquakes is a logarithm. You have been using logarithmic thinking for longer than you realize.

Why This Exists

Before electronic calculators existed, multiplying large numbers was brutal. Imagine computing 3,456,789 times 2,345,678 by hand. Astronomers, navigators, and engineers had to do calculations like this constantly, and errors were both easy to make and potentially fatal (a navigator's miscalculation could send a ship into rocks).

In 1614, John Napier, a Scottish mathematician, published Mirifici Logarithmorum Canonis Descriptio (A Description of the Wonderful Canon of Logarithms). His invention was revolutionary for a simple reason: logarithms convert multiplication into addition. The logarithm of a product equals the sum of the logarithms: log(a times b) = log(a) + log(b). To multiply two huge numbers, you look up their logarithms in a table, add the logarithms together, then look up the result in reverse to get the product. Addition is vastly easier than multiplication, and table lookup is mechanical (Napier, Mirifici Logarithmorum Canonis Descriptio, 1614).

Henry Briggs, a professor at Gresham College in London, traveled to Scotland to meet Napier and worked with him to develop base-10 logarithm tables, which were easier to use in practice. For the next three and a half centuries, log tables and their physical embodiment, the slide rule, were the primary tools of scientific and engineering computation. Every bridge, every building, every ship, every aircraft designed before the 1970s was calculated using logarithms (Briggs, Arithmetica Logarithmica, 1624).

The Core Ideas (In Order of "Oh, That's Cool")

A logarithm is just an exponent turned inside out. The equation 10 to the power of 3 equals 1,000 and the equation log base 10 of 1,000 equals 3 say exactly the same thing. Exponentiation asks: "what do I get if I raise this base to this power?" Logarithms ask the reverse: "what power do I need to reach this number?" Every logarithm is an exponent. Every exponent implies a logarithm. They are the same relationship viewed from two directions.

This is why logarithms feel confusing at first. You are not learning a new operation. You are learning to read an existing operation backwards. It is like learning to read a sentence from right to left. The content is the same. The direction is unfamiliar. Once you internalize that log base b of x equals y means b to the y equals x, logarithms stop being mysterious and start being a tool.

Logarithmic scales are everywhere because nature loves exponentials. Many natural processes grow or decay exponentially. Populations grow exponentially under ideal conditions. Radioactive isotopes decay exponentially. Sound intensity decreases exponentially with distance. Light intensity does the same. Compound interest grows exponentially. If the underlying process is exponential, the natural tool to analyze and compress it is the logarithm, because logarithms are the inverse of exponentials.

The pH scale in chemistry is a logarithm: pH equals negative log base 10 of the hydrogen ion concentration. A pH of 3 means a hydrogen ion concentration of 10 to the negative 3 moles per liter. A pH of 7 means 10 to the negative 7. The difference between pH 3 and pH 7 is not 4 units of concentration. It is a factor of 10,000. Logarithmic scales compress enormous ranges into manageable numbers. The same principle applies to decibels (a 10 dB increase is a tenfold increase in sound intensity) and the Richter scale (each whole number is a tenfold increase in amplitude) (Jensen, Foundations of Chemistry, 2004).

The number e is as fundamental as pi, and it lives inside every logarithm that matters. The number e, approximately 2.71828, is the base of the natural logarithm. It appears whenever continuous growth or decay is involved. If you invest money at a 100% annual interest rate, compounded more and more frequently, the amount you have at the end of the year approaches e times your original investment. That is where e comes from: it is the natural limit of compound growth.

Leonhard Euler identified e as a fundamental constant in the 1730s and connected it to an astonishing range of mathematical contexts. The function e to the x is its own derivative, which makes it the most important function in calculus. The normal distribution in statistics is defined using e. Radioactive decay is described by e to a negative power. Population growth models use e. Like pi, e was not invented. It was discovered, a constant baked into the structure of growth, change, and probability (Euler, Introductio in Analysin Infinitorum, 1748; Maor, e: The Story of a Number, 1994).

Logarithmic thinking corrects a dangerous flaw in human cognition. Your brain perceives the world linearly. The jump from 1 to 2 feels the same as the jump from 1,001 to 1,002. But many real phenomena are logarithmic or exponential, and linear intuition fails catastrophically when applied to them.

A magnitude 5 earthquake is not "one more" than a magnitude 4. It releases roughly 31.6 times more energy. A sound at 80 decibels is not "twice as loud" as a sound at 40 decibels. It has 10,000 times the intensity. During exponential growth, like the early stages of a pandemic, linear thinkers consistently underestimate how fast numbers will rise. This is not a personal failing. It is a cognitive bias called "exponential growth bias," and it is well-documented in behavioral economics research (Stango & Zinman, "Exponential Growth Bias and Household Finance," The Journal of Finance, 2009).

Understanding logarithmic scales is a defense against this bias. When you see a chart with a logarithmic y-axis, you know that equal distances represent equal ratios, not equal differences. When you hear that an earthquake was "one magnitude higher," you know that means roughly ten times the amplitude and thirty-two times the energy, not a small increment. This is quantitative literacy, and it is one of the most practical skills math can teach.

Logarithms are the backbone of information theory. When Claude Shannon founded information theory in 1948, he defined the basic unit of information, the bit, as a logarithm. Specifically, the information content of an event is the negative log base 2 of its probability. An event with probability 1/2 carries 1 bit of information. An event with probability 1/8 carries 3 bits. Every digital communication system, every computer, every data compression algorithm operates on this logarithmic foundation (Shannon, "A Mathematical Theory of Communication," Bell System Technical Journal, 1948).

This means that every time you stream a video, send a text, or load a webpage, logarithms are doing the work underneath. Data compression (ZIP files, MP3s, JPEGs) uses logarithmic measures of information content to decide what to keep and what to discard. Encryption algorithms use logarithmic properties of large prime numbers. The digital world runs on logarithms as surely as the physical world runs on exponentials.

How This Connects

Logarithms bridge the gap between the human scale and the scales at which the universe actually operates. You encountered this implicitly in chemistry (pH), physics (decibels, earthquake magnitudes), and biology (population growth curves). Now you know the mathematical tool underlying all of them.

Within this series, logarithms connect directly to calculus: the natural logarithm is the integral of 1/x, one of the most important results in integral calculus. They connect to the next article on scientific notation, which is essentially logarithmic thinking applied to writing numbers. And they connect to probability and statistics, where logarithms appear in information theory, maximum likelihood estimation, and the mathematics of the normal distribution.

Logarithms also form a bridge to the study of functions and graphs. Logarithmic functions are the mirror image of exponential functions, literally [QA-FLAG: banned word — replace] the reflection across the line y = x. Understanding one helps you understand the other, and together they describe the most common growth and decay patterns in nature and economics.

The School Version vs. The Real Version

The school version of logarithms is a unit in your pre-calculus or algebra 2 class. You learn the definition, practice converting between exponential and logarithmic form, apply the laws of logarithms (product rule, quotient rule, power rule), and solve equations that involve logs. The problems are typically abstract: "solve log base 2 of x equals 5." The context, if there is any, is an afterthought.

The real version of logarithms is that they are the lens through which scientists, engineers, and analysts view any process that spans multiple orders of magnitude. An acoustician cannot work without decibels. A chemist cannot work without pH. A seismologist cannot work without the Richter scale. An information theorist cannot work without log base 2. A financial analyst modeling compound growth cannot work without natural logarithms. These are not applications tacked onto a mathematical concept. These are the reasons the concept was developed in the first place.

The school version makes logarithms feel like an arbitrary rule to memorize. The real version reveals them as a fundamental property of how quantities relate when growth is multiplicative rather than additive. Once you see that distinction, logarithms stop being a confusing topic and start being an indispensable tool.


This article is part of the Math: The Language Under Everything series at SurviveHighSchool.

Related reading: Calculus: The Math of Change (And Why Newton Had to Invent It), Scientific Notation: How to Think About Really Big and Really Small Numbers, Functions and Graphs: Making the Invisible Visible