Binary numbers

Computers store everything as 1s and 0s. Converting between binary and denary is a guaranteed exam skill.

Practise this lesson free (6 questions)

More tools

Why binary?

Computers use transistors that are either on (1) or off (0).
One binary digit is a bit. Eight bits make a byte. Four bits make a nibble.

Binary to denary

Write the place values above each bit, then add the columns with a 1.
00001011 = 8 + 2 + 1 = 11
1286432168421
00001011

Denary to binary

Work from the left. If the place value fits, write 1 and subtract it.
200: 128 fits (72 left), 64 fits (8 left), 32 no, 16 no, 8 fits (0 left), then 0s.
200 = 11001000
The largest 8-bit unsigned number is 11111111 = 255.
Worked example

Convert 10010110 to denary.

  1. Place values with a 1: 128, 16, 4 and 2.
  2. 128 + 16 + 4 + 2 = 150

Answer: 150

Key idea

Place values 128, 64, 32, 16, 8, 4, 2, 1. Binary to denary: add the columns with a 1. Denary to binary: subtract the biggest value that fits, from the left. 8 bits hold 0 to 255.

Key words
Binary
Base 2: the number system that uses only the digits 0 and 1.
Denary to binary
Work from 128 down: write 1 and subtract if the place value fits, otherwise write 0. Example: 203 = 11001011.
Bit
A single binary digit, 0 or 1.
Byte
8 bits.
Nibble
4 bits.

All GCSE and International GCSE Computer Science key terms and definitions โ†’

Extra practice

2 more questions

Try each one, then tap to check.

  1. Convert the binary number 00010110 to denary.

    Show the answer

    Answer: 22

    The 1s sit under 16 + 4 + 2. Add them: 16 + 4 + 2 = 22.

  2. Convert 45 to an 8-bit binary number.

    Show the answer

    Answer: 00101101

    45 = 32 + 8 + 4 + 1, so the bits are 00101101.

Check you have got it

Answer 6 quick questions with instant marking. If you get one wrong, GCSE-ready shows you why and gives you another go. It is free, and you do not need an account.

Video for this lesson coming soon. Subscribe on YouTube

Sources and references

Facts checked against the sources below, 17 October 2026. Last updated 2 October 2026. Spotted a mistake? Tell us and we will fix it.

What do exam command words like explain and evaluate mean? โ†’

Related lessons