AI Math Assistant
BetaAsk questions about your calculation results
3 free questions per session
AI provides general assistance. Always verify important calculations.
About This Calculator
Logarithms are the inverse of exponentiation and compress vast numerical ranges into manageable scales, which is why they underpin the Richter scale, decibel measurements, and pH levels. This calculator computes common logarithms (base 10), natural logarithms (base e), and logarithms of any custom base. Engineers and scientists use logarithmic transformations to linearize exponential data and solve equations where the unknown is an exponent.
Quick Tips
- 1 Log base 10 of 1000 is 3 because 10^3 = 1000.
- 2 Natural log (ln) uses base e (2.718) and appears throughout science.
- 3 Logarithms turn multiplication into addition — that's why slide rules work.
Example Calculation
Find the base-10 logarithm of 50,000.
log10(50000) = 4.6990 | ln(50000) = 10.8198 | Between 10^4 and 10^5
What Are Logarithms?
A logarithm answers the question: "To what power must the base be raised to get this number?" If 10² = 100, then log₁₀(100) = 2. Logarithms are the inverse of exponentiation. They transform multiplication into addition and are essential tools in mathematics, science, and engineering.
Types of Logarithms
Common log (log₁₀): used in pH scales, decibels, and earthquake magnitude. Natural log (ln, base e): used in calculus, continuous growth, and physics. Binary log (log₂): used in computer science and information theory. Each base serves specific applications in different fields.
Logarithm Properties
Key rules: log(a×b) = log(a) + log(b), log(a/b) = log(a) - log(b), log(a^n) = n×log(a), log(1) = 0, log_b(b) = 1. The change of base formula: log_b(x) = log(x) / log(b), which lets you convert between any bases.
Logarithms in Real Life
The Richter scale uses log₁₀ (each step = 10× energy). Decibels use log₁₀ for sound intensity. pH is -log₁₀ of hydrogen ion concentration. In finance, logarithmic returns are used for portfolio analysis. Computer scientists use log₂ to analyze algorithm complexity (O(log n)).
Frequently Asked Questions
No. Logarithms are only defined for positive numbers (in real number mathematics). log(0) approaches negative infinity, and log of a negative number requires complex numbers.
The natural logarithm (ln) uses base e ≈ 2.71828. It appears naturally in calculus and models continuous growth and decay. The derivative of ln(x) is 1/x, making it fundamental in differentiation and integration.
Use the change of base formula: log_b(x) = ln(x) / ln(b) = log₁₀(x) / log₁₀(b). Most calculators only have ln and log₁₀ buttons, so this formula is essential for computing other bases.
Euler's number e ≈ 2.71828 is the base of the natural logarithm. It arises from the limit of (1 + 1/n)^n as n approaches infinity. It describes continuous compound growth and is one of the most important constants in mathematics.