Professional Documents
Culture Documents
Hexadecimal Notes
Hexadecimal Notes
Hexadecimal Notes
The hexadecimal number system is a type of number system that has a base value equal to 16. It is also
sometimes called ‘Hex’. Hexadecimal numbers are represented by 16 symbols. These symbols or values
are: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E and F. Each digit represents a value in the decimal number
system. For example; D is equal to 13 while 4 is equal to 4.
Hexadecimal number systems can be converted to other number systems such as Binary (Base-2) and
Decimal (Base-10).
Hexadecimal 0 1 2 3 4 5 6 7 8 9 A B C D E F
Decimal 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
STEPS:
16 26 r7 16 26 r7
16 1 r 10 16 1 r 10 - A
16 0 r 1 16 0 r1
STEPS:
3 2 1 0
1. A E 1 9 16 = (160 * 9) + (161 * 1) + (162 * E) + (163 * A)
= (160 * 9) + (161 * 1) + (162 * 14) + (163 * 10)
= 9 + 16 + 3584 + 40960
= 4456910
To convert 0111 0001 01012 from Hexadecimal to Decimal, follow the steps below:
1. Every 4bits of a binary 3 2 1 0 3 2 1 0 3 2 1 0
0111 0001 0101
number represent a
hexadecimal number. Divide
01112 = (23*0) + (22*1) + (21*1) + (20*1)
the number into groups of
=7
four and convert each group
00012 = (23*0) + (22*0) + (21*0) + (20*1)
as an individual number, to
=1
decimal number format.
01012 = (23*0) + (22*1) + (21*0) + (20*1)
=5
= 71516
Example2: Convert 1101111102 from binary number format to hexadecimal number format.
STEPS:
= 1BE16
Hexadecimal to Binary Conversions
Example1: Convert DF116 from hexadecimal number format to binary number format.
STEPS:
2. D (13) F (15) 1
2. 1 2 3