Decimal to Binary

Decimal to binary converter tool helps you to translate decimal numbers to binary. For example, enter a decimal number "40" into the text box and click on the button, you will get the number "101000" in response after the decimal to binary conversion.


to base-8


to base-16


Decimal Numbers

The decimal numbering system is the most common numbering system used in our daily life. This numbering system is a base-10 system that includes 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. The decimal numbering system is the oldest. It can easily be understood by everyone, for that reason, decimal numbers are used in our daily life. Decimal numbers are readable and easy to manipulate by humans.

About Binary Numbers

Binary numbers include just zeros and ones, it is next to impossible for humans to read a large binary number. Binary is used by most electronics systems, microcontrollers, and microprocessors. As computer systems can easily read binary numbers, it is used by most of them.

Importance of Decimal to Binary Conversion

  • Humans can read decimal numbers easily while machines can read decimal numbers easily. For that reason, decimal to binary converter can be helpful for humans and machines interactions. For example, a human inserts a code into a decimal number, a decimal to binary translator converts that code into binary and sends binary to the back-end. Once the back-end is ready with the response, it converts binary to decimal and shows that decimal number to users.

How to convert decimal to binary?

Follow these steps to convert decimal to binary. Firstly, divide the given number by 2. After you are dividing it by 2, get the float for the next iteration. The reminder is the conversion! For example, if you enter the number "46" in the textbox and you get this answer: 101110.

Decimal to binary conversion example

Converting a decimal number "12" to binary is simple. Firstly, divide 12 by 2 and the remainder would be 0, and the quotient for 12 will be 6. Again dividing 6 by two will give 0 remainder and 3 quotients. Now, dividing 3 by 2 will give the remainder of 1 and the quotient of 1. That's it! The decimal conversion of number 12 will be 1100.