Polybius square
A character code represented by two sets of six lit torches, used to send messages character by character, in a two point visual fire telegraph. The character code is generated by encoding characters in a grid, where each character generates two numbers, uniquely representing each character as a pair of numbers.
Polybius square: grid-based number encoding for telegraph signals
A Polybius square is a 6 by 6 grid of characters (36 total) where each cell's position is defined by its row and column number, both counted 1 to 6. To encode a letter or character, you identify its row number and column number; these two numbers form a code pair that uniquely identifies that character. In classical fire telegraph systems, the row number was signaled first by flashing a torch that many times, then the column number was signaled the same way, allowing an operator at a distant station to look up the character in an identical grid and write down the message.
The grid layout varies depending on language and era. A common arrangement for English omits the letter J (using I for both I and J, or merging them in the grid) to fit 26 letters into 30 of the 36 cells, leaving space for numerals, punctuation, or special control characters. The remaining cells either stay blank or hold frequently-used symbols. This trade-off between character range and encoding length was central to the system's design.
Signal Method and Practical Use
The telegraph operator held two torches or flames visible to the distant receiver. To send the letter at row 3, column 2, the operator would flash the first torch three times (row), pause, then flash the second torch twice (column). The receiving operator counted the flashes, consulted their own grid, and recorded the character. Because each character requires two separate flash sequences, transmission is relatively slow compared to later electrical telegraph codes, but the system is robust: a missed count is obvious because the numbers fall outside the 1-6 range.
The Polybius square predates electrical telegraphy by centuries; ancient sources credit the method to Polybius, a Greek historian of the second century BC, who described the system for military signaling. When fire-beacon and torch-based long-distance communication was gradually replaced by electrical telegraph in the 19th century, the underlying grid principle survived and influenced the design of electrical codes, though electrical systems eventually adopted Morse code and other variable-length binary schemes for greater efficiency.
In modern electrical engineering, the Polybius square is primarily a historical reference point and pedagogical tool for understanding how character encoding works. It demonstrates that any finite set of symbols can be mapped to numbers, and that numbers can be transmitted as sequences of discrete signals. This principle underlies all digital communication, from early telephone switching systems to contemporary data transmission, making the Polybius square a conceptual ancestor to binary encoding and character tables like ASCII.