HEXADECIMAL
NUMBER SYSTEM
While octal representation had its advantages, it
eventually fell out of favor as computer
technology evolved. As computers became more
powerful and memory management more
complex, HEXADECIMAL (base-16)
representation gained popularity.
2
3
HEXADECI
MAL
This is the Base 16 numeral system.
4
Definition
Hexadecimal Number System 1 5
HEXADECIMAL NUMBER SYSTEM
◉ It is a numeral system that uses the digits 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9, and
the letters A, B, C, D, E, and F to mean 10, 11, 12, 13, 14, and 15 respectively.
Hexa means 6 (as in the hexagon, the polygon that has 6 sides), and deci
mean 10, hence the need for 16 symbols to represent its digits. It is a base
16 positional notation and uses the power of 16:
160 = 1 164 = 65536
161 = 16 165 = 1048576
162 = 256 166 = 16777216
163 = 4096 167 = 268435456
6
16816
Hexadecimal Number
7
16816
1*16 + 6*16 + 8*16
2 1 0
8
HEXADECIMAL NUMBER SYSTEM
◉ It is a numeral system that uses the digits 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9, and
the letters A, B, C, D, E, and F to mean 10, 11, 12, 13, 14, and 15 respectively.
Hexa means 6 (as in the hexagon, the polygon that has 6 sides), and deci
mean 10, hence the need for 16 symbols to represent its digits. It is a base
16 positional notation and uses the power of 16:
160 = 1 164 = 65536
161 = 16 165 = 1048576
162 = 256 166 = 16777216
163 = 4096 167 = 268435456
9
16816
1*256 + 6*16 + 8*1
10
16816
256 + 96 + 8
11
16816
=
360
12
23AD16
Hexadecimal Number
13
23AD16
2*163 + 3*162 + 10*161 + 13*160
14
HEXADECIMAL NUMBER SYSTEM
◉ It is a numeral system that uses the digits 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9, and
the letters A, B, C, D, E, and F to mean 10, 11, 12, 13, 14, and 15 respectively.
Hexa means 6 (as in the hexagon, the polygon that has 6 sides), and deci
mean 10, hence the need for 16 symbols to represent its digits. It is a base
16 positional notation and uses the power of 16:
160 = 1 164 = 65536
161 = 16 165 = 1048576
162 = 256 166 = 16777216
163 = 4096 167 = 268435456
15
23AD16
2*4096 + 3*256 + 10*16 + 13*1
16
23AD16
8192 + 768 + 160 + 13
17
23AD16
=
9133
18
Decimal to Hexadecimal
Hexadecimal Number System 2 19
2498
20
2498 ÷ 16
remainders
21
2498 ÷ 16
156 remainder 2
2
22
156 ÷ 16
9 remainder 12
C2
23
9 ÷ 16
0 remainder 9
9C2
24
2498
=
9C216
25
12972
26
12972 ÷ 16
810 remainder 12
C
27
810 ÷ 16
50 remainder 10
AC
28
50 ÷ 16
3 remainder 2
2AC
29
3 ÷ 16
0 remainder 3
32AC
30
12972
=
32AC16
31
Hexadecimal to Binary
Hexadecimal Number System 3 32
9C216
33
HEXADECIMAL NUMBER SYSTEM
00002 = 0 01002 = 4 10002 = 8 11002 = C
00012 = 1 01012 = 5 10012 = 9 11012 = D
00102 = 2 01102 = 6 10102 = A 11102 = E
00112 = 3 01112 = 7 10112 = B 11112 = F
34
9C216
1001 1100 0010
35
9C216
1001 1100 0010
36
9C216
1001 1100 0010
37
9C216
=
1001110000102
38
Binary to Hexadecimal
Hexadecimal Number System 4 39
1101011100111010001002
40
1101011100111010001002
4
41
1101011100111010001002
44
42
1101011100111010001002
744
43
1101011100111010001002
E744
44
1101011100111010001002
AE744
45
1101011100111010001002
1AE744
46
1101011100111010001002
=
1AE74416
47