A logarithm calculator computes log_b(x), the logarithm of a value x with any base b.
What is a logarithm calculator?
A logarithm calculator returns log_b(x), the exponent you raise b to so the result equals x. It shows common log, natural log, and a custom base you enter. Base 0 selects natural log. Inputs must be positive for real results.
How to use the Logarithm Calculator
- Enter positive value x.
- Enter base b, or 0 for natural log.
- Read log₁₀(x), ln(x), and log_b(x) cards.
- Use change-of-base text for custom bases.
- Fix x if the panel warns x must exceed 0.
About this calculator
A logarithm calculator computes log_b(x), the logarithm of a value x with any base b. The logarithm answers the question: 'b raised to what power gives x?' Logarithms are the inverse of exponentiation.
Logarithms appear in many real-world applications: decibels (sound), the Richter scale (earthquakes), pH (acidity), information theory (Shannon entropy), and many scientific and engineering formulas.
How the math works
- : The number you're taking the log of (must be > 0)
- : The base of the logarithm
- : Natural logarithm (base e ≈ 2.718)
Logarithm example: log₁₀(1000) and log₂(8)
Enter x = 1000 with base 10. log₁₀(1000) = 3 because 10³ = 1000. Natural log ln(1000) ≈ 6.907755 on the same row.
Set x = 8 and base 2. log₂(8) = 3 because 2³ = 8. Change of base agrees: log(8)/log(2) = 3 using common logs.
Verify ln(e) = 1 by entering x = 2.718281828 and base 0; result is near 1. log₁₀(10) = 1 exactly when x = 10 and base = 10.
Mental check: log₂(512) = 9 because 2⁹ = 512. Enter x = 512 and base 2 to read 9.000000 on the custom log line while log₁₀(512) shows about 2.709270.
Natural log of 50 appears in growth sketches: ln(50) is about 3.912023. Set base 0 for natural log with x = 50. log₅(125) = 3 since 5³ = 125; enter base 5 and x = 125 to match.
Change-of-base check for base 3: log₃(81) = 4 because 3⁴ = 81. Enter x = 81 and base 3. log₁₀(0.01) = -2 exactly when x = 0.01 and base = 10, useful for pH-style powers of ten.
Common uses
- Calculate log base 10 for scientific notation and decibels
- Compute natural log (ln) for continuous growth and physics calculations
- Find logarithm base 2 for information theory and computer science
- Solve exponential equations using logarithms
Frequently asked questions
What is a logarithm?
A logarithm is the inverse of exponentiation. log_b(x) = y means b^y = x. For example, log₁₀(1000) = 3 because 10³ = 1000. Common logarithm uses base 10 (log), natural logarithm uses base e ≈ 2.718 (ln).
What are logarithm rules?
Product rule: log(a × b) = log(a) + log(b). Quotient rule: log(a/b) = log(a) − log(b). Power rule: log(a^n) = n × log(a). Change of base: log_b(x) = log(x) / log(b). These rules allow simplification of complex logarithmic expressions.
What is log base 10 of 1,00,000?
log₁₀(1,00,000) = 5 because 10⁵ = 1,00,000. Enter 100000 as x with base 10 to read 5.000000 on the log₁₀ card without counting zeros manually.
How do I get ln(20) on this logarithm calculator?
Enter x = 20 and set base to 0 for natural log. ln(20) ≈ 2.995732 because e^2.995732 is near 20. The ln card shows the value to six decimals alongside log₁₀(20) ≈ 1.301030.
What is log base 3 of 81 on this logarithm calculator?
Enter x = 81 and base 3. log₃(81) = 4 because 3⁴ = 81. The custom log card should read 4.000000 while log₁₀(81) shows about 1.908485 on the same row.
Related calculators
- Math Calculator
- Percentage Calculator
- Fraction Calculator
- Exponent Calculator
- Nth Root Calculator
- Ratio Calculator
- Pythagorean Theorem
- Slope Calculator
Maintained by J Jaya Prakash · Last updated: October 2026