Home · Math · Algebra · Log Calculator (Logarithm)

Log Calculator (Logarithm)

Logarithm of a number in any base, with the natural, common and binary logarithms for comparison.

Your figures

Example result — edit the figures to make it yours

2

log_b(x)

ln(x)4.6052
log₁₀(x)2.0000
log₂(x)6.6439

What this calculator does

Logarithm of a number in any base, with the natural, common and binary logarithms for comparison. Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.

The formula and method

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

The change-of-base formula lets any logarithm be computed from natural logs. The number must be positive and the base positive and not equal to 1.

Worked example

With the example inputs this page opens with (number x 100, base b 10), the result is 2.0000 — log_b(x). Change any figure and the result updates with the same formula.

Quick reference

Quick reference — varying number x
Number xlog_b(x)
501.6990
801.9031
1002.0000
1252.0969
1502.1761
2002.3010

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Log Calculator (Logarithm) work?

Logarithm of a number in any base, with the natural, common and binary logarithms for comparison. Number x, base b → log_b(x), ln(x), log₁₀(x), log₂(x). The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Log Calculator (Logarithm) need?

Number x, base b → log_b(x), ln(x), log₁₀(x), log₂(x). Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Log Calculator (Logarithm) free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.