The big idea: Decimal has ten digits, so each column is worth ten times the one to its right: 1, 10, 100.
Binary has two, so each column is worth twice the one to its right: 1, 2, 4, 8, 16.
That is the only difference. Everything else about reading a number is the same.
Why a computer uses two: A wire is either carrying a voltage or it is not. Two states are easy to build and hard to mistake, so computers count with two digits rather than ten.
Free preview
This is the free notes preview
You're reading the free notes. Aimnova Pro unlocks the full study experience — and you can try it with your first topic free to keep:
- FlashcardsLock in vocabulary and key terms with spaced repetition.
- Practice questionsAnswer exam-style questions and get instant AI marking.
- Mock exams & past-paper vaultSit full mocks and see exactly how examiners award marks.
- Personalised study planA daily plan built around your exam date and weak areas.
One byte — 10110101 — read as 181 in decimal and as B5 in hex. Step through it.
Interactive diagram
Explore the labelled diagram, charts and maps for this topic in full study mode.
Binary to decimal: Write the column values above the bits, then add the columns with a 1 under them.
10110101 → 128 + 32 + 16 + 4 + 1 = 181.
Decimal to binary
Check it
Get feedback like a real examiner
Submit your answers and get instant feedback — what you did well, what's missing, and exactly what to write to score full marks.
Why hex exists: Four bits hold 0 to 15 — exactly the range of one hex digit.
So any byte splits neatly into two halves, and each half becomes one character. 10110101 becomes B5: two characters instead of eight.
The sixteen digits
- 0-9 are themselves
- A = 10, B = 11, C = 12
- D = 13, E = 14, F = 15
- F is the largest single hex digit
Binary → hex
- Split the bits into groups of four, from the right
- Pad the left group with zeros if it is short
- Turn each group into its digit
- 1011 0101 → 11 and 5 → B5
Hex → binary
- Turn each hex digit into four bits
- Keep the leading zeros — the groups must stay four wide
- 2F → 0010 and 1111 → 00101111
- Never convert through decimal; it is slower and invites errors
Going through decimal for hex: For hex to decimal, multiply the left digit by 16 and add the right.
B5 → 11 × 16 + 5 = 176 + 5 = 181. The same number as before, which is the point: three notations, one value.
How this is tested — you must convert accurately and show the column values you used. It comes up two ways:
Paper 1 Section A
- Convert between binary, decimal and hex, 1-2 marks each
- State why hex is used for binary data
- Often the first, quickest marks on the paper
Paper 1 Section B — case study
- Read or write values in the case study's context
- Colour codes, memory addresses, file identifiers
The classic trap: Grouping bits from the left when converting to hex. Always group in fours from the right, and pad the leftmost group with zeros — 101101 is 0010 1101, which is 2D, not B4.
Convert the binary number 11010110 to decimal and to hexadecimal, showing your working.
Model answer plan
See the mark-by-mark plan — for / against / judgement, with marking guidance — in study mode.