# Shortcut for converting binary to decimal

We have till now discussed the conventional method of converting binary numbers to decimal numbers. Instead, of following the long procedure here you will learn a simple shortcut to perform the conversions in matter of seconds and as you practice you will be able to mentally convert binary number to decimal without the pen and the paper.

However, the earlier procedure is a must in examination point of view. This shortcut is only for knowledge and fun.

__Step 1:__ First, we will have to make a tabular column with three rows R1,R2,R3 and 8 columns C0,C1,C2,C3,C4,C5,C6,C7 as shown below

C7 C6 C5 C4 C3 C2 C1 C0

R1 | ||||||||

R2 | ||||||||

R3 |

__Step 2:__ Now insert the values into the first row of the table (R1) as shown below

C7 C6 C5 C4 C3 C2 C1 C0

R1 | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |

R2 | ||||||||

R3 |

You would be wondering from where did those values in the first row come from. It is simply the values of powers of 2 ranging from (2^{0} to 2^{7 }starting from C0 to C7 respectively). The following table will give the exact idea how the values are obtained.

Binary | Decimal |

2^{0} |
1 |

2^{1} |
2 |

2^{2} |
4 |

2^{3} |
8 |

2^{4} |
16 |

2^{5} |
32 |

2^{6} |
64 |

2^{7} |
128 |

__Step 3 :__ The given binary number that needs to be converted to decimal is inserted bit by bit from** LSB** to **MSB** into third row (**R2**) starting from C0 to C7 respectively.

__Step 4:__ Multiply each element from the first row (**R1**) with the corresponding value in the second row (**R2**) and put the product into the third row (**R3**) in the same column.

**Step 5:** Now add the individual columns of third row and the sum gives the decimal equivalent of the binary number.

Lets get started with solving some simple examples that will help you a better picture about the shortcut. As we proceed with more examples we will reduce the number of steps.

__Example 1:__ Convert ( 1001 )_{2} to ( ? )_{10}

_{
}

_{step 1: Draw the tabular column with the values}

_{
}

C7 C6 C5 C4 C3 C2 C1 C0

R1 | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |

R2 | ||||||||

R3 |

**Step 2:**Insert given binary number into 2nd row as stated in

**step 3**

C7 C6 C5 C4 C3 C2 C1 C0

R1 | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |

R2 | 1 | 0 | 0 | 1 | ||||

R3 |

__Step 3:__Multiply R1 and R2 with the corresponding elements and put the product in

**R3**

C7 C6 C5 C4 C3 C2 C1 C0

R1 | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |

R2 | 1 | 0 | 0 | 1 | ||||

R3 | 8 | 0 | 0 | 1 |

__Step 4:__Now add the individual elements of third row

**R3,**this sum gives the decimal equivalent of the given binary number as illustrated

**8 + 0 + 0 + 1 = ( 9 )**

_{10}__Example 2 :__ ( 1 0 1)_{2} = ( ? )_{10}

C7 C6 C5 C4 C3 C2 C1 C0

R1 | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |

R2 | 1 | 0 | 1 | |||||

R3 | 4 | 0 | 1 |

**4 +0 + 1 = ( 5 )**

_{10}Try the following yourself__Example 3:__ (101010)_{2}= ( ? )_{10}

__Example 4:__(111111)

_{2}= ( ? )

_{10}

__Example 5:__(00011)

_{2}= ( ? )

_{10}

__Example 6:__(10)

_{2}= ( ? )

_{10}