Skip to main content

Math: Log

Compute the logarithm of a number. The base can be supplied either statically via the Base parameter or dynamically via the base input. When neither is set, falls back to the natural logarithm (ln, base e).

Example
Base: 10 → 100 → 2
Base: 2 → 8 → 3
Base: - → e → 1 (natural log)

Parameters

Base

Static fallback logarithm base. Leave empty for natural logarithm (base e). Common alternatives: 2 (binary log), 10 (decimal log).

Input

NumberREQUIRED
Positive number.
Base

Optional dynamic base — overrides the Base parameter when wired.

Output

Result
The logarithm of the input.