About this calculator
Enter the number and the base.
How to use it
- Enter the number.
- Enter the base.
- Read the logarithms.
The formula
log_b(x) = ln(x) ÷ ln(b)
- ln
- natural log, base e ≈ 2.718
- log
- common log, base 10
Worked example
log base 10 of 1000
- 10³ = 1000, so the answer is 3.
- ln 1000 = 6.908 and log₂ 1000 = 9.966.
What the result means
The antilog is the reverse: 10³ = 1000.
Assumptions
- Positive numbers and bases, base not 1.
Limitations
- Logarithms of zero or negatives are undefined for real numbers.
Frequently asked questions
What is log 100?
2, in base 10.
What is ln 1?
0.
How do I change the base?
Divide ln of the number by ln of the base.
Last reviewed on 3 October 2026. Found a mistake? Tell us.

