4th July 2008 search this site | sitemap | advertise 

  Binary Numbers (Part 3) - Multiplying & Dividing binary numbers


In this third part we will show you how to multiply and divide binary values.
This page is © Copyright 2001-2008 helpwithpcs.com

In part three:

Multiplying binary numbers

Binary multiplication can be achieved in a similar fashion to multiplying decimal values.

Using the long multiplication method, ie, by multiplying each digit in turn, and then adding the values together.

For example, lets do the following multiplication: 1011 x 111 (decimal 1110 x 710)
binary multiplication
which gives us 1001101, now we can convert this value into decimal, which gives 7710

So the full calculation in decimal is 1110 x 710 = 7710 (correct !!)
note: Notice the pattern in the partial products, as you can see multiplying a binary value by two can be achieved by shifting the bits to the left and adding zeroes to the right.
back to top | © Copyright 2001-2008 helpwithpcs.com
Dividing binary numbers

Like multiplication, dividing binary values is the same as long division in decimal.

For example, lets do the following division: 1001 ÷ 11 (decimal 910 ÷ 310)
binary multiplication
which gives us 0011, now we can convert this value into decimal, which gives 310

So the full calculation in decimal is 910 ÷ 310 = 310 (correct !!)
note: Dividing a binary value by two can also be achieved by shifting the bits to the right and adding zeroes to the left.
back to top | © Copyright 2001-2008 helpwithpcs.com