Interactive mathematics
Logarithm Calculator
Find a logarithm, its argument or its base. Explore the inverse power equation and see the answer on a graph that follows your values.
Three solving modes · responsive graph · worked formulasWhat would you like to find?
Enter decimals, scientific notation, e, or a simple fraction such as 1/2.
Calculated answer
Result y
3Logarithm function graph
The point marks your calculation. The curve rises when b > 1 and falls when 0 < b < 1.
Vertical asymptote: x = 0 · Real-valued graph: x > 0
Try an example
Understand the result
A logarithm asks which power of b gives x.
Logarithms undo powers
The statements log_b(x) = y and b^y = x describe the same relationship. Use the inverse form to check a result.
logb(x) = y ⇔ by = x
Any valid base
Use ln(x) / ln(b) to calculate a logarithm with any positive base other than 1.
logb(x) = ln(x) / ln(b)
Where the function is defined
For real values, x must be positive, b must be positive and b cannot equal 1. Negative logarithm results are valid.
x > 0 · b > 0 · b ≠ 1
Why the curve can fall
For a base between 0 and 1, increasing x makes the logarithm decrease. The graph must show this change of direction.
Related mathematics tools
Continue with powers, roots and scientific notation.
Frequently asked questions
What does log_b(x) = y mean?
It means b raised to the power y equals x.
Can the logarithm be negative?
Yes. For example, log_2(1/2) = -1 because 2^-1 = 1/2.
What bases are allowed?
Any positive base except 1. A base between 0 and 1 produces a decreasing logarithm graph.
Can I enter a fraction?
Yes. Enter a simple fraction such as 1/2, or use a decimal or scientific notation.
Why is the result sometimes approximate?
Most logarithms are not terminating decimals. The calculator displays a numerical approximation and the inverse check.
Can I solve for the base or argument?
Yes. Choose the unknown quantity first, then enter the other two values.
