All terms in the glossary

Tablebase

EndgameFor experts

An endgame tablebase contains every position with only a few pieces fully worked out, today up to seven pieces, counting the kings. It shows without error whether a position is won, drawn or lost and which moves keep that result.

Example: If you ask a tablebase about the position with the white king on e5, a white pawn on e4 and the black king on e7, it answers: with White to move it is a draw, with Black to move White wins. That is exactly what the opposition explains.

An endgame tablebase is a huge table that a computer has worked out in advance. For every position with only a few pieces, it records how the game ends with best play. You will often hear the short word tablebase.

For you it is a tool to verify things: you can look up whether an endgame position is won, drawn or lost and which moves keep that result. But it does not tell you why.

How a tablebase is built

The computer works backwards. It starts with all the mate positions and then asks: from which positions can mate be forced in one move? From which in two moves? In this way it works step by step through all positions with these pieces.

Every extra piece means very many more positions. That is why tablebases are limited to a few pieces. Today they exist in complete form for all positions with up to seven pieces, counting the kings.

What it tells you

For each position it gives the result from the point of view of the side to move: win, draw or loss. For each possible move it shows what comes out afterwards. So you see at once which move keeps the win and which one throws it away.

Many tablebases also give a distance: how many moves it takes until mate, or until the next pawn move or capture. The widely used Syzygy tablebases take the fifty-move rule into account and show when a win would only work without this rule.

How to use it for learning

After the game, enter an endgame position from your game and compare move by move. Where did the result change? That is where a mistake was made, by you or by your opponent.

Then look for the idea behind the right move: was it about the opposition, a key square or building a bridge? Only when you know the idea will you find the move in a new position too.

This course also verifies its endgame positions with a tablebase when they have at most seven pieces. When a text says such a position is won or drawn, that agrees with the tablebase.

Limits and rules

With more than seven pieces the tablebase cannot help. Then chess engines assess the position by calculating ahead, and such assessments can be wrong.

During a tournament game you may not use a tablebase or any other aid. The FIDE rules forbid notes, sources of information and advice during the game (Article 11.3).

Some moves that a tablebase suggests look strange, because it shows the shortest way to the goal. What counts for you is a safe way that you understand, even if it takes a few moves longer.

Common mistakes

  • Learning the tablebase move by heart without understanding the idea behind it.
  • Overlooking that some tablebases ignore the fifty-move rule. If a win takes too long, your opponent can claim a draw at the board.
  • Confusing an engine’s assessment with the verdict of a tablebase. Only the tablebase is certainly right for its positions.

In these lessons

No lesson covers this term yet.

You can also search for:endgame tablebase · tablebases · endgame tablebases · Syzygy · Syzygy tablebase · endgame database