Number & Sets · JSS 1, JSS 2, SS 1
Converting a number base to base ten
Find the base-ten value of a number written in base 2, 5, 8 or any base.
- value = Σ (digit × baseplace)
- place = 0 for the last digit, 1 for the next, and so on
What the letters mean
- digit
- each digit of the number
- base
- the number base, e.g. 2 for binary
- place
- the position, counted from 0 on the right
Worked example
Convert 10112 to base ten.
Step 1: Write each digit times a power of 2
1 × 23 + 0 × 22 + 1 × 21 + 1 × 20
Step 2: Add
8 + 0 + 2 + 1 = 11
Final answer: 11
To go the other way (base ten to base b), keep dividing by b and read the remainders from the bottom up.
When to use it
Use this method when a number has a small base written after it, like 3245 or 11012, and you need its ordinary value, or when you must compare numbers in different bases. Converting to base ten is also the middle step when changing between two other bases: go to base ten first, then divide to reach the new base. Numbers already in base ten need no conversion.
Why it works
Our normal numbers use place value with powers of 10: 352 means 3 × 100 + 5 × 10 + 2 × 1, that is 3 × 102 + 5 × 101 + 2 × 100. Other bases work in the same way with a different number. In base 5 the place values are 1, 5, 25, 125, …, which are 50, 51, 52, 53. Multiply each digit by its place value and add.
Try it yourself
Convert 2435 to base ten.
Try it first, then show the solution
- Label the places from the right: 3 is in place 0, 4 is in place 1 and 2 is in place 2
- Multiply: 2 × 52 + 4 × 51 + 3 × 50 = 2 × 25 + 4 × 5 + 3 × 1
- Add: 50 + 20 + 3 = 73
Answer: 73 (that is, 7310)
See it
Play with this picture from the Converting Between Bases lesson.
2135 = 58
2 × 25 + 1 × 5 + 3 × 1 = 58
And back again: divide by 5, read remainders upwards ↑
- 58 ÷ 5 = 11 r 3
- 11 ÷ 5 = 2 r 1
- 2 ÷ 5 = 0 r 2
58 = 2135
Common mistakes
- Counting the places from the left, or starting at 1. The last digit on the right is always place 0, and any base to the power 0 is 1, so that digit is just multiplied by 1.
- Not noticing an impossible digit. Base 5 uses only the digits 0 to 4, so a number like 2635 cannot exist. Every digit must be smaller than the base.
In BECE and WASSCE
Number bases are tested in BECE and WASSCE objective papers. You may convert between bases, add or multiply in a base, or solve something like 23x = 1310 by writing 2x + 3 = 13, so x = 5. Write the powers out in full so that any mistake is easy to spot.
Questions students ask
How do I compare numbers in different bases, like 11012 and 215?
Change both to base ten first. 11012 = 8 + 4 + 0 + 1 = 13 and 215 = 2 × 5 + 1 = 11. Since 13 is more than 11, 11012 is the larger number. Never compare the digits directly, because the places are worth different amounts in each base.
How do I convert from base 5 to base 2?
Go through base ten. First change the base 5 number to base ten using place values, then keep dividing by 2 and read the remainders from the bottom up. For example, 135 = 5 + 3 = 8, and 8 in base two is 10002.