Equivalently . The bound is named after Singleton. A code attaining it is maximum distance separable (MDS): any coordinates of a codeword determine the rest. Reed–Solomon codes are MDS for every admissible length and dimension. Over the only MDS codes are the trivial ones: the repetition codes , the single-parity-check codes and the full space .
The bound does not depend on the alphabet size, which makes it weak for small and long codes; there the Hamming bound is stronger. Its quantum counterpart, the quantum Singleton bound, reads , with twice the redundancy.