Maths Dictionary · JSS 1, JSS 2

Binary (base 2)

Simple meaning

A number system that uses only the digits 0 and 1. Computers use it.

Example

1012 = 4 + 0 + 1 = 5 in base ten.

Binary explained

Our everyday numbers use base ten, with digits 0 to 9 and place values of 1, 10, 100 and so on. Binary, or base 2, uses only 0 and 1. Its place values double each time, from right to left: 1, 2, 4, 8, 16, 32. To read a binary number, add up the place values wherever there is a 1.

Computers and phones use binary because an electronic switch has only two states: off (0) and on (1). Every photo, song and WhatsApp message is stored as long strings of 0s and 1s. Learning binary also helps you understand place value better, and the same methods work for other bases such as base 5 or base 8.

Worked example

Convert 13 (base ten) to a binary number.

  1. Divide by 2 repeatedly and write down each remainder: 13 ÷ 2 = 6 remainder 1.
  2. 6 ÷ 2 = 3 remainder 0; 3 ÷ 2 = 1 remainder 1; 1 ÷ 2 = 0 remainder 1.
  3. Read the remainders from the bottom up: 1101.
  4. Check: 8 + 4 + 0 + 1 = 13. Correct.

Answer: 13 = 11012.

See it

From the Counting in Base 2 (Binary) lesson. Try moving things around.

2416
238
224
212
201

1012 = 5

1 × 4 + 1 × 1 = 5

Common mistakes

  • Reading the remainders from top to bottom, which gives 10112 = 11. Always read the remainders from the last one upwards.
  • Carrying wrongly when adding, for example writing 1 + 1 = 2 in binary. In base 2, 1 + 1 = 102, so write 0 and carry 1.

In BECE and WASSCE

BECE often tests number bases, including converting between base ten and base 2, and adding or subtracting binary numbers. WASSCE also includes number bases. Always show your repeated division or place-value working, and write the base as a subscript in your final answer.

Questions students ask

How do you add binary numbers?

Add column by column from the right, like normal addition, but remember 1 + 1 = 102 and 1 + 1 + 1 = 112. For example, 1012 + 112 = 10002. Check: 5 + 3 = 8.

Why do computers use binary instead of base ten?

A computer is made of tiny electronic switches that are either off or on. Two states match perfectly with two digits, 0 and 1. Using ten different voltage levels would be much harder to build and less reliable.