Logarithm Calculator
Compute the logarithm of a number in any base, plus its natural and base-10 values.
The exponent behind a number
Type a positive number and a base, and the page prints the exponent the base must be raised to in order to reach that number. It evaluates ln(x)/ln(b) for the requested base, then shows ln(x) and log10(x) beside it: with 1000 and base 10 the answer is 3, and the two extra lines repeat it as 6.9078 and 3.
The argument must be above zero, because no real exponent takes a positive base to zero or to a negative number. The base must be above zero and cannot be 1, since 1 raised to any power is still 1 and the logarithm would be undefined; both refusals name the value that failed instead of printing infinity. The page does not do complex logarithms of negative numbers and does not draw a curve.
The computation runs in this tab from the two values you type. Nothing is uploaded and nothing is remembered, so reloading the page prints the same exponent to the same number of places.
The page prints the exponent your base must be raised to in order to reach your number, evaluated as ln(x)/ln(b), and shows the natural and base-10 logs beside it. With 1000 and base 10 the answer is 3, with ln(1000) = 6.9078 on the second line. It does not do complex logarithms, so a negative argument is refused rather than given an imaginary part.
Any positive base except 1, with the two common logs for free.
How to use it
Type the number and the base, then press Run. The logarithm in your base is printed first, followed by the natural log and the base-10 log of the same number.
What it will not do
The argument must be above zero and the base must be above zero and not equal to 1, because 1 raised to any power is still 1 and the logarithm is undefined. Each refusal names the value that failed instead of printing infinity, and the page draws no graph and does no antilog.
What to Expect
Best for
- Checking an exponent by hand, or reading a log-scale figure in another base.
What this tool keeps
- The division of two logarithms runs in this tab on your two values; nothing is uploaded and the same input prints the same places after a reload.
Sample input
number 1000, base 10
Sample output
log base 10 of 1000 = 3 ln(1000) = 6.9078; log10(1000) = 3.
Frequently asked questions
How do I use the logarithm calculator?
Fill in the fields above and press Run. Type the number and the base, then press Run. The logarithm in your base is printed first, followed by the natural log and the base-10 log of the same number.
Is my input uploaded?
No. Every figure is computed in this tab with JavaScript. Nothing is posted to a server, nothing is stored, and the page keeps working offline once it has loaded.
What are the limits?
The number must be above 0 and the base above 0 and different from 1; anything else is refused with the offending value named.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.