We use cookies
We use cookies and similar technologies to improve your experience, analyze traffic, and serve relevant ads. You can accept all cookies or decline non-essential ones.
Convert numbers between binary, octal, decimal, and hexadecimal instantly
Decimal 255 = Binary 11111111 = Octal 377 = Hex FF. This is the maximum value that fits in a single unsigned byte (8 bits).
Decimal 42 = Binary 101010 = Octal 52 = Hex 2A. A neat alternating pattern in binary.
Binary 10101010 = Decimal 170 = Octal 252 = Hex AA. A common test pattern in networking and hardware testing.
Computers operate using binary (base 2) because digital circuits have two states: on (1) and off (0). All data — numbers, text, images, programs — is ultimately stored and processed as sequences of binary digits (bits).
Hexadecimal (base 16) is a compact way to represent binary data. Each hex digit corresponds to exactly 4 binary digits, making it easy to read memory addresses, color codes (#FF0000), and byte values.
Octal (base 8) is commonly used in Unix/Linux file permissions (e.g., chmod 755). Each octal digit represents 3 binary bits, mapping neatly to read/write/execute permission flags.