IT lexicon › Networking › 8b/10b encoding

8b/10b encoding

Networking På svenska → Updated: 2026-11-07

The line code that turns each byte into a ten-bit symbol, giving serial links enough transitions and an even balance of ones and zeros.

Al Widmer and Peter Franaszek of IBM published it in 1983. No ten-bit symbol contains more than six of the same bit, and the encoder picks between two versions of each symbol to keep the running difference between ones and zeros — the disparity — close to zero. Never more than five identical bits in a row means the receiver's clock recovery always has an edge to grab. A handful of control symbols, chiefly K28.5 with its unmistakable bit pattern, let the receiver find word boundaries in an unframed stream.

It became the standard in Fibre Channel, gigabit over fibre (1000BASE-X), PCIe 1 and 2, SATA, USB 3.0 and DisplayPort. The cost is a quarter of the raw bandwidth, which was acceptable until bandwidth got expensive. 10 Gigabit Ethernet moved to 64b/66b and PCIe 3.0 to 128b/130b, shrinking the overhead below two percent.

← Back to the lexicon