Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the binary (base 2) system, each digit is a power of two, and the digits are just 0 and 1.

Because 16 is a power of 2 (2^4), every hex digit corresponds to a set of 4 binary digits ("bits"), with each digit representing a power of 2:

decimalhexbinary
000000
110001
220010
330011
440100
550101
660110
770111
881000
991001
10A1010
11B1011
12C1100
13D1101
14E1110
15F1111

It's easy to translate a hexadecimal number into binary because you can decompose each hex digit into its 4 bits.

...