# Binary to Decimal Conversion

## Trigonometry # Binary to Decimal Conversion

Binary to decimal conversion explains the conversion of a binary number (base-2) to an equivalent decimal number (base-10). In Mathematics, a number system is used for expressing numbers. It is a way to represent numbers. The four different types of number system are:

• Binary Number System (Base-2)
• Octal Number System (Base-8)
• Decimal Number System (Base-10)
• Hexadecimal Number System (Base-16)

Number system plays an essential role in computer architecture. Not only computer architecture but mostly all electronic gadgets also uses the number system. So it is essential to learn the conversion from one number system to the other number system. Before we discuss about binary to decimal conversion, let us first understand both the number systems.

## What is a Binary Number System?

A binary number system is defined as a number that is used in binary systems. It is also called base 2 numeral system. It represents the numeric values with two distinct symbols, basically 1 (one) and 0 (zero).

## What is a Decimal Number System?

The decimal number system is also known as the base 10 numeral system. It uses ten digits from 0 to 9. In the decimal number system, the positions continuous to the left of the decimal point represent units, tens, hundreds, thousands and so on. Thus, the base of the decimal number system is 10.

## What is Binary to Decimal Conversion?

Binary to decimal conversion is done to convert a number in a binary number system (base-2) to a number in a decimal number system (base-10). It is very necessary to understand the binary to decimal conversion for computer programming applications. The binary number system is represented by only two digits i.e., 0 and 1 whereas the decimal number system include all the 10 digits from 0 to 9. Now, we have to learn how to convert a binary number to the corresponding decimal number in the next section.

## How to Convert Binary to Decimal Numbers?

To convert the binary number to a decimal number, we use the multiplication method. In this conversion process, if a number with base n has to be converted into a number with base 10, then each digit of the given number is multiplied from the Most Significant Bit (MSB) to the Least Significant Bit (LSB) with reducing the power of the base.

### Binary to Decimal Conversion Steps

• First, write the given binary number and count the powers of 2 from right to left (powers starting from 0)
• Now, write each binary digit (right to left) with the corresponding powers of 2 from (right to left), such that first binary digit (MSB) will be multiplied with the greatest power of 2.
• Add all the products in the above step
• The final answer will be the required decimal number

Let us understand this conversion with the help of an example.

Example of Binary to Decimal Conversion:

Convert the binary number (1101)2 into a decimal number.

Solution:

Given binary number = (1101)2

Now, multiplying each digit from MSB to LSB with reducing the power of the base number 2.

1 × 23 + 1 × 22 + 0 × 21 + 1 × 20

= 8 + 4 + 0 + 1

= 13

Thus, the equivalent decimal number for the given binary number (1101)2 is (13)10

Also, Check: Binary to Decimal Calculator

## Binary to Decimal Formula

The formula for the conversion of the binary number to the decimal number is given by: Where,

N is decimal equivalent,

b is the digit,

q is the base value

## Binary to Decimal Table

The conversion chart for the binary to the decimal number is 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

## Solved Examples

Q.1: Convert the binary number 1001 to a decimal number.

Solution: Given, binary number = 10012

Hence, using the binary to decimal conversion formula, we have:

10012 = (1 × 2³) + (0 × 2²) + (0 × 2¹) + (1 × 2⁰)

= 8 + 0 + 0 + 1

= (9)₁₀

Q.2: Convert 11010012 into an equivalent decimal number.

Solution: Using binary to decimal conversion method, we get;

(1101001)₂ = (1 × 2⁶) + (1 × 2⁵) + (0 × 2⁴) + (1 × 2³) + (0 × 2²) + (0 × 2¹) + (1 × 2⁰)

= 64 + 32 + 0 + 8 + 0 + 0 + 1

= (105)₁₀

Q.3: Convert (11110111)2 into base-10 number system.

Solution: Using binary to decimal conversion method, we get;

(11110111)₂ = (1 × 2⁷) + (1 × 2⁶) + (1 × 2⁵) + (1 × 2⁴) + (0 × 2³) + (1 × 2²) + (1 × 2¹) + (1 × 2⁰)

= 128 + 64 + 32 + 16 + 0 + 4 + 2 + 1

= (247)₁₀

## Practice Questions

1. Convert binary number 10111 into an equivalent decimal number.
2. Convert 1112 in decimal number.
3. What is 1010102 in decimal number?

To learn more on the number systems, register with BYJU’S – The Learning App and download the app from the Google Play store to watch all the subject related videos to learn with ease.
{"ft_lang_label":"__label__en","ft_lang_prob":0.79515165,"math_prob":0.9989477,"size":4700,"snap":"2022-40-2023-06","text_gpt3_token_len":1304,"char_repetition_ratio":0.23189948,"word_repetition_ratio":0.077097505,"special_character_ratio":0.3093617,"punctuation_ratio":0.091510475,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99975365,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,null,null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-10-02T06:30:13Z\",\"WARC-Record-ID\":\"<urn:uuid:0cfdc058-9458-424f-89a5-24a0691b4aae>\",\"Content-Length\":\"13493\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:f5c89854-f9ee-4506-b03e-5ee84980d76a>\",\"WARC-Concurrent-To\":\"<urn:uuid:54c6fbe4-6b41-4f3e-a99f-7b1dad18270a>\",\"WARC-IP-Address\":\"104.21.71.94\",\"WARC-Target-URI\":\"http://mathlake.com/Binary-to-Decimal-Conversion\",\"WARC-Payload-Digest\":\"sha1:TPAESSGIHIQKOIBRHKMQWO2EDJY6WIF7\",\"WARC-Block-Digest\":\"sha1:QVQERWNLXNMZBLO56AKRQAXJYLJLYPQD\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-40/CC-MAIN-2022-40_segments_1664030337287.87_warc_CC-MAIN-20221002052710-20221002082710-00492.warc.gz\"}"}