Logarithm Calculator
Calculate the logarithm of any number with any base. Supports common logarithms (base 10), natural logarithms (base e), binary logarithms (base 2), and custom bases.
Calculate Logarithm
Enter a positive number and base to calculate the logarithm:
Change of base formula: logb(x) = ln(x) ÷ ln(b)
What is a Logarithm?
A logarithm is the inverse operation of exponentiation. If b^y = x, then log_b(x) = y. The logarithm tells you what exponent you need to raise the base to in order to get the number.
Mathematical Notation
means by = x
Common Logarithms
๐ Common Logarithm
Base 10: logโโ(x)
Example: logโโ(100) = 2 because 10ยฒ = 100
๐ฟ Natural Logarithm
Base e: ln(x)
Example: ln(e) = 1 because eยน = e
๐ป Binary Logarithm
Base 2: logโ(x)
Example: logโ(8) = 3 because 2ยณ = 8
Logarithm Rules (Laws)
๐ Product Rule
log_b(x ร y) = log_b(x) + log_b(y)
Example: logโโ(100 ร 1000) = logโโ(100) + logโโ(1000) = 2 + 3 = 5
โ Quotient Rule
log_b(x รท y) = log_b(x) - log_b(y)
Example: logโโ(1000 รท 10) = logโโ(1000) - logโโ(10) = 3 - 1 = 2
โก Power Rule
log_b(x^n) = n ร log_b(x)
Example: logโ(8ยณ) = 3 ร logโ(8) = 3 ร 3 = 9
๐ Change of Base
log_b(x) = log_c(x) รท log_c(b)
Example: logโ(8) = ln(8) รท ln(2) โ 2.079 รท 0.693 โ 3
Special Values
Expression | Value | Reason |
---|---|---|
log_b(1) | 0 | bโฐ = 1 for any base b |
log_b(b) | 1 | bยน = b |
log_b(b^n) | n | b^n = b^n |
logโโ(10) | 1 | 10ยน = 10 |
ln(e) | 1 | eยน = e |
logโ(2) | 1 | 2ยน = 2 |
Applications of Logarithms
๐งช pH Scale
pH = -logโโ[Hโบ]
Measures acidity of solutions
๐ Richter Scale
Earthquake magnitude uses logarithmic scale
๐ต Decibel Scale
dB = 10 ร logโโ(Pโ/Pโ)
Sound intensity measurement
๐ป Information Theory
Entropy calculations use logโ
Exponential vs Logarithmic Relationship
Exponential Form | Logarithmic Form | Example |
---|---|---|
2ยณ = 8 | logโ(8) = 3 | 2 to what power equals 8? |
10ยฒ = 100 | logโโ(100) = 2 | 10 to what power equals 100? |
e^0 = 1 | ln(1) = 0 | e to what power equals 1? |
5^2 = 25 | logโ (25) = 2 | 5 to what power equals 25? |
๐ก Pro Tip: Logarithms are extremely useful for working with very large or very small numbers. They convert multiplication and division into addition and subtraction, making complex calculations much simpler!
Logarithm Calculation Methods
- Direct Calculation: Using built-in functions for common bases (logโโ, ln, logโ)
- Change of Base: Convert any logarithm to natural logarithms using the formula log_b(x) = ln(x)/ln(b)
- Scientific Calculator: Most calculators have dedicated logarithm buttons
- Log Tables: Historical method using pre-computed logarithm tables
Common Logarithm Values
Number | logโโ(x) | ln(x) | logโ(x) |
---|---|---|---|
1 | 0 | 0 | 0 |
2 | 0.3010 | 0.6931 | 1 |
10 | 1 | 2.3026 | 3.3219 |
e (โ2.718) | 0.4343 | 1 | 1.4427 |
100 | 2 | 4.6052 | 6.6439 |
1000 | 3 | 6.9078 | 9.9658 |