Tablebase

Three-piece tablebase

Every position with a king and one piece against a lone king, worked out exactly: who wins, how fast, and how.

Drag a piece to a new square, or tap it and then tap where it should go.

White to move
draw
Black to move
White wins — promotes in 6 moves

    Share this position: /tablebase?m=kpk&wk=e5&bk=e7&p=e4&pc=w&stm=w

    How it works

    With only three pieces on the board, every position can be worked out exactly, backwards from the end: CaissaHub computes the whole table for each ending itself. A win means the pawn promotes safely (KPK) or the lone king is mated (KQK, KRK). A bishop or a knight alone can never mate, so those endings are always drawn.

    Pick up a piece and put it anywhere to see the new result at once. Show the winning, losing or drawing moves as arrows, or step through best play: the stronger side takes the fastest win, the defender holds out longest. To learn the ideas behind these endings, see the endgames.

    Something went wrong, and it has been reported to us. Reload the page 🗙