Hexadecimal Arithmetic
Hexadecimal Number System
Following are the characteristics of a hexadecimal number system.
Uses 10 digits and 6 letters, 0,1,2,3,4,5,6,7,8,9,A.8,C,D.E,F.
Letters represents numbers starting from 10, A= 10, B= 11, C
Also called base 16 number system
Each position in a hexadecimal number represents a 0 power of the base (16). Example ~ 16°
Last position in a hexadecimal number represents an x power of the base (16). Example - 16"
where x represents the last position - 1
Example
Hexadecimal Number ~ 19FDE +.
Step
Step 1
Step 2
Step 3
Calculating Decimal Equivalent -
Hexadecimal Number Decimal Number
ASFDE 6 ((1 & 164) + (9 x 169) + (F x 162) + (D x 161) + (E x 16%) 10
19FDE%5 ((1 164) + (@ « 169) + (15 * 12) + (13 * 161) + (14 x 16°))10,
19FDE tg (65536 + 36864 + 3840 + 208 + 14)
19FDEs5 10846210
Step 4
Note ~ 19FDE%g is normally written as 19FDE
Hexadecimal Addition
Following hexadecimal addition table will help you greatly to handle Hexadecimal addition.fs
4
4
3
b
EF) }x
EF
F 10
10 41
10 41 42
1011 12 13
10 1112 13 14
10 11 1213 44 45
1011 12 1314 15 16
10 1112 13 1415 16 17
10 111213 14.15.16 17 18
10 11 12 1314 15 1617 18 19
1011 12 13 1415 16 1718 19 1a
10 1112 13 1415 16 17 1819 14 1B
10 11 1213 14 15 16 17 18 19 1A 1B 1c
101112 1314 15 16 17 18 19 1418 1¢ 1D
10 1112 13 1415 16 17 18 19 14 1B 1C 1D 16
mmoOBrwBYSHRwWNHO |O
TmOOD>OOVOHAwNE
TAMOOBROEVOMAwN
TAMOOBPOHVAGAYW
mAmgoerwovann
mMmoOe>wvarvan
mmoOODpoONGD
BTmMoOe>omH
mMmone>ow
amon |e
amoo lo
game lo
-{ Seb
To use this table, simply follow the directions used in this example - Add Ais and 546. Locate A in the X
column then locate the § in the Y column. The point in ‘sum’ area where these two columns intersect is
the sum of two numbers.
fas + Sic = Face
Example - Addition
4A6is+ 1B31e= 65916 1 camry
4A6 =11900
+1B3 = 4350
659 =1625:0
Hexadecimal Subtraction
The subtraction of hexadecimal numbers follow the same rules as the subtraction of numbers in any other
number system. The only variation is in borrowed number. In the decimal system, you borrow a group of
1049, In the binary system, you borrow a group of 210, In the hexadecimal system you borrow a group of
1640
Example - Subtraction2A616- 18316 = 2F326 16 borrow
34A6 =1190.
-1B3 = 435.0
2F3 = 755.0