Math Guides
Understanding Logarithms: A Beginner's Guide with Examples
May 20, 2025 · 9 min read
A beginner-friendly guide to logarithms. Learn what a logarithm is, how it relates to exponents, the key log rules, and how to solve problems step by step.
Logarithms have a reputation for being intimidating, but they are really just a different way of asking a question you already know how to ask with exponents. If you understand that 2 raised to the power 3 equals 8, then you already understand the idea behind a logarithm. This guide builds logs from the ground up, connects them to exponents, walks through the core rules, and shows worked examples so the concept finally clicks.
What Is a Logarithm?
A logarithm answers the question: "To what power must I raise this base to get this number?" In symbols, the statement log base 2 of 8 equals 3 means that 2 raised to the power 3 gives 8. The base is the number being multiplied repeatedly, the result inside the log is called the argument, and the answer is the exponent. So a logarithm is simply an exponent in disguise. If you are rusty on powers, our more guides include a clear refresher on exponents that pairs perfectly with this lesson.
The Exponential and Logarithmic Connection
Every exponential statement can be rewritten as a logarithmic one, and vice versa. The exponential form b raised to the power y equals x is exactly the same fact as the logarithmic form log base b of x equals y. They are two views of the same relationship. Practicing this back-and-forth translation is the single fastest way to get comfortable with logs.
- Exponential: 10 to the power 2 equals 100. Logarithmic: log base 10 of 100 equals 2.
- Exponential: 5 to the power 3 equals 125. Logarithmic: log base 5 of 125 equals 3.
- Exponential: 3 to the power 0 equals 1. Logarithmic: log base 3 of 1 equals 0.
Common and Natural Logarithms
Two logarithm bases appear so often they have special names. The common logarithm uses base 10 and is usually written simply as "log" with no base shown. The natural logarithm uses the special number e, which is approximately 2.718, and is written as "ln." When you see log 1000 it means log base 10 of 1000, which equals 3. When you see ln e it means log base e of e, which equals 1. These two bases dominate science, finance, and engineering.
The Three Essential Log Rules
Logarithms turn multiplication into addition and division into subtraction, which is why they were historically used to simplify hard calculations. The three rules below do most of the heavy lifting.
- Product rule: log of (m times n) equals log m plus log n.
- Quotient rule: log of (m divided by n) equals log m minus log n.
- Power rule: log of (m to the power p) equals p times log m.
For example, using the product rule, log base 2 of 32 can be split because 32 is 4 times 8. So log base 2 of 32 equals log base 2 of 4 plus log base 2 of 8, which is 2 plus 3, equal to 5. You can confirm this directly since 2 to the power 5 is 32. For more on rewriting and condensing log expressions, see our dedicated guide in the more guides library.
A Full Worked Example
Let us solve the equation log base 3 of x equals 4. By the definition of a logarithm, this says 3 raised to the power 4 equals x. Computing 3 to the power 4 gives 81, so x equals 81. Now try a slightly harder one: solve 2 raised to the power x equals 16 using logs. Take log base 2 of both sides to get x equals log base 2 of 16. Since 2 to the power 4 is 16, the answer is x equals 4. You can experiment with problems like these using the free math tools and sharpen your skills on our practice problems page.
The Change of Base Formula
Most calculators only compute logs in base 10 or base e. To find a log in any other base, use the change of base formula: log base b of x equals (log x) divided by (log b), where both logs on the right can be in base 10 or base e. For instance, to find log base 2 of 50, compute log 50 divided by log 2. Using base 10 values, that is about 1.699 divided by 0.301, which is approximately 5.64. This makes sense because 2 to the power 5.64 is roughly 50.
Why Logarithms Matter
Logarithms describe quantities that grow or shrink across enormous ranges. The Richter scale for earthquakes, the decibel scale for sound, and pH in chemistry are all logarithmic. They also appear in compound interest, population growth, and computer science, where the efficiency of many algorithms is measured in logarithmic terms. Understanding logs gives you a tool for making sense of data that spans many orders of magnitude.
Common Mistakes to Avoid
- Trying to take the log of zero or a negative number. Logarithms are only defined for positive arguments.
- Splitting a log of a sum. The log of (m plus n) is not log m plus log n. The product rule only applies to multiplication inside the log.
- Confusing the base. Always check whether a problem uses base 10, base e, or another base before applying a rule.
- Forgetting that log base b of 1 is always 0. Any base raised to the power 0 equals 1, so this log is zero for every valid base.
Frequently Asked Questions
What is a logarithm in simple terms?
It is the exponent you need. Log base b of x asks what power you must raise b to in order to get x.
What is the difference between log and ln?
The notation "log" usually means base 10, while "ln" means the natural log with base e, approximately 2.718. Both follow the same rules.
Can a logarithm be negative?
Yes, the value of a logarithm can be negative, for example log base 10 of 0.1 equals negative 1. However, the number inside the log must always be positive.
Why do we use logarithms?
They simplify calculations involving very large or very small numbers and naturally describe phenomena that scale exponentially, such as sound, earthquakes, and growth rates.
Logarithms become intuitive once you see them as exponents asked from a different angle. Keep translating between exponential and logarithmic forms, practice the three rules, and use the free math tools to check your work as you build confidence.