CalculatorForEver
MATH / CALCULATOR

Logarithm Calculator

Find a logarithm in your chosen base.

A logarithm answers the question: what exponent raises a chosen base to the entered positive value? This tool uses the change-of-base relationship.

Your numbers

BROWSER-LOCAL INPUTS

Your inputs stay in this browser. No account needed.

RESULT

Your result

Enter your values and select Calculate.

Check the units and assumptions before using this result.

METHOD

How the logarithm calculator works

How to use this calculator

Enter the value you want the logarithm of and the base to use.

What the result means

A logarithm answers an exponent question. For example, log base 10 of 100 asks which power of 10 gives 100. The change-of-base formula lets the calculator use any positive base other than 1.

The formula

log_b(x) = ln(x)/ln(b)

A worked example

log₁₀(100) equals 2 because 10² = 100.

Assumptions & methodology

The value and base must be positive, and the base cannot be 1. Only real logarithms are supported. Results are rounded for display; intermediate calculations retain precision. This tool is informational and does not replace institutional or professional guidance.

References

OpenStax: Introductory Statistics and Prealgebra.

INTERPRETATION

Understanding logarithm results

The base has restrictions

A real logarithm needs a positive argument and a positive base other than one. Base 10 is the common logarithm; base e is the natural logarithm. Changing the base changes the numerical answer even for the same input value.

Use logarithms to reverse powers

If 10² = 100, then log base 10 of 100 equals 2. Logarithms turn multiplication relationships into addition relationships, but they do not make the log of a sum equal to the sum of separate logs.

RELATED GUIDES

Logarithm questions and examples

Read a worked explanation before trying another calculation.

QUESTIONS

Logarithm questions

Can the base be between zero and one?+

Yes. A positive base below one is valid and gives a decreasing logarithmic function.

Why can’t I take the real log of zero?+

There is no finite real exponent that raises a positive valid base to zero. Negative inputs also have no real logarithm in this tool.