Log Calculator

Calculate the logarithm of a number with any base, including natural log and base-10.

Calculate Logarithm

log
=
Result

Answer: y = 4.6051701859881

loge(100) = 4.6051701859881

e4.6051701859881 = 100

Logarithm Function Curve

Complete Logarithm Calculator Guide & Information

1. What is a Logarithm?

A logarithm is the inverse operation of exponentiation. It answers the question: "To what power must we raise the base to obtain the given number?" If by = x, then logb(x) = y. The logarithm of x with base b is the exponent y to which b must be raised to produce x.

Logarithms were invented by John Napier in the early 17th century as a way to simplify complex calculations. Before electronic calculators, logarithms turned multiplication into addition and division into subtraction, dramatically speeding up hand computation.

2. Basic Definition

logb(x) = y    if and only if    by = x
where b > 0, b ≠ 1, and x > 0

3. Common Logarithm Bases

Base Name Notation Common Uses
e ≈ 2.71828 Natural logarithm ln(x) or loge(x) Calculus, physics, engineering, growth/decay
10 Common logarithm log(x) or log10(x) Science, engineering, decibels, pH scale
2 Binary logarithm log2(x) or lb(x) Computer science, information theory, music

4. Logarithm Rules and Identities

Rule Formula Example
Product Rule logb(xy) = logb(x) + logb(y) log2(4×8) = log2(4) + log2(8) = 2 + 3 = 5
Quotient Rule logb(x/y) = logb(x) − logb(y) log10(1000/10) = 3 − 1 = 2
Power Rule logb(xn) = n × logb(x) log2(8³) = 3 × log2(8) = 3 × 3 = 9
Change of Base logb(x) = logc(x) / logc(b) log2(10) = ln(10) / ln(2) ≈ 3.3219
Reciprocal Rule logb(1/x) = −logb(x) log10(0.01) = −log10(100) = −2
Identity logb(b) = 1 log5(5) = 1
Log of 1 logb(1) = 0 log10(1) = 0
Inverse Property blogb(x) = x 10log10(100) = 100

5. Change of Base Formula

The change of base formula allows calculating logarithms with any base using a calculator that only has ln or log buttons. This is the formula used by this calculator internally.

logb(x) = ln(x) / ln(b) = log10(x) / log10(b)

6. Properties of the Logarithm Function

7. Real-World Applications

8. Input & Control Definitions

9. Worked Examples

Example 1 — Natural log: Calculate ln(100)

Example 2 — Base-10 log: Calculate log10(1000)

Example 3 — Binary log: Calculate log2(256)

10. Important Notes

11. Related Mathematical Concepts

12. References

1. Napier, John. "Mirifici Logarithmorum Canonis Descriptio." 1614.
2. Euler, Leonhard. "Introduction to Analysis of the Infinite." 1748.
3. Stewart, James. "Calculus: Early Transcendentals." Cengage Learning. 2015.
4. Apostol, Tom M. "Calculus, Volume 1." Wiley. 1991.
5. Knuth, Donald E. "The Art of Computer Programming, Volume 1." Addison-Wesley. 1997.
6. Shannon, Claude E. "A Mathematical Theory of Communication." 1948.