✦Introduction
Introduction
This logarithm calculator evaluates logarithms for a selected base and provides natural-log, common-log, and change-of-base calculations. It can also help check exponential equations.
A logarithm is defined only for a positive argument and a valid base. The base must be positive and cannot equal one in the usual real-number definition.
%Definition
What is a logarithm?
A logarithm answers the question: to what power must a base be raised to produce a positive number? In log base b of x = y, the equivalent exponential statement is b raised to y = x.
The common logarithm uses base 10 and the natural logarithm uses base e. Other positive bases can be used when they are not one.
↗How to use
How to use this calculator
- Enter a positive argument and a valid positive base other than one.
- Choose a base such as 10, e, or a custom base.
- Review the exact expression and decimal approximation.
- Use change of base when the original base is not a calculator shortcut.
- Check domain restrictions before using a logarithm in an equation.
Example 01Common logarithmWhat is log10(1000)?
Example 02Natural logarithmWhat is ln(e²)?
Example 03Change of baseHow can log2(7) be calculated?
Example 04Logarithm of oneWhat is log5(1)?
Example 05Invalid argumentWhat is log10(−4) over the real numbers?
Example 06Solve an exponential equationHow can 3^x = 20 be solved?
◎Result interpretation
How to interpret the result
A logarithm can be negative when a positive argument is between zero and one for a base greater than one. Decimal results are approximations unless an exact identity is available.
Always read the base and argument together. Changing the base changes the value, even when the argument stays the same.
!Common mistakes
Common mistakes
Using zero or a negative argument in a real logarithm.
Using base one or a negative base in the usual real definition.
Confusing log base 10 with natural log.
Rounding before applying a logarithm in a later calculation.
◇Limits and special cases
Limitations
The calculator evaluates supported numeric logarithms and may not simplify every symbolic expression. Complex logarithms have branch conventions that require additional context.
For scientific or engineering work, verify units, precision, base, and domain before relying on a result.
؟Frequently asked questions
FAQ
What does a logarithm mean?
It is the exponent needed to raise a base to a given positive argument.
What is ln?
ln is the natural logarithm with base e.
What is log without a base?
The convention depends on context; many calculators use base 10, while some mathematical contexts use ln.
Can the argument be negative?
Not for a real logarithm; complex logarithms use additional conventions.
Can the base be one?
No. A base of one cannot produce different positive values through exponentiation.
Why use change of base?
It lets you calculate a logarithm with a base not directly provided by a calculator.
Are logarithms inverse functions?
Yes. Logarithms and exponentials with the same valid base undo each other.
Why is my result rounded?
Most logarithms are irrational, so the calculator displays a decimal approximation.