Distance to zero

Also known as: DTZ, Distance to zeroing, Depth to zeroing

A precomputed endgame metric measuring the distance to mate or to the next move that resets the fifty-move counter.

This page is temporarily shown in English. Complete localization will be added in a later stage.

Explanation

Distance to zero, abbreviated DTZ, is a metric stored by a , a precomputed collection that knows the correct result of the endings it covers. DTZ measures how far a position is from mate or from a move that resets the halfmove counter to zero. The counter records how many single-side moves, called plies, have occurred since the last move that reset it.

Moves that reset the counter

  • Any capture.
  • Any pawn move, even when the pawn neither captures nor promotes.

The fifty-move rule permits a draw claim when each player has completed fifty consecutive moves without a capture or pawn move. DTZ does not merely seek any nearby reset: within a line that preserves the theoretical result, the winning side tries to force a zeroing move and the defender tries to delay it. The value must be interpreted with win, draw, or loss information and the current counter.

DTZ is not . It also differs from : a pawn push resets the counter even when it neither captures nor promotes, so it can be a zeroing move without being a material conversion.

Usage and context

Signs, special values, and the exact treatment of the fifty-move rule depend on the tablebase format and the software used to query it.

Common confusions

Zero and an equal evaluation

Zero refers to the halfmove counter, not to a 0.00 position score and not necessarily to a draw.

DTZ and DTC

DTZ targets mate, a capture, or any pawn move. DTC targets mate, a capture, or a promotion.

View term

Related terms

© MindZug 2026