Log Calculator (Logarithm)

Find log, ln and log base 2 or any base, plus antilog and change of base, with a table of common values.

Result

Fill in the fields above, then press Calculate.

A log calculator finds the common log (log10), the natural log (ln), the log to base 2 or to any base you choose, and the antilog, for any positive number. A table of common values and a change-of-base example are below.

Log, ln and log base 2

log usually means the common logarithm, base 10: log₁₀(1000) = 3, because 10³ = 1000. ln is the natural logarithm, base e (about 2.718282): ln(10) = 2.302585. log₂ is the binary logarithm, base 2: log₂(1024) = 10, because 2¹⁰ = 1024.

The antilog undoes a log: raise the base to the answer. The antilog of 2.5 in base 10 is 10^2.5 = 316.227766.

Common logarithm values

Results are rounded to 6 decimal places, with trailing zeros dropped.

Common logarithm values
ValueBecause
log₁₀(2) = 0.3010310 raised to 0.30103 is about 2
log₁₀(1000) = 310³ = 1000
ln(2) = 0.693147e raised to 0.693147 is about 2
ln(10) = 2.302585e raised to 2.302585 is about 10
log₂(10) = 3.3219282 raised to 3.321928 is about 10
log₂(1024) = 102¹⁰ = 1024
antilog 10^2.5 = 316.227766the number whose log₁₀ is 2.5

Change of base

To find a logarithm in any base, divide the natural logs: log_b(x) = ln(x) ÷ ln(b). Common logs work the same way.

Worked example: log₃(81) = ln(81) ÷ ln(3) = 4. Here ln(81) = 4.394449 and ln(3) = 1.098612, and 4.394449 ÷ 1.098612 = 4.

The same formula gives log₂(10) = ln(10) ÷ ln(2) = 3.321928.

Select the calculation mode: logarithm, antilogarithm, natural log, or change of base. Enter the value and base as needed. For log base 2, choose Logarithm and set the base to 2. The calculator computes the result and shows equivalent representations.

Examples

Common log

log₁₀(1000) = 3, because 10³ = 1000

Natural log

ln(e²) = 2, because e² ≈ 7.389; ln(10) = 2.302585

Log base 2

log₂(1024) = 10, because 2¹⁰ = 1024

Change of base

log₃(81) = ln(81) ÷ ln(3) = 4

Frequently Asked Questions

What is a logarithm?
A logarithm answers the question: to what power must the base be raised to get a given number? log_b(x) = y means b^y = x.
What is the difference between log and ln?
log is the common logarithm, base 10, and ln is the natural logarithm, base e. For example, log(100) = 2 but ln(100) = 4.60517.
How do I calculate log base 2?
Choose Logarithm and set the base to 2. For example, log₂(1024) = 10, and log₂(10) = 3.321928.
What is the antilog?
The antilog is the inverse of a logarithm: raise the base to the log value. The antilog of 2.5 in base 10 is 10^2.5 = 316.227766.
What is the natural logarithm?
The natural logarithm (ln) uses base e ≈ 2.71828. It appears naturally in calculus, compound interest, and exponential growth/decay.
Why can you not take the log of a negative number?
In real numbers, logarithms are only defined for positive values because no real power of a positive base produces a negative result.

Quick Tips

  • •Double-check your inputs: small errors lead to incorrect results.
  • •Use the change-of-base formula to convert between logarithm bases.
  • •Remember that log base 10 of 1000 is 3, which is a quick sanity check.