# How to Convert Binary to Decimal

## Binary to decimal conversion is done to convert a number given in the binary number system to its equivalent value in the decimal number system.

## Binary to Decimal

Binary to decimal conversion is done to convert a number given in the binary number system to its equivalent value in the decimal number system. A number system is a format to represent numbers in a certain way.

- The binary number system is used in computers and electronic systems to represent data and it consists of only two digits which are 0 and 1.
- The decimal number system is the most commonly used number system around the world which is easily understandable to people.

Binary to decimal conversion can be done by two methods - the positional notation method and the doubling method. Let us learn how to convert binary to decimal using some binary to decimal conversion examples.

## Binary to Decimal Conversion

Binary to decimal conversion is done to help read large binary numbers easily in a form that humans can understand. But how to convert binary to decimal? There are two methods to convert a number from binary to decimal number system.

- Positional Notation Method
- Doubling Method

Let us understand these binary to decimal conversion methods in detail.

## Binary to Decimal Conversion Using Positional Notation Method

The positional notation method is one in which the value of a digit in a number is determined by a weight based on its position. The steps to convert binary to decimal are as follows:

**Step 1:**Multiply each digit starting from the rightmost digit by the powers of 2. Here, we start with 2^{0}and increase the exponent by 1 as we move onto the left side.**Step 2:**The sum of all these values obtained for each digit gives the equivalent value of the given binary number in the decimal system.

Let us understand this with the help of examples.

**Example:** Convert the binary number 101101_{2} to a decimal number.

**Solution: **Observe the following steps to understand the binary to decimal conversion. In any binary number, the rightmost digit is called the 'Least Significant Bit' (LSB) and the left-most digit is called the 'Most Significant Bit' (MSB). For a binary number with 'n' digits, the least significant bit has a weight of 2^{0} and the most significant bit has a weight of 2^{n-1}.

**Step 1:**List out the exponents of 2 for all the digits starting from the rightmost position. The first power would be 2^{0}and as we move on to the left side it will be 2^{1}, 2^{2}, 2^{3}, 2^{4}, 2^{5},... In the given example, there are 6 digits, therefore, starting from the rightmost digit, the weight of each position from right to left is 2^{0}, 2^{1}, 2^{2}, 2^{3}, 2^{4}, and 2^{5}.

**Step 2:**Now multiply each digit in the binary number starting from the right with its respective weight based on its position and evaluate the product. Observe the figure shown below to relate to the step.

**Step 3:**Finally, sum up all the products obtained for all the digits in the binary number, which gives the decimal equivalent of the given bu=inary number. i.e., 101101_{2}= 45_{10}

_{☛ Also Check: Binary to Decimal Calculator}

## Binary to Decimal Conversion Using Doubling Method

As the name suggests, the process of doubling or multiplying by 2 is done to convert binary to decimal. This method involves the following steps to convert bin to dec. Let us use the same example for converting the binary number 101101_{2} to decimal.

**Example:** Convert the binary number 101101_{2} to decimal using doubling method.

**Solution:** Observe the following steps given below to understand the binary to decimal conversion using the doubling method.

**Step 1:**Write the binary number and start from the left-most digit. Double the previous number and add the current digit. Since we are starting from the left-most digit and there is no previous digit to the left-most digit, we consider the double of the previous digit as 0. For example, in 101101_{2}, the left-most digit is '1'. The double of the previous number is 0. Therefore, we get ((0 × 2) + 1) which is 1.**Step 2:**Continue the same process for the next digit also. The second digit from the left is 0. Now, double the previous digit and add it to the current digit. Therefore, we get, [(1 × 2) + 0], which is 2.**Step 3:**Continue the same step in sequence for all the digits. The sum that is achieved in the last step is the actual decimal value. Therefore, the result of converting the binary number 101101_{2}to a decimal using the doubling method is 45_{10}

Observe the figure given below to relate to the steps and understand how the doubling method works.

## Binary to Decimal Conversion Formula

We use the following conversion formula to convert the binary number d_{n-1}...d_{2}d_{1}d_{0} with n digits into decimal:

(Decimal Number)_{10} = (d_{0} × 2^{0}) + (d_{1} × 2^{1}) + (d_{2} × 2^{2 })+ ..... + d_{n-1} × 2^{n-1})

Let us see the application of the above binary to decimal formula and learn how to convert binary to decimal using the following example.

**Example:** Convert 1110_{2}, from binary to decimal using the binary to decimal formula.

**Solution:** We start doing the conversion from the rightmost digit, which is '0' here.

(Decimal Number)_{10} = (d_{0 }× 2^{0}) + (d_{1} × 2^{1}) + (d_{2} × 2^{2 })+ ..... (d_{n-1} × 2^{n-1}),

= (0 × 2^{0}) + (1 × 2^{1}) + (1 × 2^{2}) + (1 × 2^{3})

= (0 × 2^{0}) + (1 × 2^{1}) + (1 × 2^{2}) + (1 × 2^{3})

= 0 + 2 + 4 + 8

= 14

Therefore, 1110_{2} = 14_{10}

## Binary to Decimal Conversion Chart

The binary to decimal conversion of the first 20 decimal numbers is displayed in the chart given below.

Binary |
Decimal |
---|---|

0 | 0 |

1 | 1 |

10 | 2 |

11 | 3 |

100 | 4 |

101 | 5 |

110 | 6 |

111 | 7 |

1000 | 8 |

1001 | 9 |

1010 | 10 |

1011 | 11 |

1100 | 12 |

1101 | 13 |

1110 | 14 |

1111 | 15 |

10000 | 16 |

10001 | 17 |

10010 | 18 |

10011 | 19 |

10100 | 20 |