Short cut way of Binary ↔Octal↔Hexadecimal


Binary ↔Octal↔Hexadecimal

Shortcut way of conversion the number system:

  • Binary, Octal and Hexadecimal number systems are all powers of two (Which is the reason we use them) there is a relationship that we can exploit to make conversion easier.
                Ex: 10110102 = 1328 = 5A16
  • To convert directly between binary and octal, group the binary bits into sets of 3 (because 23 = 8) and use “0” left to the group if needed.
Ex:
Shortcut

  • To convert directly between binary and hexadecimal number systems, group the binary bits into sets of 4 (because 24 = 16) and use “0” in left if needed.
Ex:
Shortcut

No comments