A tutorial on how to multiply binary numbers, along with examples, exercises and answers is presented.
The multiplication of binary numbers is similar to the multiplication of decimal numbers.
1 | 0 | 1 | 1 | |||
x | ||||||
1 | 0 | 0 | 1 | |||
____ | ____ | ____ | ____ | |||
1 | 0 | 1 | 1 | |||
0 | 0 | 0 | 0 | |||
0 | 0 | 0 | 0 | |||
1 | 0 | 1 | 1 | |||
___ | ___ | ___ | ___ | ___ | ___ | ___ |
1 | 1 | 0 | 0 | 0 | 1 | 1 |
The multiplication of binary numbers is done by shifting by one bit and adding. It can be easily checked that 1011 which is 11 in decimal multiplied by 1001 which is 9 in binary gives 99 which is 1100011 in binary.