Convert 255 255 128 790 to Unsigned Binary (Base 2)

See below how to convert 255 255 128 790(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 255 255 128 790 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;
  • 255 255 128 790 ÷ 2 = 127 627 564 395 + 0;
  • 127 627 564 395 ÷ 2 = 63 813 782 197 + 1;
  • 63 813 782 197 ÷ 2 = 31 906 891 098 + 1;
  • 31 906 891 098 ÷ 2 = 15 953 445 549 + 0;
  • 15 953 445 549 ÷ 2 = 7 976 722 774 + 1;
  • 7 976 722 774 ÷ 2 = 3 988 361 387 + 0;
  • 3 988 361 387 ÷ 2 = 1 994 180 693 + 1;
  • 1 994 180 693 ÷ 2 = 997 090 346 + 1;
  • 997 090 346 ÷ 2 = 498 545 173 + 0;
  • 498 545 173 ÷ 2 = 249 272 586 + 1;
  • 249 272 586 ÷ 2 = 124 636 293 + 0;
  • 124 636 293 ÷ 2 = 62 318 146 + 1;
  • 62 318 146 ÷ 2 = 31 159 073 + 0;
  • 31 159 073 ÷ 2 = 15 579 536 + 1;
  • 15 579 536 ÷ 2 = 7 789 768 + 0;
  • 7 789 768 ÷ 2 = 3 894 884 + 0;
  • 3 894 884 ÷ 2 = 1 947 442 + 0;
  • 1 947 442 ÷ 2 = 973 721 + 0;
  • 973 721 ÷ 2 = 486 860 + 1;
  • 486 860 ÷ 2 = 243 430 + 0;
  • 243 430 ÷ 2 = 121 715 + 0;
  • 121 715 ÷ 2 = 60 857 + 1;
  • 60 857 ÷ 2 = 30 428 + 1;
  • 30 428 ÷ 2 = 15 214 + 0;
  • 15 214 ÷ 2 = 7 607 + 0;
  • 7 607 ÷ 2 = 3 803 + 1;
  • 3 803 ÷ 2 = 1 901 + 1;
  • 1 901 ÷ 2 = 950 + 1;
  • 950 ÷ 2 = 475 + 0;
  • 475 ÷ 2 = 237 + 1;
  • 237 ÷ 2 = 118 + 1;
  • 118 ÷ 2 = 59 + 0;
  • 59 ÷ 2 = 29 + 1;
  • 29 ÷ 2 = 14 + 1;
  • 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.

255 255 128 790(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:

255 255 128 790 (base 10) = 11 1011 0110 1110 0110 0100 0010 1010 1101 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)