126 Decimal in Binary

Let's convert the decimal number 126 to binary without using a calculator:

Step 1: Divide by 2

Start by dividing 126 by 2:

126 ÷ 2 = 63 (Quotient) with a remainder of 0

Step 2: Divide the Quotient

Now, divide the quotient (63) by 2:

63 ÷ 2 = 31 (Quotient) with a remainder of 1

Step 3: Divide the Quotient

Now, divide the quotient (31) by 2:

31 ÷ 2 = 15 (Quotient) with a remainder of 1

Step 4: Divide the Quotient

Now, divide the quotient (15) by 2:

15 ÷ 2 = 7 (Quotient) with a remainder of 1

Step 5: Divide the Quotient

Now, divide the quotient (7) by 2:

7 ÷ 2 = 3 (Quotient) with a remainder of 1

Step 6: Divide the Quotient

Now, divide the quotient (3) by 2:

3 ÷ 2 = 1 (Quotient) with a remainder of 1

Step 7: Final actions

The Quotient is less than 2 (1), so we will transfer it to the beginning of the number as a reminder.

Step 8: Write the Remainders in Reverse Order

Now, write down the remainders obtained in reverse order:

1111110

So, the binary representation of the decimal number 126 is 1111110.
Decimal To Binary Converter



Other examples of Decimal to Binary conversion
See also: