Change of Base Formula Calculator
Welcome to Omni's change of base formula calculator, where we'll learn how to change the base of a log function. In essence, a logarithm can sometimes be difficult to calculate if the numbers are not compatible. In such cases, we can turn to the change of base rule to make our lives easier and make the expression more approachable.
So, what is the change of base formula? Well, let's jump right into the article and find out!
🙋 If you'd rather just compute a few logarithms, take a look at the log calculator or at the dedicated natural log calculator. To discover how to deal with logs, in particular what are the log addition rules, go to the expanding logarithms calculator.
What is a logarithm?
Soon after we learn the basics of addition, they introduce us to multiplication. This new operation simplifies notation whenever we need to add the same number several times. But what if we go one step further and now want to multiply by the same number a few times? Again, there is a new way of writing that – the exponent. And instead of going further, let's stay with this one for a minute.
Useful as they are, it's sometimes useful to have addition, multiplication, and exponent work both ways. In other words, often, instead of adding, we'd like to subtract. Instead of multiplying, we'd like to divide. And instead of taking the power, we'd like to... Hm, what would we like to do?
The logarithm is the inverse operation to taking an exponent, i.e., the inverse function to the exponential one. However, we need to be careful here since taking the root can also be considered the inverse of an exponent. The difference is that with the root, it's not an exponential function that we're inverting but a polynomial one. Just to be on the safe side, let's see an example.
Taking the kth power of a number n means:
n^{k} = n·n·n·...·n,
with n repeated k times. Then, the kth root of n^{k} is n, i.e.,
^{k}√(n^{k}) = n.
On the other hand, the logarithm with base n of n^{k} is k, i.e.,
log_{n}(n^{k}) = k.
In other words, the two operations return two different values (although both connected to the exponent). Just to be on the safe side, let's have the proper, onesentence logarithm definition highlighted like so:
💡 log_{a}(b) gives you the power to which you'd need to raise a in order to obtain b. Note, however, that in general, this can be a fractional exponent.
Before we move further, let us have a pretty bullet list with a few vital points of information about our new friend, the logarithm function.

There are two very special cases of the logarithm which have unique notation: the natural logarithm and the logarithm with base 10. They are denoted by ln(x) and log(x) (the second one simply without the small 10), and their bases are, respectively, the Euler number e and (surprise, surprise!) the number 10.

The logarithm function is defined only for positive numbers. In other words, whenever we write logₐ(b), we require b to be positive.

Whatever the base, the logarithm of 1 is equal to 0. After all, whatever we raise to power 0, we get 1.

Logarithms are extremely important. And we mean EXTREMELY important. Outside of mathematics, they're used in statistics (e.g., the lognormal distribution) economy (e.g., the the GDP index), medicine (e.g., the QUICKI index), and chemistry (e.g., the halflife decay). Also, quite a few physical units are based on logarithms, for instance, the Richter scale, the pH scale, and the dB scale.
Useful as they are, it may appear that logarithms are difficult to calculate. After all, we need to "guess" to what power we need to raise one number to obtain another. But in fact... Well, actually, no. It indeed is quite tricky.
For instance, we can easily see that log_{3}(9) is 2 because if we raise 3 to the second power, we'll obtain 9. But what is log_{3}(16)? Surely, it won't be an integer anymore, and it's really hard to guess a fractional exponent.
Fortunately, there are ways to make our lives a little easier, and one of them is the log change of base. It may not always give us the answer straight away, but surely, it'll get us one step closer.
What is the change of base formula?
As we've mentioned in the above section, it's not always easy to find the value of a log function, and it's often because its base and argument are not "compatible". The logarithmic change of base is a way to make at least one of them simpler.
So, what is the change of base formula? Well, here it is:
As you can see, it takes a single logarithmic expression and transforms it into a fraction of two new ones, but with a different base. Arguably, we still have to take caution when using the log change of base. After all, if we translate one expression that we can't calculate into two expressions that we can't calculate, then what's the point?
Still, it may happen that the logarithm change of base is the simplest way to get the answer. For instance, if we'd like to find log_{27}(9), then if you're not a bigheaded mathematician, you might not see the solution straight away. However, we can observe that 27
and 9
are, respectively, the cubic and the square root of 3
(i.e., that 3^{3} = 27 and 3^{2} = 9). Therefore, we could use the change of base rule to have both these numbers inside logarithms with base 3
. From there, it's a piece of cake.
Well, we began to see numbers; that must be a good sign, right? And indeed, it is because that means that we're ready to leave theory behind and move on to examples!
Ready? We know we are!
Example: how to change the base of log
Say that you have the end of the semester getting closer and closer, and that can mean only one thing – a mathematics test that summarizes everything you've learned over the last few months.
Being the good student that you are, you decide to start studying early and systematically. The first topic at hand concerns logarithms. Needless to say, they're not the most straightforward thing there is in mathematics. But they don't seem too bad, either. Still, if it's going to be on the test, it seems like a good idea to spare a few moments on the subject, especially the change of base rule. You choose two examples to practice how much you remember: change log_{27}(9) to base 3
and change log_{5}(1000) to base 10
.
Firstly, let's see how easy the task is when we have the change of base formula calculator at hand. There, we have three variable fields: x
, a
, and b
. According to the formula given at the top, we determine that x
denotes the number inside our logarithm, a
is its base, and b
is the new base that we'd like to obtain.
Therefore, for the first case, i.e., when we want to change log_{27}(9) to base 3
, we have to put into the calculator:
x = 9
, a = 27
, b = 3
.
Similarly, when we change log_{5}(1000) to base 10
, then we have:
x = 1000
, a = 5
, b = 10
.
Observe how, when we input the first two values, the change of base formula calculator already gives us the value of our logarithm. Once we input the third, it additionally gives the stepbystep application of the change of base rule. As simple as that, we got the answer!
Let's now see how to change the base of the log ourselves using all that we've learned in this article. We begin with making log_{27}(9) into an expression with base 3
.
According to the logarithmic change of base from the above section, we should rewrite our function as a fraction of two others, both with base 3
instead of the 27
that we have. The nominator is the log of the argument (the big number, the one in the brackets). And the denominator is that of the original base. So that's:
log_{27}(9) = log_{3}(9) / log_{3}(27).
Now, we observe that 3² = 9
and 3³ = 27
, so:
log_{27}(9) = log_{3}(9) / log_{3}(27) = 2/3.
Well, that wasn't so bad, was it? Encouraged, let's face the second example: changing log_{5}(1000) to base 10
. Again, we use the formula and obtain:
log_{5}(1000) = log_{10}(1000) / log_{10}(5).
After some headscratching, we can see that 10³ = 1000
, so
log_{5}(1000) = log_{10}(1000) / log_{10}(5) = 3 / log_{10}(5).
But what do we do with log_{10}(5)?
Unfortunately, nothing too clever. As we've already said in the first section, finding logarithms is, in general, no easy matter. We could play around with some approximations, but this could take ages. Instead, we usually use external tools for such computations, just like Omni's change of base formula calculator.
Nevertheless, we still got an expression that's not half bad and, most importantly, practiced our knowledge of the change of base rule. We can happily check logarithms off the list of things to study for the test. Surely, this must contribute at least thirty percent of the material on the test, right?
FAQ
How do I change the base of logarithm?
If you want to compute log_{b}x given log_{a}x, follow these steps:
 Compute log_{a}b.
 Divide log_{a}x by the result from Step 1.
 That's it! The result is log_{b}x.
 The formula we applied is log_{b}x = log_{a}x / log_{a}b.
How do you change log base 2 to base 10?
To get the log of x to the base 10, you need to divide the log of x to the base 2 by the value of the log of 10 to the base 2, i.e., approximately by 3.3219.
Alternatively, multiply log of x to the base 2 by the value of the log of 2 to the base 10, that is, approximately by 0.301.
How do you change log base 10 to base e?
To change the base of log from 10 to e, you need to use the change of base formula log_{10}(x) = ln x / ln 10. It is worth remembering that ln 10 is approximately equal to 2.3.
Is log2 the same as natural log?
No, log2 is a logarithm to the base 2, while the base of the natural logarithm is the Euler's number e. They are linked via the following relationship: log_{2}(x) = ln x / ln 2.