A logarithm answers one question: to what power must I raise a base number to get a given value? If 2^3 = 8, then log2(8) = 3, because 3 is the power that turns 2 into 8. A logarithm is the inverse of an exponent, and once you see that, every log rule and log scale follows from it.
What Is a Logarithm in Simple Terms?
An exponent tells you how many times to multiply a number by itself. 2^5 means multiply 2 by itself five times: 2 x 2 x 2 x 2 x 2 = 32. A logarithm runs that question backwards. Instead of asking “what is 2 to the power of 5?”, it asks “2 to what power gives 32?” The answer is 5, so log2(32) = 5.
It has only three parts:
| Part | Meaning | In log2(8) = 3 |
|---|---|---|
| Base | The number being multiplied | 2 |
| Argument | The number you want to reach | 8 |
| Result | The power that gets you there | 3 |
Read log2(8) = 3 out loud as “log base 2 of 8 equals 3.” The matching exponential fact is 2^3 = 8. Every logarithm is a pair with an exponential fact, and you can always check a log answer by raising the base to the result: if you get the argument back, the answer is right.
How Are Logarithms and Exponents Related?
Logarithms and exponents are inverse operations, the same way subtraction undoes addition and division undoes multiplication. If you know one form, you know the other:
- Exponential form: 10^3 = 1,000
- Logarithmic form: log10(1,000) = 3
Converting between the two forms is the single most useful skill in this whole topic, so here is the rule: log base b of x equals y exactly when b to the power of y equals x. Written as a formula, logb(x) = y means b^y = x.
Try it with a few numbers until the pattern clicks:
- log10(100) = 2, because 10^2 = 100.
- log10(0.01) = -2, because 10^-2 = 0.01. Negative logarithms are fine: they just mean the base was raised to a negative power.
- log2(1,024) = 10, because 2^10 = 1,024. This is the one computer science students meet constantly, since 1,024 is 2^10.
- log7(49) = 2, because 7^2 = 49.
- log3(81) = 4, because 3^4 = 81.
Notice that the base and the argument decide everything. Change the base and the answer changes: log2(8) = 3 but log10(8) is about 0.903, because 10^0.903 is roughly 8. The free Logarithm Calculator on Calcrio handles all three modes — log base 10, natural log (ln), and log with any base you choose — so you can check any of these answers in seconds.
What Does “Log” Mean Without a Base Written?
When you see “log” with no base at all, it almost always means log base 10, the common logarithm. So log(100) means log10(100), which is 2, and log(1,000) means log10(1,000), which is 3. The other common shorthand is “ln”, which means log base e, where e is Euler’s number, about 2.71828. So ln(e) = 1, because e^1 = e.
This shorthand causes more confusion than anything else in the topic, so here is a quick reference:
| Notation | Base | Full name | Example |
|---|---|---|---|
| log(x) | 10 | Common logarithm | log(100) = 2 |
| ln(x) | e (about 2.71828) | Natural logarithm | ln(e) = 1 |
| log2(x) | 2 | Binary logarithm | log2(8) = 3 |
| logb(x) | b | Logarithm base b | log5(25) = 2 |
Warning: in advanced mathematics and some programming languages, a bare “log” can mean the natural logarithm instead of base 10. In school math, engineering, and on Calcrio, log means base 10. If a formula looks wrong by a factor of about 2.3026 — ln(10), the conversion factor — a base mix-up is the first thing to check. Calcrio’s guide to natural log vs log10 works through the difference with worked examples.
Why Do Logarithms Exist at All?
Logarithms were invented in the 1600s to turn hard multiplication into easy addition, long before calculators existed. The trick is the product rule: log(a x b) = log(a) + log(b). Multiplying two big numbers became a matter of looking up two logs in a table, adding them, and looking up the answer. Slide rules — the engineer’s calculator for 300 years — were built on exactly this idea.
Today they survive for a different reason: they compress enormous ranges into small, readable numbers. The hydrogen-ion concentration in a strong acid and a strong alkali can differ by a factor of more than 100 trillion, but their pH values differ by only 14 units. Earthquake energy spans a range of 100 billion times, but the Richter scale fits it into single digits. Sound intensity goes from a whisper to a jet engine across a factor of a trillion, but decibels fit it into a 0-to-130 range. Whenever a quantity spans many orders of magnitude, a logarithm is the tool that makes it human-sized. Calcrio’s guide to logarithms in real life works through the pH, decibel, and Richter scales with exact numbers.
What Are the Special Values Every Student Should Memorize?
Four results follow straight from the definition, and they appear in almost every log problem:
- logb(1) = 0 for any base. Any number to the power of 0 is 1, so the power that turns the base into 1 is always 0. log10(1) = 0 and ln(1) = 0.
- logb(b) = 1 for any base. The base to the power of 1 is itself, so log10(10) = 1 and ln(e) = 1.
- logb(b^x) = x. The log undoes the power: log2(2^7) = 7.
- b^(logb(x)) = x. The power undoes the log: 10^(log10(500)) = 500.
These four are worth memorizing cold. They collapse whole expressions in a single step, and exam questions are often built around spotting them. The full set of logarithm rules with examples builds on them with the product, quotient, and power rules.
How Do You Evaluate a Logarithm Step by Step?
Here is a reliable four-step method that works for any log you can evaluate by hand:
- Write the log as a question. log2(32) asks “2 to what power gives 32?”
- Convert to exponential form. Let the answer be x, so 2^x = 32.
- Find the power. Count doublings: 2, 4, 8, 16, 32 — five doublings, so x = 5.
- Check by raising the base. 2^5 = 32, so log2(32) = 5 is correct.
A base-10 example: log10(0.01):
- The question is “10 to what power gives 0.01?”
- In exponential form: 10^x = 0.01.
- 0.01 is 1/100, which is 10^-2, so x = -2.
- Check: 10^-2 = 0.01. Correct, so log10(0.01) = -2.
One more, with a different base: log5(125):
- “5 to what power gives 125?”
- 5^x = 125.
- 5^1 = 5, 5^2 = 25, 5^3 = 125, so x = 3.
- Check: 5^3 = 125. Correct, so log5(125) = 3.
If the argument is not a neat power of the base — log10(8), for example — no whole-number answer exists. log10(8) is about 0.903, and the free Logarithm Calculator gives it in one step, with log, ln, and custom-base modes.
What Mistakes Do Beginners Make With Logarithms?
Three mistakes account for most lost marks:
- Taking the log of zero or a negative number. A positive base raised to any real power is always positive, so it can never equal zero or a negative number. log(0) and log(-5) are undefined in ordinary school math. If an equation leads you there, the solution is extraneous — a trap Calcrio’s guide to solving logarithmic equations works through in detail.
- Using base 1. Since 1 raised to any power is always 1, no single power could reach any other number, so log base 1 is meaningless. A valid base must be positive and not equal to 1.
- Splitting a log across addition. log(a + b) is not log(a) + log(b). The product rule works on multiplication inside the log, not addition. log(2 + 8) = log(10) = 1, while log(2) + log(8) is about 0.3010 + 0.9031 = 1.2041 — a completely different number.
Try the Free Logarithm Calculator
The ideas in this guide are easy to check. Calcrio’s free Logarithm Calculator evaluates log base 10, natural log, and log with any base, so you can verify log2(1,024) = 10, log10(0.01) = -2, or log5(125) = 3 in one step. If exponents are still shaky, the Exponent Calculator is the natural companion. Browse the full collection in the Math Calculators hub.
Frequently Asked Questions
What is a logarithm in one sentence?
A logarithm is the power to which a base must be raised to produce a given number: logb(x) = y means exactly the same thing as b^y = x.
What is log2(8) and why is it 3?
log2(8) = 3 because 2 raised to the power of 3 equals 8 (2 x 2 x 2 = 8). The logarithm asks “2 to what power gives 8?” and the answer is 3.
What is the difference between log and ln?
log means log base 10 (the common logarithm) and ln means log base e, where e is about 2.71828 (the natural logarithm). They follow the same rules but give different numbers: log(100) = 2 while ln(100) is about 4.6052.
Can a logarithm be negative?
Yes. A logarithm is negative when its argument is between 0 and 1, because a positive base must be raised to a negative power to produce a fraction: log10(0.01) = -2 since 10^-2 = 0.01.
Why is log(1) always 0?
Because any valid base raised to the power of 0 equals 1, the power that turns the base into 1 is always 0. This holds for every base, so log10(1) = 0 and ln(1) = 0.
What is a logarithm used for in real life?
Logarithms compress huge ranges into small scales: the pH scale for acidity, decibels for sound, and the Richter scale for earthquakes are all logarithmic. They also model compound interest, population growth, and radioactive decay.
