Unsigned: Integer ↗ Binary: 12 345 678 912 345 678 912 Convert the Positive Integer (Whole Number) From Base Ten (10) To Base Two (2), Conversion and Writing of Decimal System Number as Unsigned Binary Code

Unsigned (positive) integer number 12 345 678 912 345 678 912(10)
converted and written as an unsigned binary (base 2) = ?

1. Divide the number repeatedly by 2:

Keep track of each remainder.

We stop when we get a quotient that is equal to zero.

  • division = quotient + remainder;
  • 12 345 678 912 345 678 912 ÷ 2 = 6 172 839 456 172 839 456 + 0;
  • 6 172 839 456 172 839 456 ÷ 2 = 3 086 419 728 086 419 728 + 0;
  • 3 086 419 728 086 419 728 ÷ 2 = 1 543 209 864 043 209 864 + 0;
  • 1 543 209 864 043 209 864 ÷ 2 = 771 604 932 021 604 932 + 0;
  • 771 604 932 021 604 932 ÷ 2 = 385 802 466 010 802 466 + 0;
  • 385 802 466 010 802 466 ÷ 2 = 192 901 233 005 401 233 + 0;
  • 192 901 233 005 401 233 ÷ 2 = 96 450 616 502 700 616 + 1;
  • 96 450 616 502 700 616 ÷ 2 = 48 225 308 251 350 308 + 0;
  • 48 225 308 251 350 308 ÷ 2 = 24 112 654 125 675 154 + 0;
  • 24 112 654 125 675 154 ÷ 2 = 12 056 327 062 837 577 + 0;
  • 12 056 327 062 837 577 ÷ 2 = 6 028 163 531 418 788 + 1;
  • 6 028 163 531 418 788 ÷ 2 = 3 014 081 765 709 394 + 0;
  • 3 014 081 765 709 394 ÷ 2 = 1 507 040 882 854 697 + 0;
  • 1 507 040 882 854 697 ÷ 2 = 753 520 441 427 348 + 1;
  • 753 520 441 427 348 ÷ 2 = 376 760 220 713 674 + 0;
  • 376 760 220 713 674 ÷ 2 = 188 380 110 356 837 + 0;
  • 188 380 110 356 837 ÷ 2 = 94 190 055 178 418 + 1;
  • 94 190 055 178 418 ÷ 2 = 47 095 027 589 209 + 0;
  • 47 095 027 589 209 ÷ 2 = 23 547 513 794 604 + 1;
  • 23 547 513 794 604 ÷ 2 = 11 773 756 897 302 + 0;
  • 11 773 756 897 302 ÷ 2 = 5 886 878 448 651 + 0;
  • 5 886 878 448 651 ÷ 2 = 2 943 439 224 325 + 1;
  • 2 943 439 224 325 ÷ 2 = 1 471 719 612 162 + 1;
  • 1 471 719 612 162 ÷ 2 = 735 859 806 081 + 0;
  • 735 859 806 081 ÷ 2 = 367 929 903 040 + 1;
  • 367 929 903 040 ÷ 2 = 183 964 951 520 + 0;
  • 183 964 951 520 ÷ 2 = 91 982 475 760 + 0;
  • 91 982 475 760 ÷ 2 = 45 991 237 880 + 0;
  • 45 991 237 880 ÷ 2 = 22 995 618 940 + 0;
  • 22 995 618 940 ÷ 2 = 11 497 809 470 + 0;
  • 11 497 809 470 ÷ 2 = 5 748 904 735 + 0;
  • 5 748 904 735 ÷ 2 = 2 874 452 367 + 1;
  • 2 874 452 367 ÷ 2 = 1 437 226 183 + 1;
  • 1 437 226 183 ÷ 2 = 718 613 091 + 1;
  • 718 613 091 ÷ 2 = 359 306 545 + 1;
  • 359 306 545 ÷ 2 = 179 653 272 + 1;
  • 179 653 272 ÷ 2 = 89 826 636 + 0;
  • 89 826 636 ÷ 2 = 44 913 318 + 0;
  • 44 913 318 ÷ 2 = 22 456 659 + 0;
  • 22 456 659 ÷ 2 = 11 228 329 + 1;
  • 11 228 329 ÷ 2 = 5 614 164 + 1;
  • 5 614 164 ÷ 2 = 2 807 082 + 0;
  • 2 807 082 ÷ 2 = 1 403 541 + 0;
  • 1 403 541 ÷ 2 = 701 770 + 1;
  • 701 770 ÷ 2 = 350 885 + 0;
  • 350 885 ÷ 2 = 175 442 + 1;
  • 175 442 ÷ 2 = 87 721 + 0;
  • 87 721 ÷ 2 = 43 860 + 1;
  • 43 860 ÷ 2 = 21 930 + 0;
  • 21 930 ÷ 2 = 10 965 + 0;
  • 10 965 ÷ 2 = 5 482 + 1;
  • 5 482 ÷ 2 = 2 741 + 0;
  • 2 741 ÷ 2 = 1 370 + 1;
  • 1 370 ÷ 2 = 685 + 0;
  • 685 ÷ 2 = 342 + 1;
  • 342 ÷ 2 = 171 + 0;
  • 171 ÷ 2 = 85 + 1;
  • 85 ÷ 2 = 42 + 1;
  • 42 ÷ 2 = 21 + 0;
  • 21 ÷ 2 = 10 + 1;
  • 10 ÷ 2 = 5 + 0;
  • 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.


Number 12 345 678 912 345 678 912(10), a positive integer number (with no sign),
converted from decimal system (from base 10)
and written as an unsigned binary (in base 2):

12 345 678 912 345 678 912(10) = 1010 1011 0101 0100 1010 1001 1000 1111 1000 0001 0110 0101 0010 0100 0100 0000(2)

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

The latest positive (unsigned) integer numbers converted from decimal system (written in base ten) to unsigned binary (written in base two)

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

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)