Change of Base Formula
Use the change of base formula to evaluate a logarithm of any base with the log or ln key of your calculator.
Definition
Try it now
Worked Examples
Evaluate . Round to 2 decimal places.
Write the change of base formula with base 10
Find both common logarithms on the calculator
and → Keep all the digits for now
Divide, then round only at the end
→
Check with the definition
and , so the answer must lie between 3 and 4. Also → Reasonable
Answer:
Common Mistakes
Writing the fraction upside down:
Why it's wrong: The base goes in the denominator. A quick estimate shows the error: and , so must be between 3 and 4, not below 1.
Correct: Argument on top, base on the bottom:
Turning the quotient of logs into the log of a quotient:
Why it's wrong: The quotient rule says . It is about a difference of logs, not a division of logs.
Correct: is a plain division of two numbers:
Cancelling the word log:
Why it's wrong: log is a function, not a factor. You cannot cancel it like a common number in a fraction.
Correct: Evaluate and first, then divide:
Rounding too early:
Why it's wrong: Rounding and before dividing changes the second decimal place of the answer.
Correct: Divide with all the calculator digits (or type log(50)/log(3) in one go) and round only the final result:
Interactive Visual
Function graph
Tap or hover over the graph to read off values.
Tap a name to show or hide its graph.
AsymptoteTable of values
| x | 1 | 2 | 3 | 10 | 50 |
|---|---|---|---|---|---|
| log(x) / log(b) | 0 | 0.63093 | 1 | 2.0959 | 3.56088 |
| ln(x) / ln(b) | 0 | 0.63093 | 1 | 2.0959 | 3.56088 |
Interactive Sandbox
Interactive Grapher
Tap or hover over the graph to read off values.
Try these examples:
y = 2x + 1
m=2, b=1
Expression Calculator
Try these:
History
No calculations yet
Practice Problems
18 problemsWhich expression is equal to ?
Why It Matters
- Any base on any calculator: , or become one division with the log or ln key.
- Money and growth: the time for savings to double at 5 % per year is years.
- Computer science: binary search and bits use base 2. Searching 1,000,000 sorted items takes about , so 20 halvings.
- Biology: a population that triples every hour needs hours to grow 500 times bigger.
- Solving equations: every exponential equation like has the answer , which you evaluate with this formula.
Real World Applications
How Long Until Your Savings Double?
With yearly compound interest, money is multiplied by the same growth factor every year. The doubling time is a logarithm whose base is that factor.
Example:
At 3 % per year the factor is , so the money doubles when , that is after years.
You put 1000 dollars into a savings account that pays 3 % interest per year, compounded once a year.
After how many years has the money doubled?
Step 1: Write the mathematical expression
Write as a quotient of two common logarithms (type the expression in the form log(a)/log(b), not the rounded value):
Binary Search in Computer Science
Binary search finds an item in a sorted list by halving the list again and again. The number of halvings is a base-2 logarithm, and computers evaluate it with change of base.
Example:
A sorted list of 1024 names needs halvings, because .
A database holds 1,000,000 sorted records. Each step of a binary search halves the number of records that are left.
How many halvings are needed to get down to one record?
Step 1: Write the mathematical expression
Write as a quotient of two common logarithms (type the expression in the form log(a)/log(b), not the rounded value):
Bacteria That Triple Every Hour
Some bacteria cultures triple every hour. The time to reach a certain size is a base-3 logarithm.
Example:
After 2 hours the culture is times bigger, after 4 hours times bigger.
A culture triples every hour. A lab needs it to be 500 times bigger than at the start.
How many hours does that take?
Step 1: Write the mathematical expression
Write as a quotient of two common logarithms (type the expression in the form log(a)/log(b), not the rounded value):
Key Takeaways
- 1Change of base formula: for any new base ,
- 2On a calculator use or : , both give the same answer
- 3The argument goes on top, the base goes on the bottom
- 4It works because gives (power rule), so
- 5Swapping base and argument gives the reciprocal:
- 6Divide with all the digits and round only the final answer, to the decimal places asked for
Frequently Asked Questions
Glossary
- Change of base formula
- The rule that rewrites a logarithm with a new base
- Base
- The number in , the number that is raised to a power; it must be positive and not
- Argument
- The number in that you take the logarithm of; it must be positive
- Common logarithm
- The logarithm with base 10, written (the log key)
- Natural logarithm
- The logarithm with base , written (the ln key)
- Reciprocal
- The number for a number ; and are reciprocals
Formula Card
Change of base (any base)
Any new base $c > 0$, $c \neq 1$
With common logarithms
Use the log key
With natural logarithms
Use the ln key, same result
Reciprocal rule
Swapping base and argument flips the value