About the Log Calculator
Choose the type of logarithm, enter x, and for a general base enter b. The calculator shows the answer along with ln, log₁₀ and log₂ of the same number for comparison.
Logarithms turn multiplication into addition and are used for decibels, pH, earthquake magnitude, compound growth and algorithm analysis. They are defined only for positive numbers, and the base must be positive and different from 1. The antilog option reverses the process by computing b^y.
How to Use the Log Calculator
- Choose the logarithm type.
- Enter x and the base if needed.
- Read the result and the other logs.
Formula and Method
Definition
log_b(x) = y ⇔ bʸ = x
Change of base
log_b(x) = ln(x) ÷ ln(b)
Product rule
log(xy) = log x + log y
Worked Example
A common log
Input: log₁₀(1,000)
- 10³ = 1,000
Result: 3.
Frequently Asked Questions
What is ln?
The natural logarithm, with base e ≈ 2.71828.
Why can’t I take the log of zero or a negative?
No power of a positive base equals zero or a negative number.
What is an antilog?
The inverse of a log: antilog_b(y) = bʸ.
How are logs used?
In pH, decibels, the Richter scale, finance and computer science.
Related Calculators
Sources and Further Reading
Accuracy and Scope
Results use standard IEEE-754 double-precision arithmetic and are rounded for display. For exam, engineering or research work, verify critical values with a second method. See our full disclaimer.