All Chess Positions
EN
Open the map

C65Opening

Ruy Lopez:Berlin Defense

1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6

a8b7c6d5e4f3g2h1

White to move

Legal moves
32
Games in the next 4 moves
842,304
Different positions among them
287,278
Named lines from here
37

See it on the mapOn the opening map

An old defence made famous by Vladimir Kramnik, who used it to take the world title from Garry Kasparov in 2000. Its quiet endgame lines earned it the nickname “the Berlin Wall”.

It is reached after 6 moves: 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6. It is a line of the Ruy Lopez.

White is to move and has 32 legal moves. Over the next four moves — two for each side — the game can branch into 842,304 different games. Those games reach 287,278 different positions: most positions can be reached in more than one way, 2.9 on average.

The Lichess opening list names 37 further lines after this position, such as Anti-Berlin Variation (4. d3) and Halloween Attack (4. Nxe5).

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

Map of every game of the next four moves after the Ruy Lopez: Berlin Defense
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 842,304 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 32. Its best line: 4. O-O Nxe4 5. d4 Nd6 6. Bxc6 dxc6 7. dxe5 Nf5.

ReplyNameScore
4. O-O
engine’s choice
Berlin Defense+0.19
4. d3Anti-Berlin Variation+0.18
4. d4—−0.01
4. Nxe5Halloween Attack−3.79

Scores are from White’s point of view, in pawns: + means White is better. The other replies are scored with 2 million nodes each, the engine’s choice with the 5 million of the position above, 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
  6. 3... Nf6Ruy Lopez: Berlin Defense

Named lines from here

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

r1bqkb1r/pppp1ppp/2n2n2/1B2p3/4P3/5N2/PPPP1PPP/RNBQK2R w KQkq - 4 4