Distance to mate

Also known as: DTM, Depth to mate

A metric counting the distance to forced mate when the winner hastens it and the defender delays it.

Explanation

Distance to mate, abbreviated DTM, expresses how far a position is from forced checkmate. In a , a precomputed collection that solves the covered positions for specified combinations of endgame pieces, the calculation is exhaustive. It is not an estimate produced by examining only selected continuations.

To obtain the number, the winning side tries to shorten the distance, while the defender tries to lengthen it without changing the theoretical result. DTM therefore describes the fastest mate against resistance that delays mate as long as possible.

A ply is one move by one side. Some tools report DTM in plies, while others use moves by the winning side or another documented convention. The interface's unit and sign must be checked before interpreting a number.

The DTM line is not always the most practical one. It may pursue the shortest mate without prioritizing a capture or pawn move that resets the fifty-move counter. , which targets the next reset, and , which targets a capture or promotion, or mate if it comes first, are therefore used for different goals.

Usage and context

A DTM tablebase can prove mate within its coverage, but practical use must still account for draw rules and the exact convention of the tablebase format.

Common confusions

DTM and an engine's mate announcement

Both may show a mate distance, but a tablebase exhaustively covers its endgame set, while ordinary search may be limited by time or depth.

Shortest mate and safest line

Minimizing DTM does not guarantee the best management of the fifty-move counter.

Sources

  1. 1.Endgame Tablebases, Chess Programming Wiki
  2. 2.SPACE-EFFICIENT INDEXING OF CHESS ENDGAME TABLES, ICGA Journal / SAGE

Related terms

© 2026 MindZug