Logarithm Base

Calculate logarithm of a positive value in any valid base.

How this calculator works

Enter value, logarithm base. CalcStack applies the displayed formula and reports each intermediate planning value with the units shown.

Formula / method

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

Worked example

log base 2 of 1,024 is 10.

Assumptions and limitations

Value is positive and base is positive but not 1.

Floating-point rounding affects values near exact powers at extreme scale.