Hexadecimal number is a number expressed in the base 16 numeral system. Hexadecimal number's digits have 16 symbols: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F. Each digit of a hexadecimal number counts a power of 16.
Hexadecimal number example:
62C16 = 6×162+2×161+12×160 = 158010
Binary number is a number expressed in the base 2 numeral system. Binary number's digits have 2 symbols: zero (0) and one (1). Each digit of a binary number counts a power of 2.
Binary number example:
11012 = 1×23+1×22+0×21+1×20 = 1310
Convert every hex digit (start lowest digit) to 4 binary digits, with this table:
Hex | Binary |
---|---|
0 | 0000 |
1 | 0001 |
2 | 0010 |
3 | 0011 |
4 | 0100 |
5 | 0101 |
6 | 0110 |
7 | 0111 |
8 | 1000 |
9 | 1001 |
A | 1010 |
B | 1011 |
C | 1100 |
D | 1101 |
E | 1110 |
F | 1111 |
Convert hex 6C16 to binary:
6C16 = 6 C = 110 1100 = 11011002