Log Calculator
Calculate logarithms (base 10, base e, or any custom base) instantly and accurately.
The logarithm of a number x with base b is the power y such that \(b^y = x\).
Common logarithm uses base 10, noted as log₁₀(x).
Natural logarithm uses base e (~2.718), noted as ln(x).
Custom base logarithm calculates the logarithm with any user-defined base > 1.
🔍 What is a Logarithm?
A logarithm (or “log” for short) is the inverse operation of exponentiation. In simple terms, a logarithm tells you what power a specific base must be raised to in order to get a certain number. For example:
x = by → y = logb(x)
Here, b
is the base, x
is the result, and y
is the exponent (or the logarithm of x
with base b
).
When no base is specified, it usually means base 10, also called the common logarithm. If the base is e (Euler’s number, approximately 2.718), we write it as ln(x)
, the natural logarithm. Another frequently used base is 2, known as the binary logarithm, used in computer science.
⚙️ Where Are Different Logarithm Bases Used?
- Base 10 (log₁₀) – Common in science and engineering
- Base e (ln) – Used widely in mathematics, physics, and calculus
- Base 2 (log₂) – Essential in computing and information theory
📘 Basic Rules of Logarithms
1. Product Rule
When multiplying two numbers inside a log, you can rewrite it as the sum of their individual logs:
logb(x × y) = logb(x) + logb(y)
Example:
log(1 × 10) = log(1) + log(10) = 0 + 1 = 1
2. Quotient Rule
When dividing numbers inside a log, subtract the logs:
logb(x / y) = logb(x) - logb(y)
Example:
log(10 / 2) = log(10) - log(2) = 1 - 0.301 = 0.699
3. Power Rule
If the log argument has an exponent, pull the exponent in front:
logb(xy) = y × logb(x)
Example:
log(26) = 6 × log(2) ≈ 6 × 0.301 = 1.806
4. Change of Base Rule
You can convert a logarithm from one base to another:
logb(x) = logk(x) / logk(b)
Example:
log10(x) = log2(x) / log2(10)
5. Base-Argument Switch Rule
Flip the base and the argument using:
logb(c) = 1 / logc(b)
Example:
log5(2) = 1 / log2(5)
🧠 Other Logarithm Properties to Know
- logb(1) = 0
- logb(b) = 1
- logb(0) = undefined
- limx→0 logb(x) = −∞
- ln(ex) = x
Features of This Log Calculator:
Calculate log₁₀ (base 10), logₑ (ln), or any custom base
Instant real-time calculation
Easy-to-use interface
Mobile-friendly design
Error alerts for invalid input
Formula and explanation included
No downloads or registration required
How to Use the Log Calculator :
Enter the number you want to calculate the log of.
Choose the type of log: base 10, natural log, or custom base.
If you choose custom, enter your base.
View your result instantly below!