Endgame study

Exact endgame tablebase

Check the result with best play. Load one of the local examples or enter a position with up to seven pieces and no castling rights.

Online lookup sends the FEN to the Lichess tablebase. It does not send your The Studio Chess account details.

Read the answer

The main result is for the player about to move. Under each legal continuation, the listed result is for the opponent who moves next. A win and a loss can describe the same continuation from the two different sides.

DTZ is the distance, in half-moves, to the next pawn move, capture or mate in the tablebase line. It uses a sign for the side-to-move outcome and can encode fifty-move-rule cases. Use the result label first. DTZ is not the distance to checkmate.

Lichess tablebase source and response format