# Change of base formula

The **change of base formula** is a formula for expressing a logarithm in one base in terms of logarithms in other bases.

For any positive real numbers such that neither nor are , we have

This allows us to rewrite a logarithm in base in terms of logarithms in any base . This formula can also be written

## Proof

Let .

Then .

And, taking the of both sides, we get

By the properties of logarithms,

Substituting for y,

## Proof 2

Let .

Taking log base d on both sides gives us

and thus

Dividing both sides by gives us .

Turning back to , we take log base a of both sides.

This lets us obtain and thus we see

Therefore, Proof by AwesomeDude86

## Use for computations

The change of base formula is useful for simplifying certain computations involving logarithms. For example, we have by the change of base formula that

The formula can also be useful when calculating logarithms on a calculator. Many calculators have only functions for calculating base-10 and base-e logarithms. But you can still calculate logs in other bases, you just need to use the change of base formula to put in in base 10. For example, if you wanted to calculate , you would first convert it to the form . Then you would evaluate it using the base-10 log function on the calculator.

## Special cases and consequences

Many other logarithm rules can be written in terms of the change of base formula. For example, we have that . Using the second form of the change of base formula gives .

One consequence of the change of base formula is that for positive constants , the functions and differ by a constant factor, for all .

*This article is a stub. Help us out by expanding it.*