Convert 31 221 219 009 721 to Unsigned Binary (Base 2)

See below how to convert 31 221 219 009 721(10), the unsigned base 10 decimal system number to base 2 binary equivalent

What are the required steps to convert base 10 decimal system
number 31 221 219 009 721 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;
  • 31 221 219 009 721 ÷ 2 = 15 610 609 504 860 + 1;
  • 15 610 609 504 860 ÷ 2 = 7 805 304 752 430 + 0;
  • 7 805 304 752 430 ÷ 2 = 3 902 652 376 215 + 0;
  • 3 902 652 376 215 ÷ 2 = 1 951 326 188 107 + 1;
  • 1 951 326 188 107 ÷ 2 = 975 663 094 053 + 1;
  • 975 663 094 053 ÷ 2 = 487 831 547 026 + 1;
  • 487 831 547 026 ÷ 2 = 243 915 773 513 + 0;
  • 243 915 773 513 ÷ 2 = 121 957 886 756 + 1;
  • 121 957 886 756 ÷ 2 = 60 978 943 378 + 0;
  • 60 978 943 378 ÷ 2 = 30 489 471 689 + 0;
  • 30 489 471 689 ÷ 2 = 15 244 735 844 + 1;
  • 15 244 735 844 ÷ 2 = 7 622 367 922 + 0;
  • 7 622 367 922 ÷ 2 = 3 811 183 961 + 0;
  • 3 811 183 961 ÷ 2 = 1 905 591 980 + 1;
  • 1 905 591 980 ÷ 2 = 952 795 990 + 0;
  • 952 795 990 ÷ 2 = 476 397 995 + 0;
  • 476 397 995 ÷ 2 = 238 198 997 + 1;
  • 238 198 997 ÷ 2 = 119 099 498 + 1;
  • 119 099 498 ÷ 2 = 59 549 749 + 0;
  • 59 549 749 ÷ 2 = 29 774 874 + 1;
  • 29 774 874 ÷ 2 = 14 887 437 + 0;
  • 14 887 437 ÷ 2 = 7 443 718 + 1;
  • 7 443 718 ÷ 2 = 3 721 859 + 0;
  • 3 721 859 ÷ 2 = 1 860 929 + 1;
  • 1 860 929 ÷ 2 = 930 464 + 1;
  • 930 464 ÷ 2 = 465 232 + 0;
  • 465 232 ÷ 2 = 232 616 + 0;
  • 232 616 ÷ 2 = 116 308 + 0;
  • 116 308 ÷ 2 = 58 154 + 0;
  • 58 154 ÷ 2 = 29 077 + 0;
  • 29 077 ÷ 2 = 14 538 + 1;
  • 14 538 ÷ 2 = 7 269 + 0;
  • 7 269 ÷ 2 = 3 634 + 1;
  • 3 634 ÷ 2 = 1 817 + 0;
  • 1 817 ÷ 2 = 908 + 1;
  • 908 ÷ 2 = 454 + 0;
  • 454 ÷ 2 = 227 + 0;
  • 227 ÷ 2 = 113 + 1;
  • 113 ÷ 2 = 56 + 1;
  • 56 ÷ 2 = 28 + 0;
  • 28 ÷ 2 = 14 + 0;
  • 14 ÷ 2 = 7 + 0;
  • 7 ÷ 2 = 3 + 1;
  • 3 ÷ 2 = 1 + 1;
  • 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.

31 221 219 009 721(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:

31 221 219 009 721 (base 10) = 1 1100 0110 0101 0100 0001 1010 1011 0010 0100 1011 1001 (base 2)

Spaces were used to group digits: for binary, by 4, for decimal, by 3.

How to convert unsigned integer numbers (positive) from decimal system (base 10) to binary = simply convert from base 10 to base 2

Follow the steps below to convert a base ten unsigned integer number to base two:

  • 1. Divide repeatedly by 2 the positive integer number that has to be converted to binary, keeping track of each remainder, until we get a QUOTIENT that is equal to ZERO.
  • 2. Construct the base 2 representation of the positive integer number, by taking all the remainders starting from the bottom of the list constructed above. Thus, the last remainder of the divisions becomes the first symbol (the leftmost) of the base two number, while the first remainder becomes the last symbol (the rightmost).

Example: convert the positive integer number 55 from decimal system (base ten) to binary code (base two):

  • 1. Divide repeatedly 55 by 2, keeping track of each remainder, until we get a quotient that is equal to zero:
    • division = quotient + remainder;
    • 55 ÷ 2 = 27 + 1;
    • 27 ÷ 2 = 13 + 1;
    • 13 ÷ 2 = 6 + 1;
    • 6 ÷ 2 = 3 + 0;
    • 3 ÷ 2 = 1 + 1;
    • 1 ÷ 2 = 0 + 1;
  • 2. Construct the base 2 representation of the positive integer number, by taking all the remainders starting from the bottom of the list constructed above:
  • 55(10) = 11 0111(2)
  • Number 5510, positive integer (no sign), converted from decimal system (base 10) to unsigned binary (base 2) = 11 0111(2)
}?>