Information Representation
Number Systems - Hexadecimal


The Hexadecimal number system has a base of 16 using 0 to 9 and the letters A to F as its symbols:

Hexadecimal Decimal
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Table comparing hexadecimal values with decimal values

In a weighting table:
weights: 163 162 161 160
position number: 3 2 1 0
value: 4096 256 16 1

So the hexadecimal number A15B would mean:
(10x4096)+(1x256)+(5x16)+(11x1) = 40960 + 256 + 80 + 11 = 41307 decimal