Signed up recently but had issues with the confirmation email?

Click Forgot password and follow the reset steps. You can choose the same password you used when you signed up. This should then provide access.

Remember to check Spam and Junk. The email will be from auth@progressbytes.co.uk.

Revision notesQuestionsFor schools
Revise Computing
Log inStart revising free
Revision notesQuestionsFor schoolsLog in
GCSE Computer Science/Paper 1/Data Storage: Numbers

How to convert binary integers to their hexadecimal equivalents and vice versa

Numbers: How to convert binary integers to their hexadecimal equivalents and vice versa

1.2.4a Data Storage: Numbers

Practise exam questions

Data Storage: Numbers — Note 4 of 5

What you need to know

Converting between binary and hexadecimal is straightforward because each hex digit maps directly to a 4-bit nibble. This makes hex a convenient shorthand for binary.

What to know

  • To convert binary to hex: split the binary number into NIBBLES (groups of 4 bits from the right). Convert each nibble to its hex equivalent.
  • To convert hex to binary: convert each hex digit to its 4-bit binary equivalent. Combine the nibbles.
  • Example: binary 10110010 = nibbles 1011 and 0010 = hex B2.
  • If the binary number does not divide evenly into nibbles, pad with leading zeros on the LEFT.

Exam technique

  • Tip:Always split into groups of 4 FROM THE RIGHT. 11010 becomes 0001 1010 (padded), not 1101 0.
  • Mistake:Dropping the trailing zero in hex. Binary 11010000 = D0, NOT just D. The 0 is significant.
  • Mistake:Writing a nibble worth 10 to 15 as two digits, for example 1101 as 13. Each nibble is ONE hex digit, so 1101 = D.
  • Tip:Check your answer by converting BACK. If you got hex D for 11010000, convert D back to binary = 1101, which is NOT 11010000. This tells you the answer is wrong (it should be D0).
  • Tip:For WHY hex is used instead of binary, 'easier to understand' or 'easier to use' on its own is not credited. Say it is easier for people to READ, WRITE or REMEMBER, with fewer mistakes.

Ready to test yourself?

Practise 1.2.4a questions
← Previous noteHow to convert positive denary whole numbers into 2-digit hexadecimal numbers and vice versa1.2.4a Data Storage: NumbersNext note →Binary shifts1.2.4a Data Storage: Numbers

Back to Data Storage: Numbers

Revise another OCR GCSE topic: Units, Data Storage: Characters

Data Storage: Numbers

Note 4 of 5

  1. 1How to convert positive denary whole numbers to binary numbers (up to and including 8 bits) and vice versa
  2. 2How to add two binary integers together (up to and including 8 bits) and explain overflow errors which may occur
  3. 3How to convert positive denary whole numbers into 2-digit hexadecimal numbers and vice versa
  4. 4How to convert binary integers to their hexadecimal equivalents and vice versa
  5. 5Binary shifts
Topic overview

© 2026 Revise Computing · revisecomputing.co.uk

Worried about something?Question Bank UpdatesPrivacy noticeTermsContact

Revise Computing is an independent revision resource. It is not affiliated with, or endorsed by, OCR (Oxford Cambridge and RSA Examinations).