Topic guide · JSS 1, JSS 2, JSS 3, SS 1
Number Bases
How to convert numbers between bases (binary, base 5, base 8 and base ten), with step-by-step examples, common mistakes and free BECE and WASSCE practice.
Start the Highest Common Factor (HCF) lesson →Number Bases explained
We normally count in base ten: each place is worth ten times the place to its right (units, tens, hundreds…). In another base the idea is the same, but the places are powers of that base. In base 2 (binary) the places are 1, 2, 4, 8, 16 and so on.
To change a number into base ten, multiply each digit by its place value and add. To change a base-ten number into another base, keep dividing by the base and read the remainders from the bottom up.
Key ideas to remember
- In base b, the place values from the right are b⁰ = 1, b¹, b², b³ …
- A base-b number only uses the digits 0 to b − 1 (binary uses only 0 and 1).
- Base b → base ten: multiply each digit by its place value, then add.
- Base ten → base b: divide repeatedly by b and read the remainders from the bottom up.
Worked example
Convert 111112 to a number in base ten.
Step 1: Write each place as a power of 2
111112 = 1 × 24 + 1 × 23 + 1 × 22 + 1 × 21 + 1 × 20
Step 2: Work out each part
= 16 + 8 + 4 + 2 + 1
Step 3: Add
= 31
Final answer: 31
Practice questions
Have a go, then open the answer to check your working. Every answer was checked by the MathPlug maths engine.
Question 1
Convert 60 (base ten) to a number in base 2.
- A1111012
- B1110112
- C1111002
- D0011112
Show answer and working
Step 1: Divide repeatedly by 2
60 ÷ 2 = 30 remainder 0
30 ÷ 2 = 15 remainder 0
15 ÷ 2 = 7 remainder 1
7 ÷ 2 = 3 remainder 1
3 ÷ 2 = 1 remainder 1
1 ÷ 2 = 0 remainder 1
Step 2: Read the remainders from the bottom up
60 = 1111002
Why? The last remainder is the biggest place value, so it comes first.
Final answer: 1111002
Question 2
Evaluate 14 + 10 (mod 4).
- A6
- B4
- C1
- D0
Show answer and working
Step 1: Work out the value
14 + 10 = 24
Step 2: Divide by 4
24 = 6 × 4 + 0
Step 3: Keep the remainder
14 + 10 ≡ 0 (mod 4)
Final answer: 0
Question 3
Convert 101112 to a number in base ten.
- A23
- B10,111
- C29
- D4
Show answer and working
Step 1: Write each place as a power of 2
101112 = 1 × 24 + 0 × 23 + 1 × 22 + 1 × 21 + 1 × 20
Step 2: Work out each part
= 16 + 0 + 4 + 2 + 1
Step 3: Add
= 23
Final answer: 23
Frequently asked questions
- Why do computers use base 2?
- Electronic circuits have two easy-to-tell-apart states — on and off — which match the two binary digits, 1 and 0.
- Is number bases in the BECE and WASSCE?
- Yes. Converting between bases appears in both, and WASSCE also includes modular arithmetic.