Logarithm Calculator: Solve for Base, Argument or Log
Evaluate common, natural or custom-base real logarithms, or work backward to the argument or base.
Result
How is this calculated?
The equation log base b of x = L means bᴸ = x, with a positive argument and a positive base other than 1.
Worked example: Find the exponent for a base smaller than one
Since (1/2) raised to the power −3 is 8, the base-0.5 logarithm of 8 is −3.
Method and limits
Leave exactly one field blank. Valid logarithm bases are positive and cannot equal 1.
How to use this calculator
- Enter two of b, x and L in log base b of x = L. Leave the field for the unknown blank.
- Use e for a natural logarithm or 10 for a common logarithm. Check the result by raising the base to the displayed logarithm.
Recover a positive argument from a negative logarithm
With base 10 and logarithm −2, leave the argument blank. The argument is 10⁻² = 0.01. A negative logarithm is allowed even though its argument must be positive.
Compare a common and a natural logarithm
The common logarithm of 100 is 2. The natural logarithm of 100 is about 4.60517 because the two operations ask for powers of different bases.
Reverse the equation to find a base
If the argument is 81 and the logarithm is 4, the base is the positive fourth root of 81, or 3. A negative base is outside the definition of the real logarithm used here.
A base between zero and one reverses the usual ordering
For base 0.5, the logarithm of 8 is −3, while the logarithm of 0.125 is 3. The base raised to a larger exponent gets smaller.
Frequently asked questions
- Can the logarithm be negative or zero?
- Yes. For any allowed base, the logarithm of 1 is 0. Other inputs can have either sign for the logarithm.
- Why can’t I evaluate the logarithm of zero?
- A finite real power of a positive base does not give zero. This real logarithm requires a strictly positive argument.
- Can the base equal 1?
- No. Its powers are all 1, which means it has no inverse real logarithm.
- Why is the base unknown when the argument is 1 and the logarithm is zero?
- Every allowed base raised to zero gives 1. That pair does not determine a single base.
Common mistakes and limits
- Only real logarithms with finite results are supported.
- Ordinary floating-point precision can affect the last digits, especially when a base is very close to 1.
Sources & methodology
Related calculators
- Root Calculator: Square, Cube and nth Roots
Find the real nth root of a number, including negative inputs with an odd degree.
- Exponent Calculator: Solve for a Power, Base or Exponent
Solve b to the power p = y. Enter any two values, leaving the unknown field blank.
- Scientific Notation Calculator
Convert a decimal or E-notation number into scientific and engineering notation, or calculate with powers of ten.
- Big Number Calculator
Calculate with large integers and decimals without dropping digits at the usual floating-point boundary. Choose a decimal rounding limit.