Binary & Hex

Computer ScienceOCRGCSEUnit: 3.3 Data Representation
Free taster
5 of 6 sections open
The basics

The Three Languages

The Three Languages

Imagine you need to count sheep. You could count in English (1, 2, 3... - this is denary/decimal, base 10). A computer counts in binary - only two words: "baa" or "silence" (0 or 1, base 2). But binary gets long fast: "101101010" for 362 sheep! So we use hexadecimal (base 16) as a shorthand - like abbreviations. It's not a different number, just a shorter way to write it. 16A in hex = 362 in denary = 101101010 in binary. Same sheep, three languages!
Spotlight
Deep Dive: Why Do We Need Different Number Systems?

Denary (Base 10): Humans use this naturally because we have 10 fingers. Uses digits 0-9.

Exam tip

Earn the mark scheme marks

Exam Tips - Binary & Hexadecimal

Most common exam questions:

  • "Convert X to binary" → Use place value method, show working
  • "Convert binary to denary" → Add up place values where bit = 1
  • "Why use hexadecimal?" → Compact/shorter than binary, easier for humans to read
  • "Convert hex to binary" → Expand each hex digit to 4 bits
  • "What is a bit?" → Single binary digit (0 or 1)

Key facts to memorize:

  • Binary place values: 128, 64, 32, 16, 8, 4, 2, 1
  • Hex letters: A=10, B=11, C=12, D=13, E=14, F=15
  • 1 hex digit = 4 binary bits (FF = 11111111)
  • 8-bit binary range: 0-255 (00-FF in hex)

Common mistakes to avoid:

  • Forgetting to show working - ALWAYS show place values!
  • Reading remainders wrong direction in division method
  • Mixing up hex letters (remember: A=10, F=15)
  • Not padding to 4 bits when converting hex to binary (3 must be 0011, not 11)
  • Saying "hexadecimal is faster" - NO! It's just a shorthand notation

Conversion strategy:

  1. Binary → Denary: Fastest method - add place values where bit = 1
  2. Denary → Binary: Use place value method (easier to show working than division)
  3. Hex ↔ Binary: Use 4-bit groups (fastest method!)
  4. Hex ↔ Denary: Convert via binary (hex→binary→denary) OR use multiplication/division by 16

Now try it yourself

Quiz · Question 1 of 16

Which of the following correctly describes the hexadecimal number system?

Tap an answer to check it

Revise every Computer Science topic, free during alpha

Binary & Hex is one of 60 topics on PrepWise — all aligned to your exam board.

Start revising free →