Math & statistics

Logarithm calculator

Use the free logarithm calculator to calculate result using number, base. See the formula and a worked example.

Enter your values

Result
2
Example result. Change the values to calculate.

How the calculation works

log_b(x) = ln(x) ÷ ln(b)

Worked example

Using Number: 100, Base: 10, the result is 2.

Base must not equal 1.

Results are rounded for display. Check inputs and assumptions before using a result in a consequential decision.