How Many Possible Chess Games Are There? (The Shannon Number)
There are about 10¹²⁰ possible chess games (the Shannon number) but only about 4.8×10⁴⁴ legal positions. See where the numbers come from, move by move.
Nobody knows the exact number of possible chess games, but the classic estimate is about 10¹²⁰ (a 1 followed by 120 zeros). It is called the Shannon number, after Claude Shannon, who worked it out in 1950. The number of different legal positions is far smaller, about 4.8 × 10⁴⁴. For comparison, the observable universe is thought to hold about 10⁸⁰ atoms: fewer than the possible games, but far more than the positions.
This guide explains where those numbers come from, why "games" and "positions" are not the same thing, how fast the count grows in the first few moves (we checked those numbers ourselves with a move generator), and why the rules make the number of games finite at all. The boards are interactive.
The short answer
| What is counted | Number | Where it comes from |
|---|---|---|
| Legal first moves for White | 20 | counted |
| Possible games after one move each | 400 | counted |
| Possible games after two moves each | 197,281 | counted |
| Legal chess positions | about 4.8 × 10⁴⁴ | John Tromp, 2021 estimate |
| Atoms in the observable universe | about 10⁸⁰ | common astronomy estimate |
| Possible chess games | about 10¹²⁰ | Claude Shannon, 1950 rough estimate |
The first three rows are exact. The others are estimates, and the last one is only an order of magnitude: the real number of possible games could be much larger, as you will see below.
Counting the first moves: 20, 400, 8,902...
At the start of the game White has exactly 20 legal moves: each of the 8 pawns can move one or two squares (16 moves), and each knight can jump to two squares (4 moves). No other piece can move yet.

Black also has 20 replies to each of them, so after one move by each side there are 20 × 20 = 400 possible games. After that the pieces get out and the numbers explode. Programmers call this count perft (short for "performance test"): the number of different move sequences of a given length from a position. Chess engines use it to check that their move generator is correct.
| Half-moves (plies) | Possible games (perft) |
|---|---|
| 1 | 20 |
| 2 | 400 |
| 3 | 8,902 |
| 4 | 197,281 |
| 5 | 4,865,609 |
| 6 | 119,060,324 |
| 7 | 3,195,901,860 |
We computed depths 1 to 5 ourselves with the open-source chess.js move generator; depths 6 and 7 are the published values from the Chess Programming Wiki. So after just three moves each there are already more than 119 million possible games, and every extra half-move multiplies the count by roughly 20 to 27.
Among the 197,281 games of two moves each, exactly 8 end in checkmate. They are all versions of Fool's Mate, the fastest checkmate in chess:

Games are not positions
A game is a sequence of moves. A position is what the board looks like (plus whose turn it is, castling rights and en passant). Many different games lead to the same position. Play 1.Nf3 Nf6 2.Nc3 Nc6, or 1.Nc3 Nc6 2.Nf3 Nf6, and you get the same board by two different routes. Players call this a transposition.
That is why the number of distinct positions grows much more slowly than the number of games. After two plies every one of the 400 games still gives a different position, but after three plies the 8,902 games reach only 5,362 different positions, and after four plies the 197,281 games reach only 72,078. (We counted these too, treating two positions as the same when the pieces, the side to move, castling rights and en passant possibilities are the same.)
Over a whole game the gap becomes enormous. There are about 10⁴⁴ positions but something like 10¹²⁰ games, because almost every position can be reached in a huge number of ways.
The Shannon number: where does 10¹²⁰ come from?
In 1950 the American mathematician and engineer Claude Shannon published "Programming a Computer for Playing Chess", one of the first papers on chess computers. To show why a computer cannot simply look at every possible game, he made a quick back-of-the-envelope estimate:
- In a typical middlegame position a player has about 30 legal moves.
- So one move by White plus one reply by Black gives about 30 × 30 ≈ 10³ (1,000) possibilities.
- A typical game lasts about 40 moves by each side.
- That gives (10³)⁴⁰ = 10¹²⁰ possible games.
Shannon never claimed this was exact. It is a rough estimate of the size of the game tree for games of typical length, and that is how it is used today. In the same paper he estimated the number of positions at roughly 10⁴³. Even an impossibly fast machine, he noted, would need more than 10⁹⁰ years to choose its first move by looking at every variation. That is still true: chess is not "solved", and engines play well by searching cleverly, not by checking everything.
How many legal positions are there?
Counting positions is harder than it sounds, because a position must be reachable in a real game: no pawns on the first rank, no nine queens with all eight pawns still on the board, no king left in check by the side to move, and so on. For a long time researchers could only give upper bounds, such as about 10⁴⁶·⁷ (roughly 4.5 × 10⁴⁶).
In 2021 the computer scientist John Tromp published a much better answer. He numbered every candidate position, picked a large random sample, and checked each sampled position for legality. His estimate is about 4.8 × 10⁴⁴ legal positions, with a small margin of error. That is roughly 480 billion billion billion billion positions: huge, but tiny next to 10¹²⁰.
For comparison, the estimate usually quoted for the number of atoms in the observable universe is about 10⁸⁰. There are fewer legal chess positions than atoms, but vastly more possible games.
Why the number of games is finite
Without draw rules, a game could go on forever: both players could move their knights out and back again for as long as they liked.

Under the FIDE Laws of Chess, two rules end such loops:
- Threefold repetition and the 50-move rule (50 moves by each side with no capture and no pawn move) let a player claim a draw. But a claim is optional: if nobody claims, the game goes on.
- Since July 1, 2014, the fivefold repetition and the 75-move rule end the game in a draw automatically, even if nobody claims it.
Because of these automatic rules, every game must end after a finite number of moves, so the number of possible games is finite too. It is just far too large to write down. For more on how draws work, see our draw rules guide.
What this means for players
You will never run out of new games. Even strong players leave the well-known opening moves within the first dozen or so moves, and from then on the position is often one nobody has seen before. That is why patterns, plans and calculation matter more than memorizing moves. Endgames are the one area where computers have looked at everything: tablebases contain perfect play for every position with up to seven pieces on the board.
Want to explore some of those 10¹²⁰ games yourself? Play a game against a friend or the computer, sharpen your eye with puzzles, or start from the beginning with free chess lessons. If you like chess numbers, read how many squares are on a chessboard next.
Sources
- Claude E. Shannon, "Programming a Computer for Playing Chess", Philosophical Magazine, Ser. 7, Vol. 41, No. 314, March 1950. The 10¹²⁰ and 10⁴³ estimates.
- John Tromp, Chess Position Ranking (2021): the estimate of about 4.8 × 10⁴⁴ legal positions.
- Chess Programming Wiki, Perft Results: perft counts from the starting position, including depths 6 and 7.
- FIDE, Laws of Chess, Article 9 (threefold and fivefold repetition, 50- and 75-move rules).
- Depths 1 to 5, the 8 checkmates and the distinct-position counts were computed with chess.js and are checked in Chessyo's test suite.
Frequently asked questions
How many possible chess games are there?
Nobody knows exactly. The standard estimate is about 10¹²⁰, the Shannon number, from Claude Shannon's 1950 paper. It assumes about 1,000 possibilities for each pair of moves and a game of about 40 moves. The true number is finite because of the automatic draw rules, but it is far too large to count.
Are there more chess games than atoms in the universe?
Yes, by a huge margin. The observable universe is usually estimated to contain about 10⁸⁰ atoms, while the number of possible chess games is around 10¹²⁰. The number of legal positions, about 4.8 × 10⁴⁴, is much smaller than the number of atoms, though.
How many possible moves are there in the first move of chess?
White has 20 possible first moves: 16 pawn moves (each pawn one or two squares forward) and 4 knight moves. Black has 20 replies, so there are 400 possible games after one move by each side.
How many chess positions are possible?
John Tromp's 2021 estimate puts the number of legal chess positions at about 4.8 × 10⁴⁴. Claude Shannon's older, rougher estimate was about 10⁴³. Both count positions that can actually arise in a game.
Has chess been solved?
No. There are far too many positions for a computer to check them all, so nobody knows whether the starting position is a win for White or a draw. Only endgames with up to seven pieces have been solved completely.
Can a chess game go on forever?
No. Under the FIDE Laws, a game is drawn automatically after fivefold repetition or 75 moves by each side without a capture or pawn move. Threefold repetition and the 50-move rule also allow a draw, but only if a player claims it.
Keep learning
Related guides
- How Many Squares Are on a Chessboard? (64 or 204?) — A chessboard has 64 squares (8×8), but 204 if you count every square of every size. See the math, the 1,296 rectangles and an interactive board.
- How Can a Chess Game End in a Draw? All 5 Draw Rules — All the ways a chess game can end in a draw: stalemate, threefold repetition, the 50-move rule, insufficient material and agreement, with FIDE and USCF details.
- Fool's Mate: The Fastest Checkmate in Chess (in 2 Moves) — Fool's Mate is the fastest checkmate in chess: 1.f3 e5 2.g4 Qh4#, mate in two moves. See all 8 move orders and how to avoid it on free interactive boards.
- How Long Does a Chess Game Last? (Online, Club and Tournament) — A casual chess game lasts 10–60 minutes, online blitz about 10, and a classical tournament game 3–5 hours. Free guide with the clock math and records.
- The Rules of Chess: Complete List of Official Rules (FIDE and US Chess) — The official rules of chess in one complete list: setup, piece moves, castling, en passant, check, draws, touch-move, clocks and FIDE vs US Chess rules.
- Chess Notation: How to Read and Write Chess Moves — Learn algebraic chess notation: square names, piece letters, captures, check, castling, promotion and symbols like ! and ?, so you can read and record any game.
- Chess960 Rules: Setup and Castling Explained — Chess960 rules made simple: how the 960 starting positions are set up, how castling works when the king and rooks are shuffled, plus free games to try.
- The Wheat and Chessboard Problem: The Legend and the Math — One grain on the first square, doubled on each of 64 squares, adds up to 2^64 − 1: about 18.4 quintillion grains. See the legend, the math and the answer.