Logarithm Calculator
Solve one part of logb(x) = y by entering the other two values.
The calculator will show only the inputs needed for the selected calculation.
The number inside the logarithm. Must be greater than 0.
The base must be greater than 0 and cannot equal 1.
The result of the logarithm expression.
Results
Calculated from log base equation.
Results are rounded for display. Very large or very small values may be shown in scientific notation by the browser.
Use this Log Calculator to solve one missing value in the logarithmic equation logb(x) = y. You can calculate the logarithm value, original number, or base.
Calculation Methods
Logarithmic and exponential forms are equivalent:
logb(x) = y
by = x
To calculate a logarithm with any valid base:
logb(x) = ln(x) ÷ ln(b)
To find the original number:
x = by
Example
Calculate:
log2(32)
Because:
2⁵ = 32
Therefore:
log2(32) = 5
Important Note
For real-number logarithms, x must be greater than 0, the base must be greater than 0, and the base cannot equal 1.