Skip to content
    Algebra

    What Is a Logarithm? Formula and Examples

    How can an earthquake that's "only" one point stronger on a scale actually be ten times more powerful? The answer is logarithms. This guide shows you exactly what log₁₀(x) means and how to find it.

    Math Solver Academic Editorial Board4 min read

    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
    1. 01What is a logarithm?
    2. 02Why does the logarithm matter?
    3. 03The formula
    4. 04How to calculate a logarithm step by step
    5. 05Common mistakes to avoid
    6. 06Tips and tricks
    7. 07Where you'll use it in real life
    8. 08Quick summary
    9. 09Worked example
    10. 10Frequently asked questions

    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

    log₁₀(x) = y means 10^y = x
    SymbolWhat it meansExample
    xThe number you're taking the log of (must be > 0)1000
    yThe logarithm: the power of 10 that produces x3

    How to calculate a logarithm step by step

    1. 1Check the number is positive. Logarithms of zero or negative numbers don't exist as real numbers.
    2. 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.
    3. 3Use a calculator for anything else. The logarithm calculator on this page handles decimals and non-round numbers instantly.
    4. 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.

    🧮
    Algebra
    High School

    Logarithm

    Calculate logarithm base 10

    log_b(x) = y means b^y = x

    (0, 1)
    m = 1.5b = 1
    1300

    💡 Example

    Reference
    Inputs:x=100
    Result:2
    Open the full Logarithm calculator

    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).

    1. 01log₁₀(1000) = ?
    2. 0210^3 = 1000
    3. 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.

    #Algebra#High School#Logarithm
    Updated

    Keep reading

    Sponsored ToolsAd

    More tools on Ytools →
    Calcu.click — 25+ Free Smart Calculators preview

    Calcu.click — 25+ Free Smart Calculators

    Brand new calculation platform with 0ms reactive math, 100% client-side privacy, and dedicated subdomains. Fast calculators for EMI, SIP, Mortgage, Income Tax, BMI, Age, Percentage, and more.

    25+ CalculatorsFinanceHealth0ms Real-TimeFree
    Keyboard Arena preview

    Keyboard Arena

    Master touch typing with real-time WPM speed tests, mechanical switch audio, A-Z finger biomechanics drills, 40+ structured lessons, and competitive arcade games.

    Typing TestWPMTouch Typing
    Flutter Log Explorer preview

    Flutter Log Explorer

    Real-time structured log viewer and search explorer for Flutter & Dart. Zero-config capture from Debug Adapter (DAP) & Dart VM Service with smart classification and filters.

    FlutterDartVS Code ExtensionOpen VSX