Positional Number Systems: Radix 2, 8, 10, and 16
Modern computers perform all arithmetic in base 2 (binary) because digital transistors operate in two distinct voltage states (on/off, 1/0). Because raw binary strings are difficult for human engineers to read, developers use octal (base 8, grouping 3 bits) and hexadecimal (base 16, grouping 4 bits or 1 nibble). Exactly two hexadecimal digits represent one 8-bit byte (0x00 to 0xFF = 0 to 255), making hex the universal format for memory addresses, color codes, and network packet headers.