11111111 in Decimal
Binary 11111111 equals 255 in decimal.
Why this number matters: 255 is the maximum value of an unsigned byte (8 bits, 0xFF) and the highest value of each RGB color channel.
11111111 in all number bases
Decimal255
Hexadecimal0xFF
Binary1111 1111
Octal377
Try another value
Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.
Input base:
Decimal
255Hex
0xFFBinary
0b11111111Octal
0o377How 11111111 converts from binary to decimal
Multiply each digit by 2 raised to its position (starting at 0 from the right), then add the results:
1× 27 = 1 × 128 = 128
1× 26 = 1 × 64 = 64
1× 25 = 1 × 32 = 32
1× 24 = 1 × 16 = 16
1× 23 = 1 × 8 = 8
1× 22 = 1 × 4 = 4
1× 21 = 1 × 2 = 2
1× 20 = 1 × 1 = 1
Sum: 255
This tool runs entirely in your browser - nothing you enter is uploaded or stored.