Try it with your numbers
Show every step
Calculators only offer base 10 and base , so this is how you get a decimal for something like . It also makes mixed-base problems solvable and gives exact answers when the numbers share a hidden common base. If logs still feel slippery, What Is a Logarithm? covers the basics in a few minutes.
Where does the change of base formula come from?
The whole proof is one idea: a logarithm is an exponent, so turn it into an exponent equation and take logs of both sides. Let . Then . Take of both sides and pull the exponent down with the power rule:
Since was , that is the formula. The power rule does all the work here, and proofs of the logarithm properties show where it comes from.
There is also a picture behind it. Write the result as . The factor is a constant that depends only on the two bases, not on . Changing base never changes the shape of a log curve. It only stretches it vertically by a fixed amount.
How do you use the change of base formula on a calculator?

Follow the same three steps every time:
- Name the argument (the number inside the log) and the old base (the small subscript).
- Choose log or ln for the new base.
- Compute and separately, then divide the first by the second.
Example 1. Evaluate .
Using base 10 gives the same result: . The result is plausible because and , and 20 sits between them.
The costly slip is typing , which is , a different number. Compute each log first and divide the results. Keep at least five digits until the final division, because rounding early changes the third decimal. Spreadsheets skip the division: the entry =LOG(20,3) does it for you. The ln key is the natural logarithm.
Quick check
Answer:
Does it matter whether you pick log or ln?
No. Because , switching from log to ln multiplies the top and the bottom by the same constant. That constant cancels in the quotient, so both routes give identical answers. Use whichever key you find faster.
The reason the constant is comes down to what ln is: the logarithm with base Euler’s number . Every log is a rescaled copy of every other log, and the rescaling factor is itself a quotient of logs.
and . These two numbers are reciprocals, since and .
How to find exact answers with change of base

If the base and the argument are both powers of one number, choose that number as the new base. Both logs then become small whole numbers and no calculator is needed. The ordinary logarithm rules cannot combine directly because the bases differ, but change of base brings both to base 2.
Example 2. Find exactly.
Since and , choose :
Check: .
This gives a shortcut. If and , then . So (both are powers of 5) and (both are powers of 2). Finding the shared base is the whole skill. Look for 2, 3, 5 or 10 first.
What are the reciprocal and chain forms of the formula?
Choose the new base to be itself. Since , the formula collapses to a reciprocal:
So . Swapping base and argument flips the answer upside down, which is a quick way to turn an awkward log into an easy one.
Chaining the formula gives . Written as fractions, , the middle cancels like any common factor. This lets you collapse long products.
Example 3. Simplify .
The 3 and the 5 each appear once as an argument and once as a base, so they cancel:
A related form handles a power in the base: . For instance, because . That form is the key to the next section.
Quick check
Answer:
How does change of base help solve equations?
Logarithm equations with different bases cannot be combined until the bases match. Change of base makes them match. For example, solve . Since , we have , and then:
Check: and , which add to 6. The full method for these problems is in solving logarithmic equations.
The formula also sits behind exponential equations. The solution of is , and a calculator can only produce a number through . Taking ln of both sides, as in solving exponential equations with logarithms, is the same move in a different order.
Try this: Solve by rewriting in base 3. Then substitute your answer back in to confirm that the two logs add to 3.
What goes wrong with negatives, fractions and base 1?
The formula has limits. Every log in it must be defined, which means:
- the argument must be positive,
- the old base must be positive and not 1,
- the new base must be positive and not 1.
If , then and the denominator is zero. A negative argument has no real logarithm, so a calculator error such as “domain” means a sign slipped earlier.
Negative answers are fine, and they are common with fractional bases. For :
Check: . A fractional argument works the same way: .
The sign of the denominator explains why. A base between 0 and 1 makes negative, which flips the curve over the x-axis. That is why graphing logarithmic functions with a base below 1 gives a falling curve.
If exactly one of and is below 1 (and the other is above 1), must be negative. If both are above 1 or both below 1, it must be positive.
Where is the change of base formula used in real life?
Money is a clear case. At 5% annual growth, the doubling time solves , so . No calculator has that key, so convert:
The growth curve behind it is covered in graphing exponential functions.
Computing is another. A system with 1000 distinct values needs , so 10 bits. Programming languages do exactly this when you ask for a log in an arbitrary base.
Music offers a third: the distance in semitones between two frequencies is . From 440 Hz to 660 Hz, that is , a perfect fifth.
How can you check a change of base answer quickly?
Bracket the answer first. For , note that and , so the value must lie between 2 and 3. If your calculator says 0.57 or 6.8, something went wrong. This takes five seconds and catches most errors.
Next, catch the flipped fraction, the most common trap. If you divide in the wrong order you get the reciprocal. For , flipping gives , which is actually . The bracket check exposes it: 20 is bigger than 3, so the answer must exceed 1.
Finally, test by raising the base to your answer. Here , so the result stands.
Mixed bases also block expanding logarithms and condensing logarithms, which only work when every log shares one base. Convert first with the formula, then apply those rules.
Quick check
Answer: 2 and 3
Practice problems
0 of 5 solved
- Evaluate to three decimal places.
Answer:
Write . Then and . Divide: . - Find the exact value of .
Answer:
Both numbers are powers of 3, so use base 3: . Since and , the value is . - Find the exact value of .
Answer:
Use base 3: . Here and . So the value is . Check: . - Solve . Round to three decimal places.
Answer:
The exponent is . Change base: . Divide to get . - Solve .
Answer:
Change the left side to base 2: . Then , so . This gives , so or . Reject because would be negative. The answer is .
Common questions
What is the change of base formula?
It says , where is any new base that is positive and not 1. The argument goes on top and the old base goes on the bottom.
Can you pick any new base?
Yes, as long as it is positive and not equal to 1. Base 10 and base are the usual choices because calculators have keys for them, but base 2 or base 3 is often better for exact answers.
How do you change the base of a log on a calculator?
Type the log of the argument, divide by the log of the old base, and use the same key (log or ln) for both. Put each logarithm in its own parentheses so the calculator does not compute by mistake.
Why does equal ?
Apply the formula with the new base : . Because , the numerator is 1 and the result is the reciprocal.
Is the same as ?
No. The quotient of two logs is a single number such as , while equals , a difference. They give different values.
Does the change of base formula work with negative numbers?
Not for the argument or the bases: real logarithms need positive inputs, and bases cannot be 1. The answer itself can be negative, for example .