Home · Everyday · Algebra · Change of Base Formula Calculator

Change of Base Formula Calculator

Convert a logarithm to any new base with the change of base formula, the trick behind every calculator's log key.

Your figures

Must be > 0

Must be > 0 and ≠ 1

Example result — edit the figures to make it yours

3

log_b(x)

Computed from the inputs on this page with the formula below — change any figure and every result updates.

ln(x)6.907755
log₁₀(x)3.000000

What this calculator does

Convert a logarithm to any new base with the change of base formula, the trick behind every calculator's log key. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.

The formula and method

log_b(x) = ln(x) / ln(b) = log₁₀(x) / log₁₀(b)

The change of base formula rewrites a logarithm in any base as a quotient of logarithms in a base your calculator has: log_b(x) = ln(x)/ln(b). It works because b^(ln x / ln b) = x by the power rules for logarithms.

The argument must be positive and the base positive and not equal to 1; outside that domain the real-valued logarithm is undefined. Any consistent base gives the same answer, so ln and log₁₀ columns above always agree after division.

Worked example

With the example inputs this page opens with (argument x 1000, new base b 10), the result is 3.000000 — log_b(x). Computed from the inputs on this page with the formula below — change any figure and every result updates.

Quick reference

Quick reference — varying Argument x
Argument xlog_b(x)ln(x)log₁₀(x)
20.301030.6931470.30103
1012.3025851
10024.605172
100036.9077553
1000049.210344
100000511.5129255

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

Common questions

Why can't the base be 1?

Because 1 raised to any power is always 1, so 'the power that gives x' has no answer (or infinitely many) when the base is 1.

How does the Change of Base Formula Calculator work?

Convert a logarithm to any new base with the change of base formula, the trick behind every calculator's log key. Argument x · New base b → log_b(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 Change of Base Formula Calculator need?

Argument x · New base b → log_b(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 Change of Base Formula Calculator 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.