All Chess Positions
EN
Open the map

C60Opening

Ruy Lopez

1. e4 e5 2. Nf3 Nc6 3. Bb5

a8b7c6d5e4f3g2h1

Black to move

Legal moves
30
Games in the next 4 moves
908,001
Different positions among them
305,279
Named lines from here
234

See it on the mapOn the opening map

Named after the Spanish priest Ruy López de Segura, who analysed it in his book of 1561. Also called the Spanish Game, it has been one of the main battlegrounds of top-level chess for more than 150 years.

It is reached after 5 moves: 1. e4 e5 2. Nf3 Nc6 3. Bb5.

Black is to move and has 30 legal moves. Over the next four moves — two for each side — the game can branch into 908,001 different games. Those games reach 305,279 different positions: most positions can be reached in more than one way, 3 on average.

The Lichess opening list names 234 further lines after this position, such as Morphy Defense (3... a6) and Berlin Defense (3... Nf6).

The same moves can be played in 6 different legal orders that all reach this position. For example 1. Nf3 e5 2. e4 Nc6 3. Bb5, which starts as the Zukertort Opening.

Map of every game of the next four moves after the Ruy Lopez
Every game of the next four moves from this position, as the map draws it. Each ring is one more move; the outer ring holds all 908,001 games.

What Stockfish says

Stockfish 19 scores this position at +0.19 for White: the game is level. The search looked at 5 million positions (nodes) and reached depth 31. Its best line: 3... Nf6 4. O-O Nxe4 5. Re1 Nd6 6. Nxe5 Be7 7. Bf1.

ReplyNameScore
3... Nf6
engine’s choice
Berlin Defense+0.19
3... a6Morphy Defense+0.32
3... f5Schliemann Defense+0.63
3... Bc5Classical Variation+0.44

Scores are from White’s point of view, in pawns: + means White is better. Every reply is scored with a search of 5 million nodes, so differences under about 0.3 are within the engine’s noise.

Move by move

  1. 1. e4King's Pawn Game
  2. 1... e5King's Pawn Game
  3. 2. Nf3King's Knight Opening
  4. 2... Nc6King's Knight Opening: Normal Variation
  5. 3. Bb5Ruy Lopez

Named lines from here

…and 2 more on the map.

Related openings

Chess by the numbers

How many chess positions are there?About 4.8 × 10⁴⁴ in all — and why far fewer positions than games appear early on. How many possible chess games are there?From 20 after one move to two sextillion after fifteen, and why whole games are beyond counting. Is chess solved?No. What computers have solved, what they have not, and why.

FEN

r1bqkbnr/pppp1ppp/2n5/1B2p3/4P3/5N2/PPPP1PPP/RNBQK2R b KQkq - 3 3