#  >> K-12 >> K-12 Basics

How to Convert Integers to Binary

The binary numeral system is perhaps the most well-known form of positional notation outside of the traditional decimal form of base-10. The system uses only the digits 0 and 1, so when counting in binary, the number 1 is followed by the number 10, the number 11 followed by the number 100, and so on. Knowing how to convert decimal integers to binary is an important skill with real world applications in computer programming and mathematics.

Things You'll Need

  • Paper
  • Pen
  • Calculator
Show More

Instructions

    • 1

      Divide your starting decimal integer by 2. Write the answer below the starting integer and the remainder of 1, if it exists, to the right of it. As an example, we will start with the number 83. Divided by 2, it gives you a quotient of 41 with a remainder of 1.

    • 2

      Divide your answer from Step 1 by 2, once again placing the remainder of 1 to the right. For the above example, 41 divided by 2 equals 20 with a remainder of 1, so you would write 20 below the 41 and 1 to the right of it.

    • 3

      Repeat Step 2 until you are left with a quotient of 0. For our above example, the process would be as follows:

      83/2 = 41 with a remainder of 1.

      41/2 = 20 with a remainder of 1.

      20/2 = 10 with a remainder of 0.

      10/2 = 5 with a remainder of 0.

      5/2 = 2 with a remainder of 1.

      2/2 = 1 with a remainder of 0.

      1/2 = 0 with a remainder of 1.

    • 4

      Assemble the remainders into a string starting with the bottom and working your way up to the top to get your decimal integer's binary equivalent. For the above example, 83 would be 1010011 in binary.

Learnify Hub © www.0685.com All Rights Reserved