Calculate log base 10, natural log (ln), logarithm with any custom base, inverse log (antilog), and negative log — all with full step-by-step solutions. Free, instant, no signup.
Five modes cover every logarithm problem. Pick the mode that matches your question, enter the values, and get a complete solution with all working steps.
Choose Log₁₀ for common log, ln for natural log, Custom Base for any base, Inverse Log for antilog, or Log Equation to solve for any unknown.
Type a positive number in the Value field. For Custom Base, also enter the base. Logarithm is only defined for positive numbers (x > 0).
Press Calculate Log for instant results — shown with the full expression, decimal value, and alternative forms (e.g. log₁₀ and ln both shown).
Every result shows the change-of-base formula, verification step, and what the answer means — so you learn the method, not just copy the number.
All logarithm simplification uses these core rules. Memorise them and you can simplify any log expression — with or without a calculator.
| Expression | log₁₀ value | ln value | Notes |
|---|
Logarithms are everywhere — from measuring earthquakes to calculating decibels, pH, and compound interest. Here's where our free log calculator helps most.
Solve logarithm equations, verify homework answers, and learn the change-of-base formula with step-by-step working shown for every calculation.
Find how long an investment takes to double using log: n = log(2)/log(1+r). For 8% interest: n = log(2)/log(1.08) ≈ 9 years (Rule of 72).
Sound intensity in decibels uses log: dB = 10 × log₁₀(I/I₀). A sound 10× louder = +10 dB. 100× louder = +20 dB. Our log calculator makes dB calculations instant.
pH = −log₁₀[H⁺]. A hydrogen ion concentration of 0.001 mol/L: pH = −log(0.001) = −(−3) = 3 (strongly acidic). Use our negative log mode directly.
The Richter scale uses log₁₀. A magnitude 7 earthquake is 10× stronger than magnitude 6 and 100× stronger than magnitude 5. Each step = 10× more energy.
Algorithm complexity uses log₂ — binary search runs in O(log₂ n). For 1 million items: log₂(1,000,000) ≈ 20 comparisons max. Our log base 2 calculator is perfect for this.
A log calculator is a free online tool that computes logarithms of any base — instantly and with step-by-step solutions. While a basic calculator only has LOG (base 10) and LN (natural log) buttons, our online log calculator goes much further: it calculates log with any custom base using the change-of-base formula, computes the inverse log (antilog), handles negative logs, and even solves log equations where you provide two values and find the third.
The LOG button on a calculator computes the base-10 logarithm. It answers: "To what power must I raise 10 to get this number?"
log₁₀(x) = y means 10^y = x
log(10) = 1 → because 10¹ = 10
log(100) = 2 → because 10² = 100
log(1000) = 3 → because 10³ = 1000
log(0.1) = −1 → because 10⁻¹ = 0.1
log(50) ≈ 1.699 → because 10^1.699 ≈ 50
The LN button computes the natural logarithm — logarithm with base e (Euler's number ≈ 2.71828). It answers: "To what power must I raise e to get this number?"
ln(x) = y means eʸ = x
Select the Log₁₀ tab, enter your number (x), and click Calculate. The result is log₁₀(x).
Select the ln tab, enter your number, and click Calculate. Returns logₑ(x) = ln(x).
Select Custom Base, enter the value and base. The calculator uses the change-of-base formula:
log_b(x) = log(x) / log(b) = ln(x) / ln(b)
log₂(32) = log(32)/log(2) = 1.5051/0.3010 = 5
Verify: 2⁵ = 32 ✓
log₃(81) = log(81)/log(3) = 1.9084/0.4771 = 4
Verify: 3⁴ = 81 ✓
The inverse log (antilog) reverses a logarithm. If log₁₀(x) = y, then antilog(y) = 10^y.
antilog₁₀(y) = 10^y
Select the Inverse Log tab, enter the log value and base. The calculator computes b^y.
antilog(3) base 10 = 10³ = 1000
antilog(0.699) base 10 = 10^0.699 ≈ 5
antilog(2) base e = e² ≈ 7.389
How to change log base on a calculator: On physical calculators, use the change-of-base formula: log_b(x) = LOG(x) ÷ LOG(b). On our online log calculator, simply select the Custom Base tab — it applies the change-of-base formula automatically and shows you the working.
A negative log simply means the logarithm of a number between 0 and 1. For example:
In chemistry, pH = −log[H⁺] — so a negative log gives a positive pH value. Enter any number between 0 and 1 in our Log Base 10 mode to get a negative log result automatically.
Log base 2 (binary logarithm) is fundamental in computer science and information theory. It answers: "How many times must I double 1 to reach this number?"
Use our Custom Base mode with base = 2 for any binary logarithm calculation.
The LOG button on a calculator computes the base-10 logarithm (common logarithm). It tells you: "To what power must 10 be raised to get this number?" For example, LOG(1000) = 3 because 10³ = 1000. The LN button computes the natural logarithm (base e ≈ 2.718). Both are inverse functions of exponentials.
On our online log calculator: select the Log₁₀ tab, enter your number, and click Calculate. On a physical scientific calculator: type the number, then press the LOG button. For natural log, press LN instead. For custom bases, use our Custom Base tab (applies change-of-base formula automatically: log_b(x) = LOG(x) ÷ LOG(b)).
In our calculator, select Custom Base, enter the value in the first field and the base in the second field, then click Calculate. Example: log₂(8) → Value=8, Base=2 → Result=3. On a physical calculator, either use the logₐ(b) function if available, or apply the change-of-base formula manually: LOG(8) ÷ LOG(2) = 0.903 ÷ 0.301 = 3.
Use our Inverse Log tab — enter the log value and base, click Calculate. The antilog formula is: antilog_b(y) = b^y. For base 10: antilog(3) = 10³ = 1000. On a physical calculator, press Shift + LOG (which activates 10ˣ) for base-10 antilog, or Shift + LN for natural antilog (eˣ). Enter your value then press =.
Use the change-of-base formula: log_b(x) = LOG(x) ÷ LOG(b). On our calculator, this is done automatically in the Custom Base tab. On a physical calculator: for log₂(32), press LOG(32) ÷ LOG(2) = 1.505 ÷ 0.301 = 5. Alternatively, use ln(32) ÷ ln(2) for the same result.
log (LOG on calculator) = base-10 logarithm. Most used in everyday life and engineering. log(10) = 1, log(100) = 2. ln (LN on calculator) = natural logarithm, base e ≈ 2.718. Used in calculus, physics, and exponential growth/decay. ln(e) = 1, ln(e²) = 2. They are related by: ln(x) = log(x) × ln(10) ≈ log(x) × 2.3026.