# How to Change Number Bases Part 1

I have already discussed **clock arithmetic**, **modulo division**, and **number bases**. We further our discussion in this post by learning how to change numbers from one base to another.

The number system that we are using everyday is called the **decimal number system** or the base 10 number system (*deci* means 10). It is believed that this system was developed because we have 10 fingers.

In the base 10 system, the digits are composed of 0 up to 9. Adding 1 to 9, the largest digit in this system, will give us 10. That is, we replace 9 in the ones place with 0, and add 1 to the tens place which is the next larger place value.

Another way to write a number in base 10 is by multiplying its digits by powers of 10 and adding them. For example, the number 2578 can be rewritten in expanded form as

.

Suppose, we are aliens with only 5 fingers, then our digits would only compose of 0, 1, 2, 3, and 4. In other words, we will have base 5 number system. If we add 1 to 4, the largest digit in this system, then we will replace the ones digit with 0 and the next larger place value with 1 to give us 10. Note that the next larger place value in the system is the ‘s or fives place and not the tens place.

In the base 5 number system, we can also write any number by multiplying its digits by powers of 5 and adding them. For example, the number 2031 can be written in expanded form

##### Converting Base 5 to Base 10 and Vice Versa

If we are using different number bases, it is important to distinguish them from one another. Therefore, in the example above, 2031 in base 5 can be written as . We can also write to mean 2578 base 10.

If we expand any number from a different number system by multiplying its digits by its base and adding them, we will have its equivalent in base 10. For instance, if we evaluate , we have

.

What about converting base 10 to base 5?

We will stick with the example above, so we can check if our answer is correct. We convert back to base 5.

The digits of numbers in base 5 are multiplied by powers of 5. That means that first, we have to check the largest power of 5 that can be subtracted from 266. We know that we cannot subtract from 266, so the largest power of 5 that can be subtracted from 266 is . How many 125’s are there in 266? We have 2. So, we write 2 in the ‘s place as shown in the table below.

Next, we subtract which gives us 16. We will check the largest power of 5 that can be subtracted from 15. We know that we cannot subtract from 15, so we place 0 in the ‘s place.

Next, how many ’s are there in 16. We have 3 since 3(5) = 15. So, we write 3 in the ’s place giving us the next table.

Next, we subtract 16-15 = 1. Now, how many 1’s (remember ) are there in 1? There’s 1. So, we write one in the ‘s place or ones place.

So, is equal to 2031 in base 5. In the next post, we will have one more example on converting number from one base to another.