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.
| Value | Because |
|---|---|
| log₁₀(2) = 0.30103 | 10 raised to 0.30103 is about 2 |
| log₁₀(1000) = 3 | 10³ = 1000 |
| ln(2) = 0.693147 | e raised to 0.693147 is about 2 |
| ln(10) = 2.302585 | e raised to 2.302585 is about 10 |
| log₂(10) = 3.321928 | 2 raised to 3.321928 is about 10 |
| log₂(1024) = 10 | 2¹⁰ = 1024 |
| antilog 10^2.5 = 316.227766 | the 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.
Examples
Common log
Natural log
Log base 2
Change of base
Frequently Asked Questions
What is a logarithm?
What is the difference between log and ln?
How do I calculate log base 2?
What is the antilog?
What is the natural logarithm?
Why can you not take the log of a negative number?
Result
Your result appears here and follows you as you scroll.
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.