Logarithms are behind many numbers people hear every day, from earthquake reports to the acidity on a shampoo label to the volume rating on headphones. They turn quantities that multiply, or that span enormous ranges, into small, manageable numbers.
What a Logarithm Actually Does
A logarithm (log for short) asks how many times you multiply a base to reach a number. The base-10 log of 1,000 is 3, because 10 × 10 × 10 = 1,000. This is the reverse of an exponent, which gives what you get when you multiply a base repeatedly. So on a base-10 scale, going from 2 to 3 means the underlying amount got ten times bigger, not one unit bigger. Other common bases are 2 and the number e, about 2.718, which shows up in growth and decay.
You can test yourself with base 10. The log of 100 is 2, the log of 10 is 1, and the log of 1 is 0, because multiplying 10 by itself zero times leaves you at 1. Numbers between the round values give in-between answers: the log of 50 is about 1.7, since 50 sits between 10 and 100 but closer to 100 on a multiplying scale. On a calculator, the log button gives the base-10 version and the ln button gives the base-e version.
A logarithmic scale (log scale) squeezes huge ranges into small numbers. Hydrogen ion levels in water-based liquids range from 1 down to 0.00000000000001 moles per liter, a range written far more easily on a log scale.1NOAA Pacific Marine Environmental Laboratory. A primer on pH A scale of roughly 0 to 14 covers it.
The common mistake is reading a log scale as ordinary steps. People assume magnitude 6 is a bit worse than 5, but it is ten times the shaking amplitude. Reading any log scale means asking what factor one step stands for.
Earthquakes and the Magnitude Scale
Each whole-number rise in earthquake magnitude means a tenfold increase in the wave height recorded on a seismograph.2USGS. Earthquake Magnitude, Energy Release, and Shaking Intensity The energy released rises even faster, about 32 times per whole step.2USGS. Earthquake Magnitude, Energy Release, and Shaking Intensity So a magnitude 7 releases roughly 1,000 times the energy of a magnitude 5. The modern moment magnitude scale is built on a logarithmic link between magnitude and total energy released.3Journal of Geophysical Research. The energy release in great earthquakes Ten times the recorded motion is not the same as ten times the damage, which also depends on depth and location. Scientists chose a log scale because quake sizes run from tiny tremors to planet-shaking events, and a linear scale would need numbers in the trillions.
To compare a magnitude 5 and a magnitude 7, count the steps between them, which is two, then multiply the factor once per step. For recorded wave height, that is 10 × 10, a hundredfold difference in what the seismograph traces. For energy, it is about 32 × 32, which is where the roughly 1,000-fold figure comes from.
Sound, Hearing, and Decibels
A decibel is a ratio between two quantities expressed on a logarithmic scale.4Soft dB. Measurement In Decibels: What Is the Difference Between dB and dB(A)? The reason is that the ear reacts to relative changes in noise level, not absolute ones.4Soft dB. Measurement In Decibels: What Is the Difference Between dB and dB(A)? A rise of 10 decibels means ten times the sound intensity. That makes a 90 dB noise a hundred times as intense as a 70 dB noise, which is why hearing damage builds quickly at the top of the scale.
Normal conversation sits around 60 dB and heavy traffic near 85 dB. A few extra decibels on headphones is a large jump in sound energy, and hearing guidelines shorten safe listening time sharply as decibels rise. The dB(A) setting on a sound meter adjusts readings for how the ear hears different pitches.
Every decibel number is a comparison with a reference. 0 dB is set near the quietest sound a healthy young ear can detect, not the absence of all sound. A sound at 0 dB simply equals that reference, and sounds quieter than it get negative values.
Perceived loudness tracks physical intensity on a log scale. Doubling a sound’s energy does not sound twice as loud.
pH and Acidity
pH is the negative base-10 logarithm of the concentration of hydrogen ions in a solution.5Wikipedia. pH More acidic liquids therefore have lower pH values than basic ones.5Wikipedia. pH A change of one pH unit means a tenfold change in hydrogen ion concentration.1NOAA Pacific Marine Environmental Laboratory. A primer on pH Lemon juice near pH 2 is about 100,000 times more acidic than pure water at pH 7.
Outside a lab, pool and aquarium kits report pH because small shifts matter to swimmers and fish. Garden soil pH decides which plants thrive.
To work out a pH, take a solution with a hydrogen ion concentration of 0.001 moles per liter, which is 10 to the power of -3. Its log is -3, and the negative sign in the definition flips that into a pH of 3. A concentration of 0.0000001 gives pH 7, the value for pure water at room temperature.
A drink at pH 3 is ten times more acidic than one at pH 4 and a hundred times more than one at pH 5. To compare two products on a label, count the units between them, then multiply by ten for each.
Music, Photography, and Starlight
An octave corresponds to doubling the frequency of a note.6When Do We Use Logarithms in Real Life. When Do We Use Logarithms in Real Life: Examples And 12 half-steps make up one octave.7rctn.org. Logs and music The way we hear pitch relates to frequency logarithmically,6When Do We Use Logarithms in Real Life. When Do We Use Logarithms in Real Life: Examples so each half-step multiplies frequency by the same factor, about 1.06. Twelve such multiplications in a row land on exactly double the starting frequency, which is why the factor is the twelfth root of 2. This even-ratio tuning lets a melody starting on any key sound like the same tune.
On a piano, the A above middle C is 440 Hz and the next A up is 880 Hz, yet the keys are evenly spaced. Guitar frets get closer together up the neck for the same reason.
Photographers measure aperture, shutter speed, and ISO in stops.8Analog.Cafe. Lux-Seconds, Stops, and Exposure Values Explained One stop up or down means the same change in exposure in each case.8Analog.Cafe. Lux-Seconds, Stops, and Exposure Values Explained One stop is a doubling or halving of light, a base-2 log scale. Moving from f/8 to f/5.6 lets in twice the light, and halving the shutter time cancels that out, keeping exposure the same.
The stellar magnitude scale grew from how human eyes perceive starlight.9Physics Education. A simple stellar magnitude scale demonstration A difference of 5 magnitudes equals 100 times the brightness, and lower numbers mean brighter stars.
Money, Medicine, and Dating Old Things
With continuous compounding, the time for money to double equals the natural log of 2 divided by the rate of return.10financeformulas.net. Doubling Time – Continuous Compounding The formula comes from taking natural logs of both sides of the growth equation, which lets you solve for time.11UC Riverside Mathematics. When Do We Use Logarithms in Real Life: Examples Divide 0.69, the natural log of 2, by the rate written as a decimal, so 7 percent becomes 0.07. That gives about 9.9 years, so at 7% a year money doubles in about 10 years. The formula assumes a steady rate and no withdrawals, so real accounts with changing returns only approximate it.
Bankers use a shortcut called the rule of 72: divide 72 by the interest rate. At 6% the rule gives 12 years, close to the exact answer.
Doctors measure how long a drug stays in the body using its half-life, the time for half of it to leave.12PubMed Central. Pharmacokinetic considerations in determining the terminal elimination half-lives of bisphosphonates Half-lives are found by plotting the amount remaining on a log scale and reading the slope of the straight line.12PubMed Central. Pharmacokinetic considerations in determining the terminal elimination half-lives of bisphosphonates Logs are needed because decay removes a fixed share each period, not a fixed amount. After two of these periods a quarter remains, after three an eighth. Working backward from a remaining fraction to a time requires a log.
Archaeologists use the same idea. They date bones and wood by comparing carbon-14 left to the amount when the organism was alive.13Math Central. When Do We Use Logarithms in Real Life: Examples Carbon-14 decays at a steady rate, and the natural log turns the remaining share into an age.13Math Central. When Do We Use Logarithms in Real Life: Examples Its time for half to disappear is about 5,730 years, so it dates things up to roughly 50,000 years old.
Computers, Data, and Information
Binary search finds an item in a sorted list by repeatedly halving it, taking time that grows with the logarithm of the list size.14Wikipedia. Binary search Adding and deleting records in such sorted structures also takes logarithmic time on average.14Wikipedia. Binary search A million sorted items can be searched in about 20 steps.
That works because each guess rules out half the remaining list, and two to the 20th power is about a million. Doubling the list adds only one more step, which is why phone contacts and databases stay fast as they grow. Checking each item one by one could take up to a million steps. Halving only works on a sorted list.
Information measured with a base-2 log is counted in bits.15Wikipedia. Information theory Data compression relies on counting the bits needed to describe data.15Wikipedia. Information theory A yes-or-no answer is one bit. Eight bits make a byte and can label 256 options. Compressed photos and music trim bits a listener or viewer won’t notice.
Analysts also use logs on data. Logs are a powerful way to handle positive data bunched at low values with a long tail, like incomes.16Train in Data Blog. Variance stabilizing transformations in machine learning
Reading Log Graphs in the News
On a semi-log graph, exponential growth shows up as a straight line.17PubMed Central. The Western Africa Ebola Virus Disease Epidemic Exhibits Both Global Exponential and Local Polynomial Growth Rates A straight line means the quantity is multiplied by the same factor in each equal time interval, such as doubling every week. The steeper the line, the faster the doubling, so you can compare two outbreaks by comparing slopes. A curve that bends downward signals growth slower than exponential,17PubMed Central. The Western Africa Ebola Virus Disease Epidemic Exhibits Both Global Exponential and Local Polynomial Growth Rates and one that bends upward means growth is speeding up beyond steady exponential growth. Health researchers used such graphs to track COVID-19 deaths and the Ebola outbreak in West Africa.18PubMed Central. Alternative graphical displays for the monitoring of epidemic outbreaks, with application to COVID-19 mortality
To avoid being fooled, check whether the gridlines go 1, 10, 100, 1,000 rather than evenly. Equal vertical distances mean equal multiplication, not equal addition. A line that looks flat can still hide thousands of new cases.
Log charts appear elsewhere too. Long-term stock charts often use log scales to show percentage changes fairly. Ecologists find species counts rise with the log of habitat area. Wind speed rising with height is often modeled with a log curve.
Why Logarithms Were Invented
Logarithm tables cut calculations involving many large multiplications from hours to minutes.19Kronecker Wallis. Napier and the Invention of Logarithms The trick is that the log of a product is the sum of the logs, so multiplying became adding. To multiply two big numbers, a calculator of the day looked up each number’s log in a printed table, added the two logs, then looked up the sum to find the product. The table did the hard work in advance. Division worked by subtracting logs, and roots by dividing the log by a whole number.
Johannes Kepler used them to compute his Rudolphine Tables of 1627, the most accurate star tables of the time.19Kronecker Wallis. Napier and the Invention of Logarithms Navigators used them to fix a ship’s position faster and more accurately, making voyages safer.19Kronecker Wallis. Napier and the Invention of Logarithms
Slide rules carried the idea forward. They marked numbers at log distances, so sliding added lengths, and adding lengths multiplied the numbers. Engineers relied on them until pocket calculators arrived in the 1970s.

