Menu Close

How to Convert Binary to Decimal

Posted in C Programming, C++ Programming, Computer Science, Digital Circuit, General Topics

1 Conversion steps:

Here are the steps to convert the binary number 100001 to decimal:

  1. Write down the binary number: 100001
  2. Assign each digit in the binary number a place value, starting from the rightmost digit with a value of 1, and doubling the value for each digit moving left:

1         0   0   0   0   0  1

64     32  16  8   4   2   1

  1. Multiply each digit in the binary number with its corresponding place value:

1 x 64 = 64

                     0 x 32 = 0

0 x 16 = 0

0 x 8 = 0

0 x 4 = 0

0 x 2 = 0

1 x 1 = 1

  1. Add up the products obtained in step 3 to obtain the decimal equivalent:

64 + 0 + 0 + 0 + 0 + 0 + 1 = 65

Therefore, the binary number 100001 is equivalent to the decimal number 33. Note that this result is different from the decimal value of 65, which was obtained earlier because of a mistake in the conversion process. The correct binary representation of the decimal number 65 is 1000001.

2 Binary to Decimal Conversion Table

Binary
Number
Decimal
Number
Hex
Number
0 0 0
1 1 1
10 2 2
11 3 3
100 4 4
101 5 5
110 6 6
111 7 7
1000 8 8
1001 9 9
1010 10 A
1011 11 B
1100 12 C
1101 13 D
1110 14 E
1111 15 F
10000 16 10
10001 17 11
10010 18 12
10011 19 13
10100 20 14
10101 21 15
10110 22 16
10111 23 17
11000 24 18
11001 25 19
11010 26 1A
11011 27 1B
11100 28 1C
11101 29 1D
11110 30 1E
11111 31 1F
100000 32 20
1000000 64 40
10000000 128 80
100000000 256 100

Leave a Reply