Kolmogorov complexity

Kolmogorov complexity, also called algorithmic complexity, measures the information content of an individual finite object by the length of its shortest effective description. For a binary string, it is defined relative to a universal computing machine as the length of the shortest program that outputs the string. The measure connects data compression, computation and randomness, but it is uncomputable in general.

Last updated
31 October 2026
Confidence
Moderate (80%)
Sources
4
Versions
1
This article was researched and drafted with AI assistance and checked by an automated review pass. It is not guaranteed to be accurate — verify important facts against the references below.

Definition

For a finite binary string x and a fixed universal Turing machine U, its Kolmogorov complexity K_U(x) is the length, in bits, of the shortest program p for which U outputs x. The choice of machine affects the exact value, but the invariance theorem says that the values for different universal machines differ by at most an additive constant independent of x. Consequently, comparisons for long strings are robust to the choice of a reasonable reference machine, while the constant may matter for short strings.

Description and compression

A string with a concise pattern can have a short program: for example, a long repetition of a small sequence can be generated by describing the repeated unit and its count. A string with no shorter effective description than listing its bits has complexity close to its length. Kolmogorov complexity therefore provides a theoretical measure of how much a particular object can be compressed by a general description, rather than measuring the uncertainty of a random variable as Shannon entropy does.

Uncomputability

There is no general algorithm that computes the exact Kolmogorov complexity of every finite string. A natural strategy would run possible programs and identify the shortest one that outputs the target string, but some programs never halt; there is no general procedure for deciding which programs will eventually halt. The halting problem thus prevents a complete search from certifying that a shorter description does not exist. Practical compression tools can produce descriptions, but their outputs do not in general establish the exact Kolmogorov complexity.

Connections and uses

Algorithmic information theory studies Kolmogorov complexity alongside algorithmic probability and formal notions of randomness for individual strings. In this setting, a string is regarded as algorithmically random when it has no substantially shorter effective description, subject to the chosen formal definition. These ideas support theoretical work on information, randomness, compression and induction. They should not be confused with Shannon information: the two approaches address related but distinct questions, with Shannon theory focusing on probability distributions and communication, and Kolmogorov complexity on individual objects.

Key facts

Also known as
Algorithmic complexity; Kolmogorov–Chaitin complexity
Object measured
An individual finite string or other effectively encoded object
Definition
Length of the shortest program that outputs the object on a specified universal machine
Machine dependence
Different universal machines yield values that differ by at most an additive constant independent of the object
Computability
Exact Kolmogorov complexity is uncomputable in general
Related fields
Algorithmic information theory, data compression and algorithmic randomness

Ask about this article

Answers use only “Kolmogorov complexity” and its references, with citations.

References

  1. 1.
    Algorithmic complexity

    Scholarpedia · other · reliability: unverified · retrieved 31 October 2026

    Supports: Defines Kolmogorov complexity as the shortest effective description/program for a string, explains the invariance theorem, and discusses compression and universal machines.

  2. 2.
    Algorithmic information theory

    Scholarpedia · other · reliability: unverified · retrieved 31 October 2026

    Supports: Introduces algorithmic information theory, its relationship to information and randomness, and the incomputability of its core measures.

  3. 3.
    Information

    Stanford Encyclopedia of Philosophy · other · reliability: unverified · retrieved 31 October 2026

    Supports: Distinguishes algorithmic complexity from Shannon information and discusses its definition, incomputability, machine dependence, and invariance theorem.

  4. 4.
    How Incomputable Is Kolmogorov Complexity?

    Entropy; National Library of Medicine, PubMed Central · other · reliability: unverified · retrieved 31 October 2026

    Supports: Reviews the definition of Kolmogorov complexity and explains why the halting problem makes exact complexity uncomputable in general.

References are suggested by the research engine and may be incomplete. Unverified URLs are omitted rather than guessed.

Article history

  1. Version 131 October 2026 · EditorCreated by Zapia