Binary numbers
Computers store everything as 1s and 0s. Converting between binary and denary is a guaranteed exam skill.
Why binary?
One binary digit is a bit. Eight bits make a byte. Four bits make a nibble.
Binary to denary
| 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 |
Denary to binary
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.
Convert 10010110 to denary.
- Place values with a 1: 128, 16, 4 and 2.
- 128 + 16 + 4 + 2 = 150
Answer: 150
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.
- 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 โ
2 more questions
Try each one, then tap to check.
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.
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.
- Pearson Edexcel GCSE Computer Science (1CP2) specification, topic 2.1.1, 2.1.3
- Pearson Edexcel International GCSE Computer Science (4CP0) specification, topic 3.1.1, 3.1.3
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? โ