How To Convert Decimal To Binary

In this tutorial you will learn how to convert a number to binary format, and we will also see how to convert binary to decimal numbers.

Steps to Convert Decimal to Binary:

Converting a decimal number to binary involves dividing the decimal number by 2 repeatedly and noting the remainders until the quotient becomes zero. Then, the binary equivalent is formed by arranging the remainders in reverse order. Here’s a step-by-step guide:

  1. Divide the decimal number by 2: Start by dividing the decimal number by 2.
  2. Note the remainder: Note the remainder after each division.
  3. Repeat the process: Continue dividing the quotient by 2 and noting the remainders until the quotient becomes zero.
  4. Write down the remainders: Write down the remainders in reverse order. This forms the binary equivalent of the decimal number.

Let’s convert the decimal number 22 to binary:

  1. 22 ÷ 2 = 11 remainder 0
  2. 11 ÷ 2 = 5 remainder 1
  3. 5 ÷ 2 = 2 remainder 1
  4. 2 ÷ 2 = 1 remainder 0
  5. 1 ÷ 2 = 0 remainder 1

Now, writing down the remainders in reverse order: 11001

Number to binary conversion

Conversion From Binary to Decimal:

10110 is the binary of 22. Now we will see how we can get back the number from the binary format.

Binary Number10110
Power of 2 (from the right/end)2423222120
Power value (Ignore the zeros columns)1642

Sum of 16+4+2 = 22 number from 10110.

Leave a Reply

Your email address will not be published. Required fields are marked *

We use cookies to ensure that we give you the best experience on our website. Privacy Policy