Binary Help

Here is one way to convert a decimal number to a binary number.

Start with 1 and multiply it by 2.

1 * 2 = 2

Take 2 and multipy it by 2.

2 * 2 = 4

Keep taking the result and multipy it by 2.

You will get a list of numbers like this: 1,2,4,8,16,32,64,128,256,512,1024,etc.

Then reverse the numbers like this: 1024,512,256,128,64,32,16,8,4,2,1

Okay, let's figure out what decimal 68 is in binary.

Look at this list of numbers and figure out what the largest number you can subtract 68 by that is 68 or less.

The answer is 64.

68-64=4

What is the largest number you can subtract 4 by that is 4 or less?

The answer is 4.

4-4=0

Then you put ones by all the numbers you subtracted from and zeros by the rest.

1024 512  256  128  64   32   16   8    4    2    1
   0   0    0    0   1    0    0   0    1    0    0

You don't need the 0's to the left of the first 1 (or last depending on how you look at it).

The answer would be: 1000100

Close