Binary Calculator
Convert between decimal, binary, hexadecimal, and octal. Perform bitwise operations.
Conversion Results
Decimal
255
Binary
11111111
Hexadecimal
FF
Octal
377
Signed (8-bit): -1
Bit Visualization
1
27
1
26
1
25
1
24
1
23
1
22
1
21
1
20
Sum: 255
Reference Tables
Common Values
255 = FF = 11111111
16 = 10 = 10000
8 = 8 = 1000
2 = 2 = 10
Bitwise Operations
AND: 1 if both 1
OR: 1 if either 1
XOR: 1 if different
NOT: invert bits
Prefixes
0b = binary (0b1010)
0x = hex (0xFF)
0o = octal (0o377)
No prefix = decimal
Developer Uses
IP Addresses: Convert subnet masks
Colors: RGB hex to binary
Flags: Bit flags and permissions
Debug: Memory addresses, registers