Hexadecimal (Base 16)

The hexadecimal works just the same as the decimal, octal and binary systems, except that the base is 16. For example

236510 = 9 * 162 + 3 * 161 + 13 * 160

Recall that in the binary system we needed two bits (0,1), while in octal we will only need eight numbers (0,1,2,3,5,6,7) and in decimal we need the ten digits 0 through 9. To use base-16 we will need 16 different symbols to play the role of digits. We use

0 1 2 3 4 5 6 7 8 9 A B C D E F

Given this, we can express

236510 = 93D16