Logarithms have a reputation for being confusing, but the core idea is genuinely simple: a logarithm just answers the question "what power do I need to raise this base to, in order to get this number?" Once that clicks, everything else about logarithms is just notation and bookkeeping.
log_b(x) = y means the same thing as b^y = x — they're two ways of writing the exact same relationship, just solved for different variables. The "base" is the number being raised to a power; the logarithm is the exponent that makes the equation true. Different bases show up in different contexts: base 10 (written as log) is common in science and engineering, and base e ≈ 2.71828 (written as ln, natural log) shows up constantly in calculus, finance, and natural growth processes.
How Logarithms Are Calculated
log_b(x) = y, where b^y = x
Since most calculators only have built-in log (base 10) and ln (base e) functions, a custom base is calculated using the change of base formula: log_b(x) = ln(x) ÷ ln(b), or equivalently log(x) ÷ log(b).
A Worked Example
log_10(100) = 2, because 10² = 100. This is the most intuitive example: how many times do you multiply 10 by itself to reach 100? Twice.
For a custom base, log_2(8): using change of base, ln(8) ÷ ln(2) ≈ 2.079 ÷ 0.693 ≈ 3, which checks out since 2³ = 8.
ln(100) ≈ 4.605, meaning e^4.605 ≈ 100 — a less intuitive-looking number, but it follows the exact same underlying logic with base e instead of base 10.
Common Mistakes to Avoid
- Confusing log and ln: log with no base written usually means base 10; ln always means base e — they produce different results for the same input number.
- Forgetting logarithms are undefined for zero or negative numbers: you can't ask "what power gives a negative or zero result" for a positive base, so these inputs have no real logarithm.
- Not using the change of base formula for uncommon bases: most calculators lack a direct button for arbitrary bases — change of base solves this using log or ln instead.
- Mixing up logarithm and exponent direction: log_b(x) = y solves for the exponent y given the base and result; it's the inverse operation of b^y = x, which solves for the result given the base and exponent.
Bottom Line
A logarithm is just an exponent in disguise, answering "what power gets me there." Use a Logarithm Calculator to calculate a log in any base, along with the natural log and base-10 log for comparison.