IT lexicon › Networking › 4B/5B encoding

4B/5B encoding

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

The line code that swaps every four-bit group for a five-bit code word, chosen so the signal never goes quiet long enough for the receiver to lose the beat.

Of the 32 possible five-bit words, 16 carry data, picked so there are never more than three zeros in a row. Combined with NRZI, where a one means a transition, that is enough for the receiver to recover the clock. Some of the leftover words became control symbols: start and end delimiters for frames and an idle pattern that keeps the link alive between them.

The code arrived with FDDI in the 1980s and was borrowed in 1995 by 100BASE-TX, which pairs it with the three-level MLT-3 signal. The overhead is 25 percent — 100 Mbit/s becomes 125 million symbols per second — which was still half the price of Manchester encoding.

← Back to the lexicon