**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