Logarithm Calculator – Compute Log of Any Base Online
Calculate logarithms of any number for any base with our free online logarithm calculator. Supports log base 10, natural log (ln), and custom base logarithms with instant results.
Understanding Logarithms
A logarithm answers the question: "To what power must I raise the base to get this number?" For example, log₁₀(100) = 2 because 10² = 100. Logarithms are the inverse operation of exponentiation, just as division is the inverse of multiplication.
The notation log_b(x) = y means b^y = x. Three bases are especially common: base 10 (common log, used in science and engineering), base e (natural log, used in calculus and growth models), and base 2 (binary log, used in computer science).
Logarithm Properties
Product Rule
The log of a product equals the sum of the logs
Quotient Rule
The log of a quotient equals the difference of the logs
Power Rule
The log of a power brings the exponent down as a multiplier
Change of Base
Convert any log to a different base
Worked Examples
Example 1: Common Logarithm
Find log₁₀(1000)
Example 2: Natural Logarithm
Find ln(e⁵)
Example 3: Binary Logarithm
Find log₂(64)
Example 4: Custom Base
Find log₃(81)
Example 5: Log of a Decimal
Find log₁₀(0.01)
Quick Fact
John Napier invented logarithms in 1614 to simplify astronomical calculations. Before calculators, scientists used log tables to turn multiplication into addition. The slide rule, based on logarithmic scales, was the primary calculation tool for engineers until electronic calculators arrived in the 1970s.
Frequently Asked Questions
Why can't I take the log of a negative number?
No real number raised to any power gives a negative result. For example, there's no power you can raise 10 to that equals -100. (In complex numbers, logs of negatives exist, but that's advanced mathematics.)
What's the difference between log and ln?
"log" without a base usually means log₁₀ (base 10). "ln" always means logₑ (base e, where e ≈ 2.718). In higher mathematics, "log" sometimes means natural log – context matters.
What is log(1)?
log_b(1) = 0 for any valid base b. This is because any number raised to the power 0 equals 1. So log₁₀(1) = 0, ln(1) = 0, log₂(1) = 0, etc.
Where are logarithms used in real life?
Logarithms appear everywhere: pH scale (acidity), Richter scale (earthquakes), decibels (sound), musical intervals, compound interest calculations, population growth models, and data compression algorithms.
What's special about base e?
The number e (≈2.718) is the base for natural growth. Functions like e^x have the unique property that their derivative equals themselves. This makes natural logs essential in calculus, physics, and modeling continuous growth or decay.
How do I calculate log without a calculator?
For simple cases, think about powers: log₁₀(1000) = 3 because 10³ = 1000. For other values, use log tables or the change-of-base formula with known values. Memorize key values like log₁₀(2) ≈ 0.301 and log₁₀(3) ≈ 0.477.
Other Free Tools
Antilogarithm Calculator – Find Antilog of Any Number
Calculate the antilogarithm of any value for any base with our free online antilog calculator. Find the inverse of log base 10, natural log, or any custom base instantly.
Exponent Calculator – Calculate Base to the Power of n
Easily calculate any number raised to a power with our free exponent calculator. Supports positive, negative, and fractional exponents for fast and accurate results.
Free Online Scientific Calculator – Advanced Math Functions
Perform complex scientific calculations online with our free scientific calculator. Supports trigonometry, logarithms, exponents, roots, and more – ideal for students and professionals.
Square Root Calculator – Compute √ of Any Number
Find the square root of any number instantly with our free online square root calculator. Supports both perfect and imperfect squares with high precision decimal results.
Scientific Notation Converter – Standard to Scientific Form
Convert any number to scientific notation or from scientific notation to standard form with our free online converter. Perfect for chemistry, physics, and large number calculations.
Taylor Series Calculator – Expand Functions as Taylor Series
Generate Taylor and Maclaurin series expansions of any function with our free online calculator. Compute series up to any number of terms with coefficient and error visualization.
Logarithm Calculator – Compute Log of Any Base Online
Calculate logarithms of any number for any base with our free online logarithm calculator. Supports log base 10, natural log (ln), and custom base logarithms with instant results.
Derivative Calculator – Differentiate Functions Step by Step
Calculate the derivative of any function with our free online derivative calculator. Applies power, product, quotient, and chain rules with detailed step-by-step differentiation shown.