Converting Binary & Hexadecimal

Computer Science: KS3, topic 4.1.2

Converting Binary and Hexadecimal

Both binary and hexadecimal can be used to represent the same number, so it's important to be able to convert between them.

Binary to hexadecimal

Binary to hexadecimal

  • Binary can be converted to hexadecimal by grouping into groups of 4 bits:
  • Start grouping from the right-hand side.
  • Convert each 4 bit group separately.
Hexadecimal to binary

Hexadecimal to binary

  • Hexadecimal can be converted to binary by splitting each digit into 4 bits:
  • Separately convert each hexadecimal digit into 4 bits of binary.
  • Put all of the 4 bit groups together.

Test yourself on Converting Binary & Hexadecimal

  • Converting from binary to hexadecimal

  • When grouping digits, you should group digits in which direction?

  • Converting from hexadecimal to binary

  • True or false: Some numbers can be represented in binary but not hexadecimal.

Practise this topic for free