Binary to Decimal and Decimal to Binary
Binary to Decimal and Decimal to Binary
2 150 0
2 75 1
2 37 1 (150)10
2 18 0
2 9 1 (10010110)2
2 4 0
2 2 0
1
Steps:
Divide the given number by 2 and write the remainder on the
right hand side.
Repeat the process until you get 1 as the dividend.
Collect all the remainders from bottom to top.
Please Note:
We will divide the number every time by 2 because, the base
of Binary number system is 2.
Conversion of BINARY number into DECIMAL
7 6 5 4 3 2 1 0
1 0 0 1 0 1 1 0
Steps:
Write all the digits of the given binary number.
Put powers of 2, starting from 0 over each digits from right to
left.
Multiply each digit by the corresponding power of 2.
Add up all the numbers.
The final result is the decimal equivalent of the given binary
number.