You've asked to convert 255 to base 2 (binary notation)

We iteratively divide by 2. Depending on whether the division has a remainder we add a 1 (remainder) or a 0 (no remainder) to the left of the binary number we generate.

We start with the number in base 10 you provided:

255
255:2=127, and the remainder is 1.
So we add a 1 to the left of our binary number: 1

127:2=63, and the remainder is 1.
So we add a 1 to the left of our binary number: 11

63:2=31, and the remainder is 1.
So we add a 1 to the left of our binary number: 111

31:2=15, and the remainder is 1.
So we add a 1 to the left of our binary number: 1111

15:2=7, and the remainder is 1.
So we add a 1 to the left of our binary number: 11111

7:2=3, and the remainder is 1.
So we add a 1 to the left of our binary number: 111111

3:2=1, and the remainder is 1.
So we add a 1 to the left of our binary number: 1111111

1:2=0, and the remainder is 1.
So we add a 1 to the left of our binary number: 11111111

The remaining fraction is zero, so we stop dividing.

255 (base10) -> 11111111 (base2)


Enter new base 10 number:


Check here why 11111111 is a base 2 representation of 255