What are the required steps to convert base 10 decimal system
number 6 227 020 801 to base 2 unsigned binary equivalent?
- A number written in base ten, or a decimal system number, is a number written using the digits 0 through 9. A number written in base two, or a binary system number, is a number written using only the digits 0 and 1.
1. Divide the number repeatedly by 2:
Keep track of each remainder.
Stop when you get a quotient that is equal to zero.
- division = quotient + remainder;
- 6 227 020 801 ÷ 2 = 3 113 510 400 + 1;
- 3 113 510 400 ÷ 2 = 1 556 755 200 + 0;
- 1 556 755 200 ÷ 2 = 778 377 600 + 0;
- 778 377 600 ÷ 2 = 389 188 800 + 0;
- 389 188 800 ÷ 2 = 194 594 400 + 0;
- 194 594 400 ÷ 2 = 97 297 200 + 0;
- 97 297 200 ÷ 2 = 48 648 600 + 0;
- 48 648 600 ÷ 2 = 24 324 300 + 0;
- 24 324 300 ÷ 2 = 12 162 150 + 0;
- 12 162 150 ÷ 2 = 6 081 075 + 0;
- 6 081 075 ÷ 2 = 3 040 537 + 1;
- 3 040 537 ÷ 2 = 1 520 268 + 1;
- 1 520 268 ÷ 2 = 760 134 + 0;
- 760 134 ÷ 2 = 380 067 + 0;
- 380 067 ÷ 2 = 190 033 + 1;
- 190 033 ÷ 2 = 95 016 + 1;
- 95 016 ÷ 2 = 47 508 + 0;
- 47 508 ÷ 2 = 23 754 + 0;
- 23 754 ÷ 2 = 11 877 + 0;
- 11 877 ÷ 2 = 5 938 + 1;
- 5 938 ÷ 2 = 2 969 + 0;
- 2 969 ÷ 2 = 1 484 + 1;
- 1 484 ÷ 2 = 742 + 0;
- 742 ÷ 2 = 371 + 0;
- 371 ÷ 2 = 185 + 1;
- 185 ÷ 2 = 92 + 1;
- 92 ÷ 2 = 46 + 0;
- 46 ÷ 2 = 23 + 0;
- 23 ÷ 2 = 11 + 1;
- 11 ÷ 2 = 5 + 1;
- 5 ÷ 2 = 2 + 1;
- 2 ÷ 2 = 1 + 0;
- 1 ÷ 2 = 0 + 1;
2. Construct the base 2 representation of the positive number:
Take all the remainders starting from the bottom of the list constructed above.
6 227 020 801(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
6 227 020 801 (base 10) = 1 0111 0011 0010 1000 1100 1100 0000 0001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.