Key takeaways
- log₁₀(x) asks: what power of 10 gives you x?
- You can only take the log of a positive number.
- log₁₀(1000) = 3 because 10³ = 1000.
- Logarithms turn huge multiplying ranges into small, easy-to-compare numbers.
In this guide
What is a logarithm?
If 10² = 100, then log₁₀(100) = 2. A logarithm just "undoes" a power. log₁₀(x) asks: what power do I need to raise 10 to, to get x? This calculator uses base 10 (the common logarithm), the version used in most science classes.
Why does the logarithm matter?
Some quantities in nature span an enormous range — earthquake energy, sound loudness, and acid strength can differ by factors of millions. Logarithms compress that huge range into small, comparable numbers, which is why scientists build entire measurement scales on them.
log₁₀(1) = 0, but log₁₀(1,000,000) is only 6. A number that's a million times bigger only adds 6 to its logarithm — that's the whole point of the scale.
The formula
| Symbol | What it means | Example |
|---|---|---|
| x | The number you're taking the log of (must be > 0) | 1000 |
| y | The logarithm: the power of 10 that produces x | 3 |
How to calculate a logarithm step by step
- 1Check the number is positive. Logarithms of zero or negative numbers don't exist as real numbers.
- 2Ask what power of 10 gives you x. If x is an exact power of 10 (like 100 or 1000), you can often see the answer directly.
- 3Use a calculator for anything else. The logarithm calculator on this page handles decimals and non-round numbers instantly.
- 4Read the result as "log base 10 of x equals y".
Type any positive number into the calculator below to see its log₁₀ worked out step by step.
Try it yourself
Pre-filled with the example — change any value.
Common mistakes to avoid
- Confusing log with the exponential itself. The exponential function calculator does the opposite job: it turns a power back into a number.
- Forgetting the base. log₁₀ and the natural log (base e) give different answers for the same number — always check which base a formula expects.
- Assuming log(x) grows quickly. It actually grows very slowly — doubling x only adds about 0.3 to log₁₀(x).
Tips and tricks
- Count the digits. For a whole number, log₁₀(x) rounded down (its whole-number part) is one less than the number of digits in x. 47,000 has 5 digits, so its log is between 4 and 5.
- Working backwards from a log value to the original number? Use the exponential calculator with base 10.
- Logs of very large or small numbers pair naturally with scientific notation.
Where you'll use it in real life
- Earthquakes: the Richter/moment magnitude scale is logarithmic — each whole step is 10× more ground movement.
- Sound: the decibel scale for loudness uses logarithms to compress a huge range of sound pressures.
- Chemistry: pH, the acidity scale, is the negative log₁₀ of hydrogen ion concentration.
- Computing: algorithm speed is often described using log, since it grows so slowly compared to the input size.
Quick summary
A logarithm answers "what power of 10 gives me this number?" It only works for positive numbers, and it grows very slowly, which is exactly why it's used to tame huge ranges like earthquake energy and sound level. Try the calculator above with your own number to see the working.
Worked example
A seismologist is comparing two earthquakes. The larger one released 1,000 times more energy than a reference quake. To convert that ratio into a magnitude difference, she needs log₁₀(1000).
- 01log₁₀(1000) = ?
- 0210^3 = 1000
- 03log₁₀(1000) = 3
These numbers are pre-filled in the calculator above.
Frequently asked questions
What does log₁₀(x) mean?
It means "the power you must raise 10 to, to get x". For example, log₁₀(1000) = 3 because 10³ = 1000.
Why can't you take the log of a negative number?
Because 10 raised to any real power is always positive, so no power of 10 ever equals a negative number.
What's the difference between log and natural log?
log₁₀ (common log) uses base 10, while the natural log (ln) uses base e ≈ 2.718. They give different numeric answers for the same x.
What is log₁₀(1)?
It's 0, because 10⁰ = 1. Any base raised to the power 0 equals 1.


