In **decimal to binary** conversion, we convert a base 10 number to base 2 number by using simple methods. For example, if 12_{10} is a decimal number then its equivalent binary number is 1100_{2}.

Students can learn online here to convert any given decimal number into its equivalent binary number system. In the number system, you may have learned about different types of numbers such as;

- Binary Numbers – Base 2
- Octal Numbers – Base 8
- Decimal Numbers – Base 10
- Hexadecimal Numbers – Base 16

These numbers can be converted from one system to other systems like decimal to binary, decimal to hex, decimal to octal and vice versa. In this article, you are going to learn the conversion of decimal to binary number systems along with the conversion steps and examples.

**Also, read:** Decimal To Binary Converter

## Decimal to Binary Conversion

A decimal number has base 10 and a binary number has base 2. In decimal to binary conversion, the base of the number also changes, i.e. from base 10 to base 2. All the decimal numbers have its equivalent binary numbers. These binary numbers are majorly used in computer applications, where it is used for programming or coding purposes. This is because computers understand the language of binary digits, o and 1.

Hence, once we give the input to the computer system in the decimal form, it converts them into binary digits, performs the required operations and provides the output into decimal form again. Now, learn here how the decimal number can be represented here in binary form. But before learning the steps for conversion, first, let us see the table to know the equivalent binary number for a decimal number.

The above figure shows the conversion of a decimal number 100 to binary.

**Related Links:**

## Decimal to Binary Table

To convert numbers from decimal to binary number system, you should remember the decimal to the binary table to solve the problems efficiently with an accurate solution. The decimal to binary conversion up to 20 numbers is given below for reference.

Decimal Number |
Binary Number |

0 | 0 |

1 | 1 |

2 | 10 |

3 | 11 |

4 | 100 |

5 | 101 |

6 | 110 |

7 | 111 |

8 | 1000 |

9 | 1001 |

10 | 1010 |

11 | 1011 |

12 | 1100 |

13 | 1101 |

14 | 1110 |

15 | 1111 |

16 | 10000 |

17 | 10001 |

18 | 10010 |

19 | 10011 |

20 | 10100 |

## How to Convert Decimal Numbers to Binary Numbers?

To convert decimal to binary numbers, proceed the steps given below:

- Divide the given decimal number by “2” where it gives the result along with the remainder.
- If the given decimal number is even, then the result will be whole and it gives the remainder “0”
- If the given decimal number is odd, then the result is not divided properly and it gives the remainder “1”.
- By placing all the remainders in order in such a way, the Least Significant Bit (LSB) at the top and Most Significant Bit (MSB) at the bottom, the required binary number will be obtained.

Now, let us convert the given decimal number 294 into a binary number.

Divide by 2 |
Result |
Remainder |
Binary Value |

294 ÷ 2 | 147 | 0 | 0 (LSB) |

147 ÷ 2 | 73 | 1 | 1 |

73 ÷ 2 | 36 | 1 | 1 |

36 ÷ 2 | 18 | 0 | 0 |

18 ÷ 2 | 9 | 0 | 0 |

9 ÷ 2 | 4 | 1 | 1 |

4 ÷ 2 | 2 | 0 | 0 |

2 ÷ 2 | 1 | 0 | 0 |

1 ÷ 2 | 0 | 1 | 1 (MSB) |

Therefore, the binary equivalent for the given decimal number 294_{10} is 100100110_{2}

**294 _{10} =100100110_{2}**

## Decimal to Binary Conversion Solved Examples

**Example 1:** **Convert 160 _{10} to binary Number**

**Solution:**

Given: Decimal Number = 160_{10}

Divide by 2 |
Result |
Remainder |
Binary Value |

160 ÷ 2 | 80 | 0 | 0 (LSB) |

80 ÷ 2 | 40 | 0 | 0 |

40 ÷ 2 | 20 | 0 | 0 |

20 ÷ 2 | 10 | 0 | 0 |

10 ÷ 2 | 5 | 0 | 0 |

5 ÷ 2 | 2 | 1 | 1 |

2 ÷ 2 | 1 | 0 | 0 |

1 ÷ 2 | 0 | 1 | 1 (MSB) |

Therefore, 160_{10} = 10100000_{2}

**Example 2: Convert 17 _{10 }into a binary number**

Solution:

Given: Decimal Number = 17_{10}

Divide by 2 |
Result |
Remainder |
Binary Value |

17 ÷ 2 | 8 | 1 | 1 (LSB) |

8 ÷ 2 | 4 | 0 | 0 |

4 ÷ 2 | 2 | 0 | 0 |

2 ÷ 2 | 1 | 0 | 0 |

1 ÷ 2 | 0 | 1 | 1 (MSB) |

Therefore, 17_{10} = 10001_{2}

Let’s have a look at the conversion of a decimal number with fractional part to binary.

**Question: **

Convert 195.25 into binary.

**Solution:**

195 / 2 = 97 with remainder 1

97 / 2 = 48 with remainder 1

48 / 2 = 24 with remainder 0

24 / 2 = 12 with remainder 0

12 / 2 = 6 with remainder 0

6 / 2 = 3 with remainder 0

3 / 2 = 1 with remainder 1

1 / 2 = 0 with remainder 1

Thus, the binary equivalent of 195 is 11000011.

Now, we have to convert the fractional part of the given number into binary.

Multiply 0.25 by 2 and observe the resulting integer and fractional parts. Renew multiplying the resultant fractional part by 2 until we get a resulting fractional part equal to zero.

Then we need to write the integer parts from the results of each multiplication to make the equivalent binary number.

0.25 × 2 = 0 + 0.5

0.5 × 2 = 1 + 0

Here, 0.25 is equivalent to the binary number 0.01.

Therefore, (195.25)_{10} = (11000011.01)_{2}

### Decimal to Binary Problems

Here are a few questions that are given for students, so that they can solve them and get good practice. Solving these problems will help students to increase their speed and attain good marks in the exams.

- Convert 244
_{10}to its equivalent binary number. - Convert 76
_{10}to binary number. - What is the binary equivalent of decimal number 891
_{10}? - Convert 57
_{10}into a binary number.

Register with BYJU’S – The Learning App to experience advanced learning methods with the help of personalised videos.

## Frequently Asked Questions on Decimal to Binary

### How do you convert decimal to binary?

Step 1: Divide the given decimal number by “2” to provide the result and the remainder.

Step 2: If the given decimal number is even, then the result will be whole, and it provides the remainder with “0”

Step 3: If the given decimal number is odd, the result is not divided correctly and provides the remainder with “1”.

Step 4: By placing all the remainders in order in such a way, the Least Significant Bit (LSB) at the top and Most Significant Bit (MSB) at the bottom, the required binary number will be obtained.

### How do you convert 0.75 to binary?

0.75 × 2 = 1 + 0.5

0.5 × 2 = 1 + 0

Therefore, the binary equivalent of 0.75 is 0.11.

### What is 10 in decimal to binary?

10 / 2 = 5 with remainder 0

5 / 2 = 2 with remainder 1

2 / 2 = 1 with remainder 0

1 / 2 = 0 with remainder 1

Therefore, the 10 in decimal is equal to 1010 in binary.

### What is the value of 34 decimal to binary?

34 / 2 = 17 with remainder 0

17 / 2 = 8 with remainder 1

8 / 2 = 4 with remainder 0

4 / 2 = 2 with remainder 0

2 / 2 = 1 with remainder 0

1 / 2 = 0 with remainder 1

Hence, the decimal number 34 in binary is 100010.

### What is the binary of 55?

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

Hence, the decimal number 55 in binary is 110111.