GCSE
GCSE (Foundation)GCSE (Higher)
A-level
IB
IB AA (Standard Level)IB AA (Higher Level)
1-1 Tutoring
← All articles

How many possible games of chess are there?

A one followed by 120 zeros. That is the famous estimate for the number of possible games of chess — the Shannon number, roughly 1012010^{120}. For comparison, the observable universe contains only about 108010^{80} atoms. The estimate comes from Claude Shannon's 1950 paper Programming a Computer for Playing Chess [1] — the founding paper of computer chess, written before any computer could actually play. In this paper we will recreate Shannon's back-of-the-envelope calculation for ourselves. All we need is one idea: repeated branching means repeated multiplication, which means powers.

Shannon was not trying to count games for fun. He wanted to show that the "obvious" strategy — make a computer examine every possible continuation and pick the best one — was hopeless, so a chess computer would need something cleverer (what we now call evaluation and search heuristics). To make that case, he only needed the number's rough size, which is why the whole derivation fits in three lines.

Multiplying thirty moves at a time

The key observation is that chess is a branching tree. From any position you can play several moves; from each resulting position your opponent can play several replies; and so on. Every extra move multiplies the number of possible games.

  1. In a typical middle-game position, a player has about 3030 legal moves to choose from.

  2. Consider one full move-pair — White moves, then Black replies. That gives about 30×30=90010330 \times 30 = 900 \approx 10^3 continuations per move-pair.

  3. A typical game lasts around 4040 move-pairs. Stacking 4040 rounds of thousand-fold branching gives:

(103)40=10120\left(10^{3}\right)^{40} = 10^{120}

A game tree branching with about 30 legal moves per position, giving roughly 1,000 continuations per full move

Being honest about the rounding: if we keep 900900 instead of promoting it to 1,0001{,}000, we get 900401.5×10118900^{40} \approx 1.5 \times 10^{118}. Shannon knew this — his figure was always an order-of-magnitude estimate, and whether the true value is 1011810^{118} or 1012010^{120} changes nothing about the conclusion.

Bigger than the universe can count

The standard astronomical estimate is that the observable universe contains about 108010^{80} atoms — physicists have been making estimates of this size since Arthur Eddington in the 1930s [2]. Dividing:

101201080=1040\frac{10^{120}}{10^{80}} = 10^{40}

For every atom in the observable universe, there are ten thousand trillion trillion trillion chess games. Let us push the thought experiment to breaking point. Turn every atom into a computer, let each one check a trillion (101210^{12}) games per second, and run them since the Big Bang (4.4×10174.4 \times 10^{17} seconds — see our derivation of the age of the universe):

1080×1012×4.4×10174.4×10109 games checked10^{80} \times 10^{12} \times 4.4 \times 10^{17} \approx 4.4 \times 10^{109} \text{ games checked}

That is still short by a factor of about 2×10102 \times 10^{10} — twenty billion times too few. Even the number of ways to shuffle a deck of cards, an already-absurd 8×10678 \times 10^{67}, is a rounding error next to the Shannon number.

Games are not positions

Chess offers roughly 1012010^{120} possible games — a number we recreated with one multiplication repeated 4040 times. Two honest caveats. First, this counts sensible games of typical length; deliberately long legal games push the count far higher, so 1012010^{120} is a lower-bound flavour of estimate. Second, games are not positions: many different games reach the same position, and Shannon himself estimated only around 104310^{43} distinct positions [1], with modern computations placing the number of legal positions near 4.8×10444.8 \times 10^{44} [3]. That smaller number is the one that matters for "solving" chess — and it is still so large that, seventy-five years after Shannon's paper, chess remains unsolved. His point stands: no computer will ever brute-force chess. It has to be clever instead.


References:

[1] Claude E. Shannon, "Programming a Computer for Playing Chess", Philosophical Magazine, Ser. 7, Vol. 41, No. 314 (1950).

[2] Arthur S. Eddington, The Philosophy of Physical Science (Cambridge University Press, 1939).

[3] John Tromp, "Chess Position Ranking", github.com/tromp/ChessPositionRanking

Note: The Shannon number estimates games of typical length between reasonable players; it is an order-of-magnitude argument, not an exact count.