You repetitively divide the number by two, taking the remainder as the digit (in binary). When you divide by 2, the remainder will either be 0 or 1.
Example: convert 23 (base 10) to binary:
23/2 = 11, remainder 1 (this is the ones digit)
11/2 = 5, remainder 1 (this is the twos digit)
5/2 = 2, remainder 1, (this is the fours digit)
2/1 = 1, remainder 0, (this is the eights digit)
1/2 = 0, remainder 1, (this is the sixteens digit). So now combine the digits (sixteens is the highest digit in this number):
23 (base 10) = 10111 (base 2)
Chat with our AI personalities
If you use Windows, you can use the Windows calculator to convert from decimal to binary. Change to scientific mode, be sure the calculator is in decimal, type the decimal number, and switch to binary. If you are practicing decimal to binary conversion, this is a great tool to verify that you have done your calculations correctly.
489 = 111101001
Decimal 11 = binary 1011
Binary 100 is 4 in decimal.
1111 in binary is 15 in decimal. 1111 in decimal is 10001010111‬ in binary.