Change of Base Formula Examples in Math

Start with the recap, study the fully worked examples, then use the practice problems to check your understanding of Change of Base Formula.

This page combines explanation, solved examples, and follow-up practice so you can move from recognition to confident problem-solving in Math.

Concept Recap

A formula for converting a logarithm from one base to another: log⁑bx=ln⁑xln⁑b=log⁑xlog⁑b\log_b x = \frac{\ln x}{\ln b} = \frac{\log x}{\log b}.

Your calculator only has ln⁑\ln and log⁑10\log_{10} buttons. The change-of-base formula lets you compute ANY logarithm using whichever base you have available. It works because all logarithms are proportional to each otherβ€”changing base just changes the scale factor.

Read the full concept explanation β†’

How to Use These Examples

  • Read the first worked example with the solution open so the structure is clear.
  • Try the practice problems before revealing each solution.
  • Use the related concepts and background knowledge badges if you feel stuck.

What to Focus On

Core idea: log⁑bx=log⁑axlog⁑ab\log_b x=\frac{\log_a x}{\log_a b} rewrites a log in whatever base you can actually compute.

Common stuck point: The procedure for change of base formula is the easy part; the trap is flipping the ratio. Asking "Is the base something other than ee or 10 that I must turn into a computable ratio of logs?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Sense of Study hint: Ask: Is the base something other than ee or 10 that I must turn into a computable ratio of logs?

Worked Examples

Example 1

easy
Evaluate log⁑5(20)\log_5(20) using the change of base formula and a calculator.

Answer

log⁑5(20)β‰ˆ1.861\log_5(20) \approx 1.861

First step

1
The change of base formula: log⁑b(a)=ln⁑(a)ln⁑(b)\log_b(a) = \frac{\ln(a)}{\ln(b)} (or equivalently log⁑(a)log⁑(b)\frac{\log(a)}{\log(b)}).

Full solution

  1. 2
    Apply: log⁑5(20)=ln⁑(20)ln⁑(5)\log_5(20) = \frac{\ln(20)}{\ln(5)}.
  2. 3
    Calculate: ln⁑(20)ln⁑(5)=2.99571.6094β‰ˆ1.861\frac{\ln(20)}{\ln(5)} = \frac{2.9957}{1.6094} \approx 1.861.
The change of base formula converts a logarithm from any base to a quotient of logarithms in a base your calculator supports (usually base 10 or base ee). This is essential because most calculators only have log⁑\log and ln⁑\ln buttons.

Example 2

medium
Show that log⁑4(8)=32\log_4(8) = \frac{3}{2} using the change of base formula.

Example 3

medium
Use change-of-base to evaluate log⁑255\log_{25} 5.

Example 4

medium
Solve log⁑2(x)=log⁑4(x+12)\log_2(x) = \log_4(x + 12) for x>0x > 0.

Example 5

medium
Show that log⁑ba=1log⁑ab\log_b a = \dfrac{1}{\log_a b} using change-of-base.

Example 6

hard
Simplify log⁑23β‹…log⁑34β‹…log⁑45β‹…log⁑58\log_2 3 \cdot \log_3 4 \cdot \log_4 5 \cdot \log_5 8.

Example 7

hard
Solve log⁑x8=3\log_x 8 = 3 for xx.

Example 8

hard
Show that log⁑akb=1klog⁑ab\log_{a^k} b = \dfrac{1}{k}\log_a b for kβ‰ 0k \ne 0.

Example 9

challenge
Solve log⁑2xβ‹…log⁑x8=log⁑464\log_2 x \cdot \log_x 8 = \log_4 64.

Practice Problems

Try these problems on your own first, then open the solution to compare your method.

Example 1

medium
Simplify log⁑9(27)\log_9(27) to an exact fraction.

Example 2

hard
Prove that log⁑a(b)β‹…log⁑b(c)=log⁑a(c)\log_a(b) \cdot \log_b(c) = \log_a(c) using the change of base formula.

Example 3

easy
Rewrite log⁑27\log_2 7 using natural logarithms.

Example 4

easy
Rewrite log⁑520\log_5 20 using base-10 logarithms.

Example 5

easy
Evaluate log⁑39\log_3 9 without a calculator.

Example 6

easy
Evaluate log⁑bb\log_b b for any base b>0b>0, bβ‰ 1b\ne 1.

Example 7

easy
Use change-of-base to write log⁑4x\log_4 x in terms of base 2 logs.

Example 8

easy
Rewrite log⁑750\log_7 50 as a ratio of natural logs.

Example 9

easy
Evaluate log⁑232\log_2 32 by recognizing a power.

Example 10

easy
Write log⁑107\log_{10} 7 as a natural-log ratio.

Example 11

medium
Evaluate log⁑464\log_4 64 exactly.

Example 12

medium
Show that log⁑25β‹…log⁑52=1\log_2 5 \cdot \log_5 2 = 1.

Example 13

medium
Express log⁑9x\log_9 x in terms of log⁑3x\log_3 x.

Example 14

medium
Given ln⁑2β‰ˆ0.693\ln 2 \approx 0.693 and ln⁑3β‰ˆ1.099\ln 3 \approx 1.099, estimate log⁑23\log_2 3.

Example 15

medium
Simplify log⁑516log⁑54\frac{\log_5 16}{\log_5 4}.

Example 16

medium
Solve log⁑4x=log⁑28\log_4 x = \log_2 8 for xx.

Example 17

medium
Write log⁑8x\log_8 x in terms of log⁑2x\log_2 x.

Example 18

medium
Evaluate log⁑23β‹…log⁑38\log_2 3 \cdot \log_3 8 exactly.

Example 19

challenge
Prove log⁑ab=1log⁑ba\log_a b = \frac{1}{\log_b a} using change-of-base.

Example 20

challenge
If log⁑2x=a\log_2 x = a, express log⁑8x\log_8 x and log⁑4x\log_4 x in terms of aa.

Example 21

challenge
Solve log⁑2x+log⁑4x=3\log_2 x + \log_4 x = 3 for xx.

Example 22

medium
Evaluate log⁑2781\log_{27} 81 exactly.

Example 23

easy
Evaluate log⁑264\log_2 64 without a calculator.

Example 24

easy
Use change-of-base to estimate log⁑210\log_2 10 to two decimals.

Example 25

easy
Use change-of-base to express log⁑83\log_8 3 using base-2 logs.

Example 26

easy
Rewrite log⁑5x\log_5 x as a ratio of base-ee logarithms.

Example 27

medium
Use change-of-base to evaluate log⁑279\log_{27} 9.

Example 28

medium
Approximate log⁑750\log_7 50 to three decimal places.

Example 29

medium
Simplify log⁑168\log_{16} 8 to an exact fraction.

Example 30

medium
Evaluate log⁑381β‹…log⁑927\log_3 81 \cdot \log_9 27 exactly.

Example 31

medium
Solve log⁑3x=log⁑9(x+6)\log_3 x = \log_9 (x + 6) for x>0x > 0.

Example 32

medium
Evaluate log⁑12525\log_{125} 25 exactly.

Example 33

hard
If log⁑25=a\log_2 5 = a, express log⁑532\log_5 32 in terms of aa.

Example 34

hard
If log⁑32=p\log_3 2 = p and log⁑35=q\log_3 5 = q, find log⁑56\log_5 6 in terms of pp and qq.

Example 35

hard
Solve log⁑2x+log⁑4x=6\log_2 x + \log_4 x = 6 for x>0x > 0.

Background Knowledge

These ideas may be useful before you work through the harder examples.

logarithmnatural logarithm