123 Base 10 To Binary

3 min read Jul 18, 2024
123 Base 10 To Binary

Converting 123 from Base 10 to Binary

In this article, we will explore how to convert the decimal number 123 from base 10 to binary.

What is Binary?

Binary is a number system that uses only two digits: 0 and 1. It is the basis for all computer programming and is used to represent information in computers.

What is Base 10?

Base 10, also known as decimal, is the number system we use every day. It uses 10 digits from 0 to 9 to represent numbers.

Converting 123 to Binary

To convert 123 from base 10 to binary, we can use the following steps:

Step 1: Divide 123 by 2

123 ÷ 2 = 61 with a remainder of 1

Step 2: Divide 61 by 2

61 ÷ 2 = 30 with a remainder of 1

Step 3: Divide 30 by 2

30 ÷ 2 = 15 with a remainder of 0

Step 4: Divide 15 by 2

15 ÷ 2 = 7 with a remainder of 1

Step 5: Divide 7 by 2

7 ÷ 2 = 3 with a remainder of 1

Step 6: Divide 3 by 2

3 ÷ 2 = 1 with a remainder of 1

Step 7: Divide 1 by 2

1 ÷ 2 = 0 with a remainder of 1

Now, we take the remainders in reverse order to get the binary representation of 123:

1111011

Therefore, the binary representation of 123 is 1111011.

Conclusion

In this article, we have successfully converted the decimal number 123 from base 10 to binary. We used the division method to find the binary representation of 123, which is 1111011.

Featured Posts