Pawn endings
Count captures in a pawn race
Recount both promotion paths after a capture: the new file can change which pushes are available and whether a promotion checks.
Worked example
Position in text
White to move. White: pawn e6, king f6. Black: pawn f7, king h6, pawn h2.
FEN: 8/5p2/4PK1k/8/8/8/7p/8 w - - 0 1
Both routes take two White moves, but the promotion square changes the next turn. 1. exf7 h1=Q 2. f8=Q+ checks along f8–g7–h6, so Black must answer the check before using the new queen. Syzygy confirms the capture wins.
A plausible mistake
1. e7 h1=Q 2. e8=Q Qa1+ is different. From e8 the new queen does not attack h6. Black keeps the f7-pawn and gets the next check, and the tablebase scores this branch as drawn. Count forcing moves, not just moves to the last rank.
Try it yourself
Position in text
White to move. White: king f8, pawn h6. Black: king h8, pawn g7, pawn b2.
FEN: 5K1k/6p1/7P/8/8/8/1p6/8 w - - 0 1
After h7 or hxg7, can Black immediately promote on b1? Which of White’s moves wins, and which file will White use to promote?
Check your answer
1. hxg7+ Kh7 2. g8=Q+ Kh6 forces two king replies; Black’s pawn is still on b2 when White promotes. After 1. h7? b1=Q, Black promotes first and the h8 king still blocks the h-pawn. The capture both changes the file and takes away Black’s turn to promote.