Data representation - EduqasHexadecimal to binary

Binary data can represent numbers, graphics, sound and characters. It is then organised and manipulated differently. Data can also be stored in arrays, records or external files and go through validation or verification checks to ensure accuracy.

Part ofComputer ScienceUnderstanding Computer Science

Hexadecimal to binary

  1. Split the hexadecimal number into individual values.
  2. Convert each hexadecimal value into its denary equivalent.
  3. Convert each denary digit into binary, making sure you write four digits for each value.
  4. Combine all four digits to make one binary number.

Example – convert hexadecimal 28 to binary

2 = denary 2 8 = denary 8

2 = binary 0010 8 = binary 1000

Result: 00101000

Example – convert hexadecimal FC to binary

F = denary 15 C = denary 12

15 = binary 1111 12 = binary 1100

Result: 11111100

Question

Question - What would these hexadecimal numbers be in binary?

  • 11
  • 2B
  • AA

Four-digit hexadecimal to binary

Split a four-digit hexadecimal number into the separate values and convert each to their denary equivalent before converting to the binary equivalent. Remember to include the leading zeros for each group of four binary digits.

Example - convert 9E3A to binary

Break into separate digits: 9 E 3 A

Convert each to denary: 9 14 3 10

Convert each to binary: 1001 1110 0011 1010

Result: 1001111000111010