Vol. I a living index of named laws · est. mmxxvi no ads · no account
The Law Tomeindex of named laws

Shannon's Source Coding Theorem

also known as — The noiseless coding theorem
"You cannot losslessly compress data below its entropy."
In plain English

What does Shannon's Source Coding Theorem mean?

A data source's output can be compressed, on average, to no fewer bits per symbol than its entropy, and no lower without loss. Entropy is the fundamental floor of lossless compression: squeeze below it and information is certain to be lost. Predictable, redundant sources have low entropy and compress well; unpredictable ones have high entropy and resist compression.

Reliability

Rated Empirical: grounded in studies or measurable evidence. The other 608.

Lineage
1948COINED
How it works

How does Shannon's Source Coding Theorem work?

Entropy measures the average information content, or average surprise, of a source, computed from the probabilities of its symbols. As the block length grows, almost all sequences a source emits fall into a typical set of roughly a fixed size, and because only those carry essentially all the probability, indexing them needs about the entropy in bits per symbol. Compression can approach the entropy arbitrarily closely over long blocks, but generally cannot beat it: an optimal code's average length sits between the entropy and one bit above it.

Where you'll see it

What are examples of Shannon's Source Coding Theorem?

Why text compresses English has far less than the information of random letters (its per-character entropy is low because of redundancy), which is why compressors like gzip can shrink text substantially while random data barely budges.
Entropy coders Huffman coding and arithmetic coding are practical schemes that approach the entropy limit, arithmetic coding getting closer for skewed or small alphabets where Huffman's whole-bit granularity wastes space.
Random data is incompressible Maximum-entropy random data already sits at the limit, so no lossless scheme can shrink it on average: the reason no compressor can shrink every possible input.
Types & variants

What are the types of Shannon's Source Coding Theorem?

The noisy-channel coding theorem§

Shannon's companion result on reliable transmission over a noisy channel up to its capacity: channel coding, which protects against errors, as distinct from source coding, which removes redundancy.

Shannon entropy§

The central quantity, the average information per symbol measured in bits, which the theorem identifies as the exact limit of lossless compression.

Why it matters

Why does Shannon's Source Coding Theorem matter?

It founded information theory and gave a precise, universal answer to how far data can be compressed, defining the bit as the unit of information. Every compression scheme (for text, audio, images, and communication) is measured against the entropy limit it established, and it remains bedrock across computing and telecommunications.

Working with it

How do you apply Shannon's Source Coding Theorem?

  • Measure the floor with entropy — to know how far a source can be losslessly compressed, compute its entropy: the average bits per symbol you cannot beat.
  • Exploit redundancy — compress by removing the predictability that makes a source's entropy low, as entropy coders do.
  • Separate compression from error protection — keep source coding, which removes redundancy, distinct from channel coding, which adds redundancy to survive noise.
Where it breaks down

What are the limits of Shannon's Source Coding Theorem?

It concerns average, asymptotic lossless compression of a source with a known probabilistic model, classically a memoryless source, with extensions to stationary sources via the entropy rate. It does not bound lossy compression, which is governed by a separate rate-distortion theory. Individual messages may compress better or worse than the average; the bound is an expectation over the source distribution. And real data with dependencies is better handled by the entropy rate or, for single objects, by Kolmogorov complexity.

What it doesn't say

What are common misconceptions about Shannon's Source Coding Theorem?

It is not a promise about any single file: a particular message may compress more or less; the limit is an average over the source. And it governs lossless compression only: lossy schemes, which discard information deliberately, live under a different theory.

Is it real?

Is Shannon's Source Coding Theorem real?

Yes, as far as the evidence goes. Shannon's Source Coding Theorem is rated Empirical here: it rests on studies or measurements rather than on a saying.

Rated from three sources. 609 of the 1,116 entries carry this rating. How the scale works.

Seldom printedin printed books: one of 194 names in its band, of 903 measured
13 of 24entries in technology & networks carry the same rating

The best-known laws are the least likely to rest on measurement.

Origin

Where did Shannon's Source Coding Theorem come from?

Proved by Claude Shannon in 'A Mathematical Theory of Communication,' Bell System Technical Journal (1948), the paper that founded information theory and also gave the separate noisy-channel coding theorem.

How the name spread

When did people start saying “Shannon's Source Coding Theorem”?

1800coined 19482019
How often “Shannon 's Source Coding Theorem” appears in printed English, which takes hold around 1985 and peaks around 2019. The idea dates to 1948: the phrase took about 37 years to reach print in any quantity, which is the gap this chart measures. Source: Google Books Ngrams.
Known elsewhere as

What is Shannon's Source Coding Theorem called in other languages?

  • SpanishPrimer teorema de Shannon
  • Frenchthéorème du codage de source
  • ItalianPrimo teorema di Shannon
  • Japaneseシャノンの情報源符号化定理
  • PortugueseTeorema de codificação da fonte
  • RussianТеорема Шеннона об источнике шифрования
  • Chinese信源编码定理

7 languages, as recorded on Wikidata. These are names the idea already goes by, not translations we made. The whole index by language.

What we checked

  • 1,116entries in the tomeListed one by one on the browse page.
  • 1,116of them citing a sourceOpen any entry: its sources sit at the foot of the page.
  • 2,489source references in allEach is named, and linked wherever the source is online.