You are on page 1of 8

Decimal

to
Binary Conversion

Press any key to continue…


Method 1 - subtraction
Use the chart to record the subtraction
27 26 25 24 23 22 21 20
128 64 32 16 8 4 2 1

1 0 1 1 1 1 0 1 = 189

To convert the decimal number 189 to binary you


must subtract the highest number possible first. Place
a 1 in the chart for any number you subtract.
189 Cannot 61 29 13 5 Cannot 1
subtract subtract
-128 - 32 - 16 - 8 -4 -1
a 64 a2
61 29 13 5 1 0

Press any key to continue…


Try another number using Method 1 - subtraction
Use the chart to record the subtraction
27 26 25 24 23 22 21 20
128 64 32 16 8 4 2 1

0 1 0 0 1 0 1 1 = 75

To convert the decimal number 75 to binary you


must subtract the highest number possible first. Place
a 1 in the chart for any number you subtract.
Cannot 75 Cannot Cannot 11 Cannot 3 1
subtract subtract subtract subtract
- 64 - 8 -2 -1
a 128 a 32 a 16 a4
11 3 1 0

Press any key to continue…


On a piece of paper convert the number 242 using Method 1
– subtraction. Press any key when you have an answer.
27 26 25 24 23 22 21 20
128 64 32 16 8 4 2 1

1 1 1 1 0 0 1 0 = 242

To convert the decimal number 242 to binary you


must subtract the highest number possible first. Place
a 1 in the chart for any number you subtract.
242 114 50 18 Cannot Cannot 2
subtract subtract
- 128 - 64 - 32 - 16 an 8 a4 -2
114 50 18 2 0

Press any key to continue…


Method 2 - division
Use the chart to record the division
27 26 25 24 23 22 21 20
128 64 32 16 8 4 2 1
1 0 1 1 1 1 0 1 = 189
189 / 2 = 94 r 1
To convert the decimal
number 189 to binary 94 / 2 = 47 r 0
you must divide the 47 / 2 = 23 r 1
number by 2. Starting 23 / 2 = 11 r 1
from the right, place a 11 / 2 = 5 r 1
1 if there is a 5/2= 2r1
remainder or a 0 if no 2/2= 1r0
remainder. 1 / 2 = cannot
divide further -
carry the 1 Press any key to continue…
Method 2 - division
Use the chart to record the division
27 26 25 24 23 22 21 20
128 64 32 16 8 4 2 1
0 1 0 0 1 0 1 1 = 75
75 / 2 = 37 r 1
To convert the decimal
number 75 to binary 37 / 2 = 18 r 1
you must divide the 18 / 2 = 9 r 0
number by 2. Starting 9/2= 4r1
from the right, place a 4/2= 2r0
1 if there is a 2/2= 1r0
remainder or a 0 if no 1 / 2 = cannot divide
remainder. further - carry the 1
Fill in to make 8 bits with 0
Press any key to continue…
Method 2 - division
Use the chart to record the division
27 26 25 24 23 22 21 20
128 64 32 16 8 4 2 1
1 1 1 1 0 0 1 0 = 242
242 / 2 = 121 r 0
To convert the decimal
number 242 to binary 121 / 2 = 60 r 1
you must divide the 60 / 2 = 30 r 0
number by 2. Starting 30 / 2 = 15 r 0
from the right, place a 15 / 2 = 7 r 1
1 if there is a 7/2= 3r1
remainder or a 0 if no 3/2= 1r1
remainder. 1 / 2 = cannot
divide further -
carry the 1 Press any key to continue…
The End

You might also like