======The First 16====== ^ Binary (Base 2) ^ Octal (Base 8) ^ Decimal (Base 10) ^ Hexadecimal (Base 16) | | 0 0 0 0 | 0 | 0 | 0 | | 0 0 0 1 | 1 | 1 | 1 | | 0 0 1 0 | 2 | 2 | 2 | | 0 0 1 1 | 3 | 3 | 3 | | 0 1 0 0 | 4 | 4 | 4 | | 0 1 0 1 | 5 | 5 | 5 | | 0 1 1 0 | 6 | 6 | 6 | | 0 1 1 1 | 7 | 7 | 7 | | 1 0 0 0 | 10 | 8 | 8 | | 1 0 0 1 | 11 | 9 | 9 | | 1 0 1 0 | 12 | 10 | A | | 1 0 1 1 | 13 | 11 | B | | 1 1 0 0 | 14 | 12 | C | | 1 1 0 1 | 15 | 13 | D | | 1 1 1 0 | 16 | 14 | E | | 1 1 1 1 | 17 | 15 | F | Note the patterns with the 1's and 0's as we count in binary. They correlate with the position value. Why 15 (decimal)? That's how many values it takes to represent all 16 single-hexdigit values. Why hex? Because 2^4 = 16, it takes 4 binary bits to represent 1 hex digit (or, each hex digit represents 4 binary bits). We use hex because it is a shorthand way of representing binary. Shorthand is good because it gives us less chance to make mistakes. That's really pretty much the story with that one.