← All calculators / Math

Logarithm

Number and base must be positive.

01 / Your inputsBrowser-only calculation
Logarithm
—
How it works

The formula

log base b of x = ln(x)/ln(b)

Example inputs

Number: 100 · Base: 10

Result: 2

What the Logarithm works out

The Logarithm turns the figures below into logarithm, using the formula log base b of x = ln(x)/ln(b). Number and base must be positive.

What each field means

Number
A number; the example uses 100. It cannot go below 0.
Base
A number; the example uses 10. It cannot go below 0.

A worked example

With the values this page opens on — Number 100, Base 10 — the answer is 2. Reset restores exactly these numbers.

Reading the result

The result is labelled logarithm. It is recalculated on every keystroke from the unrounded values in the form, and the accompanying graph follows the same numbers.

Assumptions and limits

Number and base must be positive. Base cannot be one.

Your privacy

Nothing you type leaves your browser.

Related calculators

Slope ↗ · Binary ↗ · Matrix ↗ · Factors ↗