answersLogoWhite

0

Let's look at an example. If you want to convert the number 100112 to decimal you can split up the number so each digit has an index associated to it:

4 3 2 1 0

1 0 0 1 1

We can then find the decimal value:

24 * 1 + 23 * 0 + 22 * 0 + 21 * 1 + 20 * 1 =

16 * 1 + 8 * 0 + 4 * 0 + 2 * 1 + 1 * 1 = 16 + 0 + 0 + 2 + 1 = 19

So what we need to do is to multiply each of the binary digits by the value of two raised to the index of the digit. This will give you the conversion from any binary number to a decimal number.

User Avatar

Wiki User

17y ago

What else can I help you with?