What is 255 in binary?

255 in decimal equals 11111111 in binary.

Step-by-step working

DivisionQuotientRemainder
255 ÷ 21271
127 ÷ 2631
63 ÷ 2311
31 ÷ 2151
15 ÷ 271
7 ÷ 231
3 ÷ 211
1 ÷ 201

How it works

Divide 255 by 2 repeatedly, writing down each remainder, then read the remainders from bottom to top.

Convert any value with our free decimal to binary converter — no sign-up needed.

Related conversions