What power do you raise 2 to in order to get 8? The answer is 3, and you just worked out your first logarithm. A logarithm is nothing more than a missing exponent. Once that idea clicks, the rules, the strange scales, and the calculator button all make sense. This guide builds logarithms from zero with small numbers you can check in your head.
- A logarithm answers “what power?”: log2 8 = 3 because 23 = 8.
- The base-10 log of a whole number is one less than its digit count, roughly: log 1,000,000 = 6.
- Logs turn multiplying into adding, dividing into subtracting, and powers into multiplying.
- Log scales, such as pH, decibels, and quake magnitude, make each equal step a fixed multiple.
- Logs of zero and negative numbers are undefined, and log(a + b) never splits into two logs.
What Is a Logarithm?
A logarithm is the exponent you need to turn a base into a given number. The statement log2 8 = 3 means exactly the same thing as 23 = 8. The two forms are mirror images of one fact.
That is why mathematicians call the logarithm the inverse of the exponential. Exponents start with the power and give you the result. Logarithms start with the result and hand you back the power.
The notation has three parts. The small subscript is the base, the number after “log” is the result, and the answer is the exponent. Read log5 25 aloud as “the power of 5 that makes 25,” which is 2.
How Do Logs Measure the Size of a Number?
Base-10 logs count powers of ten, so they track how many digits a number has. The value log 1,000,000 = 6 because a million is 106. A six-digit number such as 123,456 has a log of about 5.09.
The rule is simple: take the whole part of the log and add 1 to get the digit count. This trick shows that 2100 has 31 digits, since 100 x log 2 is about 30.1.
Why Do the Three Log Rules Work?
Each log rule is an exponent rule written in reverse. Logs are exponents, so whatever exponents do, logs copy. You never need to memorize the rules once you see where they come from.
- Product rule: log(MN) = log M + log N. Multiplying powers adds exponents, since 102 x 103 = 105. So log(100 x 1,000) = 2 + 3 = 5.
- Quotient rule: log(M/N) = log M – log N. Dividing powers subtracts exponents. So log(8/2) = 0.903 – 0.301 = 0.602, which equals log 4.
- Power rule: log(Mn) = n log M. Raising a power to a power multiplies exponents. So log 8 = log 23 = 3 x 0.301 = 0.903.
Test any rule with numbers before trusting it on an exam. The check takes ten seconds with the free logarithm calculator for any base.
What Is the Change-of-Base Formula?
The change-of-base formula rewrites any log using a base your calculator has: logb x = log x / log b. For example, log2 50 = 1.699 / 0.301 = 5.64. The keystrokes and the differences between log, ln, and log2 live in our guide on log vs ln vs log2 and when to use each.
Why Do Logs Turn Multiplication Into Addition?
Logs turn multiplication into addition because multiplying numbers adds their exponents. That single fact made logarithms one of the great time-savers in science history. Adding two long numbers by hand is far faster than multiplying them.
John Napier published the first log tables in 1614. Astronomers and navigators then looked up two logs, added them, and looked up the answer. A multiplication of two seven-digit numbers shrank to a few table lookups and one sum.
In the 1620s, William Oughtred placed two log scales side by side and slid one along the other. Sliding adds lengths, and adding log lengths multiplies the numbers. That device, the slide rule, stayed in engineering pockets until electronic calculators replaced it in the 1970s.
The same idea still runs inside modern software. Programs add logs of tiny probabilities instead of multiplying them, which keeps the results from shrinking to zero.
Where Do Log Scales Show Up in Real Life?
Log scales appear wherever values span many powers of ten, such as acidity, sound, earthquakes, and starlight. On these scales each equal step means multiplying by a fixed amount, not adding one.
- pH: each unit is a 10x change in hydrogen ion concentration, so pH 4 is 1,000 times more acidic than pH 7.
- Decibels: adding 10 dB means 10 times the sound intensity, and adding 20 dB means 100 times.
- Earthquakes: one magnitude unit means 10 times the ground motion and about 32 times the energy, since 101.5 = 31.6. Two units mean 1,000 times the energy.
- Star brightness: 5 magnitudes equal exactly 100 times the brightness, so each step is about 2.512x. Smaller numbers mean brighter stars.
How Do You Solve an Exponential Equation With Logs?
Take the log of both sides, then use the power rule to pull the unknown exponent down. Logs are the only tool that frees a variable trapped in an exponent.
Here is a classic example. How long does $1,000 at 6 percent a year take to reach $2,000? The equation is 1.06t = 2.
- Take the natural log of both sides: ln(1.06t) = ln 2.
- Apply the power rule: t x ln 1.06 = ln 2.
- Divide: t = 0.6931 / 0.0583 = 11.9 years.
Check the answer by plugging it back in. The value 1.0611.9 is about 2.0005, so $1,000 grows to roughly $2,000.50. The shortcuts, such as the rule of 72, belong to our deep dive on the mathematics of doubling time.
What Mistakes Do Beginners Make With Logs?
The most common mistake is splitting the log of a sum: log(a + b) is not log a + log b. The product rule works only for multiplication inside the log, never for addition.
Check it with real numbers. The sum log 5 + log 20 equals 2, because it is log 100. But log(5 + 20) = log 25, which is about 1.398.
Three more errors show up on nearly every quiz:
- Logs of zero or negatives: no power of a positive base ever gives 0 or a negative result, so these logs are undefined.
- Dividing the logs wrongly: log a / log b is a change of base, not log(a/b). Keep the two forms separate.
- Mixing bases: log 100 = 2 in base 10, but ln 100 = 4.605. Always confirm which base a formula expects.
The Logarithm Calculator finds the log of any positive number in base 10, base e, base 2, or a custom base, with the natural and common logs shown alongside.
FAQs About Logarithms
What Is a Logarithm in Simple Terms?
A logarithm is the exponent that turns a base into a given number. For example, log base 10 of 1,000 is 3, because 10 raised to the third power equals 1,000.
What Is the Difference Between Log and Ln?
Both are logarithms with different bases. Log usually means base 10, and ln means base e, which is about 2.718. They differ by a constant factor, since ln x equals about 2.303 times log x.
Why Is the Log of 1 Always Zero?
Any positive base raised to the power 0 equals 1. The logarithm asks for that power, so the log of 1 is 0 in every base.
Can You Take the Log of a Negative Number?
Not with real numbers. A positive base raised to any real power always gives a positive result, so logs of zero and negative numbers are undefined on a standard calculator.
How Do Logarithms Help Solve Growth Problems?
They pull an unknown exponent down to solve for time. To find when $1,000 at 6 percent doubles, solve t = ln 2 / ln 1.06, which gives about 11.9 years.
Why Are Earthquakes and Sound Measured on Log Scales?
Both span huge ranges of energy. A log scale compresses those ranges into small, readable numbers, where each step of 10 decibels or 1 magnitude unit means a fixed multiple.
Does the Log of a Sum Equal the Sum of the Logs?
No. The log of a product equals the sum of the logs, but a sum has no such rule. For example, log 5 plus log 20 is 2, while log 25 is about 1.398.
Sources
References Used in This Article
- NIST Digital Library of Mathematical Functions, 4.2 Logarithm Definitions
- OpenStax College Algebra 2e, 6.3 Logarithmic Functions
- OpenStax College Algebra 2e, 6.5 Logarithmic Properties
- USGS, Earthquake Magnitude, Energy Release, and Shaking Intensity
- Pacific Northwest Seismic Network, Magnitude and Intensity
This article explains the concept of logarithms for beginners and uses rounded values to three or four decimal places. Use the linked calculator for exact results. Reviewed for accuracy by Prof. Dr. Khalil Mudassar, PhD. Last updated September 27, 2026.
Author
Shakeel Muzaffar is the Founder and Editor-in-Chief of MultiCalculators.com, bringing over 15 years of experience in digital publishing, product strategy, and online tool development. He leads the platform's editorial vision, ensuring every calculator meets strict standards for accuracy, usability, and real-world value. Shakeel personally oversees content quality, formula verification workflows, and the platform's commitment to publishing tools that are genuinely useful for students, professionals, and everyday users worldwide.




