Convert 499 999 999 999 999 542 to Unsigned Binary (Base 2)

See below how to convert 499 999 999 999 999 542(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 499 999 999 999 999 542 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;
  • 499 999 999 999 999 542 ÷ 2 = 249 999 999 999 999 771 + 0;
  • 249 999 999 999 999 771 ÷ 2 = 124 999 999 999 999 885 + 1;
  • 124 999 999 999 999 885 ÷ 2 = 62 499 999 999 999 942 + 1;
  • 62 499 999 999 999 942 ÷ 2 = 31 249 999 999 999 971 + 0;
  • 31 249 999 999 999 971 ÷ 2 = 15 624 999 999 999 985 + 1;
  • 15 624 999 999 999 985 ÷ 2 = 7 812 499 999 999 992 + 1;
  • 7 812 499 999 999 992 ÷ 2 = 3 906 249 999 999 996 + 0;
  • 3 906 249 999 999 996 ÷ 2 = 1 953 124 999 999 998 + 0;
  • 1 953 124 999 999 998 ÷ 2 = 976 562 499 999 999 + 0;
  • 976 562 499 999 999 ÷ 2 = 488 281 249 999 999 + 1;
  • 488 281 249 999 999 ÷ 2 = 244 140 624 999 999 + 1;
  • 244 140 624 999 999 ÷ 2 = 122 070 312 499 999 + 1;
  • 122 070 312 499 999 ÷ 2 = 61 035 156 249 999 + 1;
  • 61 035 156 249 999 ÷ 2 = 30 517 578 124 999 + 1;
  • 30 517 578 124 999 ÷ 2 = 15 258 789 062 499 + 1;
  • 15 258 789 062 499 ÷ 2 = 7 629 394 531 249 + 1;
  • 7 629 394 531 249 ÷ 2 = 3 814 697 265 624 + 1;
  • 3 814 697 265 624 ÷ 2 = 1 907 348 632 812 + 0;
  • 1 907 348 632 812 ÷ 2 = 953 674 316 406 + 0;
  • 953 674 316 406 ÷ 2 = 476 837 158 203 + 0;
  • 476 837 158 203 ÷ 2 = 238 418 579 101 + 1;
  • 238 418 579 101 ÷ 2 = 119 209 289 550 + 1;
  • 119 209 289 550 ÷ 2 = 59 604 644 775 + 0;
  • 59 604 644 775 ÷ 2 = 29 802 322 387 + 1;
  • 29 802 322 387 ÷ 2 = 14 901 161 193 + 1;
  • 14 901 161 193 ÷ 2 = 7 450 580 596 + 1;
  • 7 450 580 596 ÷ 2 = 3 725 290 298 + 0;
  • 3 725 290 298 ÷ 2 = 1 862 645 149 + 0;
  • 1 862 645 149 ÷ 2 = 931 322 574 + 1;
  • 931 322 574 ÷ 2 = 465 661 287 + 0;
  • 465 661 287 ÷ 2 = 232 830 643 + 1;
  • 232 830 643 ÷ 2 = 116 415 321 + 1;
  • 116 415 321 ÷ 2 = 58 207 660 + 1;
  • 58 207 660 ÷ 2 = 29 103 830 + 0;
  • 29 103 830 ÷ 2 = 14 551 915 + 0;
  • 14 551 915 ÷ 2 = 7 275 957 + 1;
  • 7 275 957 ÷ 2 = 3 637 978 + 1;
  • 3 637 978 ÷ 2 = 1 818 989 + 0;
  • 1 818 989 ÷ 2 = 909 494 + 1;
  • 909 494 ÷ 2 = 454 747 + 0;
  • 454 747 ÷ 2 = 227 373 + 1;
  • 227 373 ÷ 2 = 113 686 + 1;
  • 113 686 ÷ 2 = 56 843 + 0;
  • 56 843 ÷ 2 = 28 421 + 1;
  • 28 421 ÷ 2 = 14 210 + 1;
  • 14 210 ÷ 2 = 7 105 + 0;
  • 7 105 ÷ 2 = 3 552 + 1;
  • 3 552 ÷ 2 = 1 776 + 0;
  • 1 776 ÷ 2 = 888 + 0;
  • 888 ÷ 2 = 444 + 0;
  • 444 ÷ 2 = 222 + 0;
  • 222 ÷ 2 = 111 + 0;
  • 111 ÷ 2 = 55 + 1;
  • 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 number:

Take all the remainders starting from the bottom of the list constructed above.

499 999 999 999 999 542(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:

499 999 999 999 999 542 (base 10) = 110 1111 0000 0101 1011 0101 1001 1101 0011 1011 0001 1111 1110 0011 0110 (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)