How this calculation works
A logarithm answers “what power of this base produces the number?” The number and base must be positive, and the base must not be 1.
log_base(number) = ln(number) ÷ ln(base)A worked example
The logarithm of 1,000 to base 10 is 3.
Good to know
Uses the stated formula and assumptions. Displayed decimal values are rounded; use consistent units for all inputs.
A logarithm asks for the exponent
The statement log₂(8)=3 means that two raised to the third power equals eight. Changing the base changes which repeated growth or reduction factor is being measured. A logarithm of one is zero for every supported base because any positive non-unit base raised to zero equals one.
Change of base divides two logarithms taken with the same reference base. Here the natural logarithms of the argument and chosen base are reported separately so that the division is visible. The integer exponent calculator explains the reverse numerical power relationship.
Use the power calculator to check a logarithm: raise the chosen base to the returned exponent and compare with the original positive value.
A base below one is valid, but base one is not
A positive base such as one half gives a decreasing exponential relationship. For example, log₀.₅(0.125)=3. The base still must differ from one; otherwise every real exponent gives the same value one and the logarithm is not uniquely invertible.
The real-valued logarithm also needs a positive argument. Negative or zero arguments are not silently converted into a complex answer. Printed decimal answers are approximate, particularly when the base is very close to one and small input changes can correspond to large exponent changes.
A few questions, answered
Can I choose a base between zero and one?
Yes. It is valid as long as the base is positive and not one.
Why is log base one rejected?
One to every real power is still one, so the inverse exponent would not be unique.
Does this calculate complex logarithms?
No. Arguments and bases follow the supported real-domain rules.