# Convert Decimal To Binary – Formula, Table, Facts, Examples, FAQs

Home » Math-Vocabluary » Convert Decimal To Binary – Formula, Table, Facts, Examples, FAQs

## What Is Decimal to Binary Conversion?

In the decimal to binary conversion, we convert a given base-10 number into an equivalent base-2 number.

For example, the binary equivalent of 5 is (101)2

Writing any decimal number in binary simply means finding a number equivalent to it in the binary number system.

Note that there is no decimal to binary formula for direct conversion. Decimal to binary conversion is a process done by dividing the decimal number to 2. Note down all the remainders. Continuous division is carried out until the quotient reaches 0. Writing all the remainders in reverse order we get the equivalent binary number.

Example: 2110 = 101012

## What Is Decimal Number System?

The decimal number system, also known as the Hindu-Arabic number system, is the base-10 number system. It uses the 10 digits or symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9.

It is the most commonly used number system. Thus, if the base is not mentioned, the number is considered to be a decimal number.

Each digit in the decimal system has a place value depending upon its position and the place value of every digit is ten times more significant than the previous digit. In the decimal system there are place values as ones, tens, hundreds, thousands, etc. (increasing power of 10).

Example 1: 42 is a decimal number, then place value of 2 is one, and its value is 2 × 1 = 2 and place value of 4 is ten  and its value is  4 × 10 = 40 .

Let us look some more example for a better understanding,

Example 2: 15 = (15)10 = 1 × 10 + 5  × 1

Example 3: 245 = (245)10 = 2 × 10² + 4 × 10 + 5 × 1

Example 4: 2000 = (2000)10 = 2 × 10³ + 0 × 10² + 0 × 10 + 0 × 1

Example 5: 35.55 = (35.55)10 = 3 × 102 + 5 × 101 + 5 × 10-1+ 5 × 10-2

## What Is Binary Number System?

The binary number system is a base-2 number system in which numbers are represented using only two digits: 0 and 1.

Each digit of the binary number system is called a bit. Bit can either be 0 or 1.

Example: 1101 is a four-bit binary number.

100001 is a six-bit binary number.

The Most Significant Bit (MSB) is the bit on the far left end of a binary number, while the Least Significant Bit (LSB) is the bit on the far right end (LSB).

In the binary system, the place values go like ones, twos, fours, etc (increasing power of 2).

## How to Convert Decimal Numbers into Binary Numbers

To convert decimal numbers to binary, we divide the given decimal number repeatedly by 2 and the remainder are noted down till we get 0 as the final quotient.

Here are the steps for converting decimal numbers into binary:

Step 1: Divide the given decimal number by 2 and note down the remainder and quotient.

Step 2: Now, divide the quotient obtained in step 1 by 2, and note down the remainder again.

Step 3: Repeat the above steps until you get 0 as the quotient.

Step 4: Now, write the remainders in the reverse order (from the last to the first).

The Least Significant Bit (LSB) of the binary number is at the top and the Most Significant Bit (MSB) is at the bottom.

Example: Convert 1410 into binary.

## How to Convert Decimal Fraction into Binary

To find the binary equivalent of the decimal fraction, we find the binary equivalent of the integral part and the fractional part separately and add them together to find the answer.

To convert the fractional part into binary, multiply the fractional part of the decimal number repeatedly by 2 and note down the integral part and fractional part of the result. Repeat this process until the fractional part becomes 0.

The answer will be the integral parts obtained in each multiplication (in the right sequence).

Note that if the fractional part is not becoming 0 and if the process goes on, the fractional number will have an infinite length. In such cases, we stop the process when we get the required number of bits.

Example 1: Find the binary fraction equivalent of 0.12510

0.125 × 2 = 0 + 0.250

0.250 × 2 = 0 + 0.500

0.500 × 2 = 1 + 0.000

Thus the binary equivalent of 0.125₁₀ is 0.001.

Example 2: 0.687510 = 10112

0.6875 × 2 = 1 + 0.375

0.3750 × 2 = 0 + 0.75

0.75 × 2 = 1 + 0.5

0.50 × 2 = 1 + 0

## Conclusion

In this article, we learned about decimal to binary conversion along with the steps for the conversion. We also learned how to convert decimal fractions into binary. Let’s solve a few examples based on the decimal to binary conversion.

## Facts about Decimal to Binary Conversion

• Binary number system has base 2. Binary digits are called “bits.”
• In binary, each digit’s position represents a power of 2.
• The decimal number system has base 10.
• In computer language, one binary digit is called a bit, two digits are called a crumb, four digits are called a nibble, and eight digits are called a byte.
• Binary numbers may have leading zeros, which do not contribute to the value of the number. For example, 00111 is equivalent to 111 in binary.
• Converting from binary to decimal involves multiplying each binary digit by the corresponding power of 2 and adding the products to get the decimal value.

## Solved Examples on Decimal to Binary Conversion

Example 1: Convert decimal to binary: 10010

Solution:

Let Q represent the Quotient and R represent the Remainder.

100 ÷ 2 gives Q = 50 and R = 0

50 ÷ 2 gives Q = 25 and R = 0

25 ÷ 2 gives Q = 12 and R = 1

12 ÷ 2 gives Q = 6 and R = 0

6 ÷ 2 gives Q = 3 and R = 0

3 ÷ 2 gives Q = 1 and R = 1

1 ÷ 2 gives Q = 0 and R = 1

Write down the remainders from last to the first to find the binary conversion of the given decimal number.

100₁₀ = 1100100₂

Example 2: Convert the Decimal Number 144 into a Binary Number.

Solution

Hence, 144₁₀ = 10010000₂

Example 3: Convert 1310 to base 2 number system.

Solution:

Hence, 13110 = 1101₂

Example 4: Convert 174.25₁₀ to base 2 number system.

Solution:

Here, we have to convert decimal fraction to binary.

First, we will find the binary equivalent of 174.

So, the binary equivalent of 174 is 101011102.

Next, we find the binary equivalent of 0.2510.

Thus, the binary equivalent of  0.25₁₀ is 0.01

The binary equivalent of 174.25₁₀ is 10101110 + .0.01 = 10101110.01

Example 5: Convert 10.210 to base 2 number system.

Solution:

First we will find the binary equivalent of the integral part of the number that is 10.

Thus, 1010 = 10102

Now, let’s find the binary equivalent of 0.2.

0.2 × 2 = 0 + 0.4

0.4 × 2 = 0 + 0.8

0.8 × 2 = 1 + 0.6

0.6 × 2 = 1 + 0.2

Write the integer values obtained in each multiplication to find the answer.

Thus 0.2₁₀ = 0.0011₂

In conclusion, the binary equivalent of 10.2 is the sum of 10102₂ and 0.0011₂.

10.2₁₀ =  1010₂ +  0.0011₂ = 1010.0011₂.

## Practice Problems on Decimal to Binary Conversion

1

### The binary equivalent of 5 is

100₂
101₂
110₂
111₂
CorrectIncorrect
5 ÷ 2 = 2 R 1
2 ÷ 2 = 1 R 0
1 ÷ 2 = 0 R 1
Write the remainders in the reverse order to find the answer.
Thus, the binary equivalent of 5 is 101.
2

### What is the binary equivalent of 55?

100111₂
110001₂
100011₂
110111₂
CorrectIncorrect
55 ÷ 2 = 27 with remainder 1
27 ÷ 2 = 13 with remainder 1
13 ÷ 2 = 6 with remainder 1
6 ÷ 2 = 3 with remainder 0
3 ÷ 2 = 1 with remainder 1
1 ÷ 2 = 0 with remainder 1
Writing the remainders in the reverse order, we get
5510 = 110111₂
3

### What is the binary equivalent of 0.75?

0.11
0.101
1001011
110111
CorrectIncorrect
Conversion of decimal fraction 0.75 into binary is:
0.75 × 2 = 1 + 0.5
0.5 × 2 = 1 + 0
Hence, the decimal number 0.75 in binary is 0.11.
4

### What is the binary equivalent of $1.1_{10}$?

1.00011₂
1.10101₂
1.001₂
0.0111₂
CorrectIncorrect
Integral part: 1 ÷ 2 = 0 R 1
Thus, the binary equivalent of 1 is 1.
Fractional part: 0.1 into binary is:
0.1 × 2 = 0 + 0.2
0.2 × 2 = 0 + 0.4
0.4 × 2 = 0 + 0.8
0.8 × 2 = 1 + 0.6
0.6 × 2 = 1 + 0.2
We can stop the process here since 0.2 is repeated.
The binary equivalent of 0.2 is 0.00011
Hence, 1.1₁₀ = 1 + 0.00011 = 1.00011₂