Logarithm Calculator
Find the logarithm of a number to any base, along with the natural log, common log and log base 2.
These tools are for study and quick checking. A result is only as good as the numbers you enter and the simplifying assumptions in the formula. For published, regulated or safety-critical work, check it against a trusted source or an instrument.
How it works
- Enter your values in the boxes. Where a box has a unit beside it, check the unit before you read the answer.
- The answer updates as you type, so there is no button to press.
- Use Copy results to keep the answer. Check the formula and its limits below if the result will go into a report or an experiment.
The formula
log base b of x = ln(x) / ln(b)
Frequently asked questions
What is a logarithm?
The power you raise the base to in order to get the number. log10 of 1000 is 3.
Can I take the log of zero or a negative?
No. Real logarithms need a positive number.
Is what I enter sent anywhere?
No. The calculation is done in your browser, so your numbers are not sent to a server or saved.
Related tools
Exponent Calculator
Raise a number to a power, take a root, and see the result in decimal and scientific notation, including negative and fractional powers.
Derivative Calculator
Estimate the derivative of a function of x at a point, with the second derivative and the tangent line, using accurate numerical differences.
Integral Calculator
Find the definite integral of a function of x between two limits using Simpson's rule, and compare with the trapezoid rule.