56 min read

Four pieces are left on the board. It is round 7 of the Israel Team Championship 2026 (Group A),

Chapter 15 — Pawn Endgames: The Foundation — Opposition, Key Squares, Triangulation, and the King as a Fighting Piece

Four pieces are left on the board. It is round 7 of the Israel Team Championship 2026 (Group A), 6 February 2026, a classical game at 90 minutes plus 30 seconds a move. Grandmaster Vitali Golod (2483 in the broadcast header) has just played 64.Kxe2, taking the last pawn he could reach. International Master Yannay Ben Ari (2467) has a king on f5 and a pawn on g5. White's king stands on e2. Black to move.

Golod–Ben Ari 2026 after 64.Kxe2: Black king f5 and pawn g5 against White's king on e2; f3, g3 and h3 highlighted

♟️ Position: White Ke2; Black Kf5, g5 — Black to move. FEN: 8/8/8/5kp1/8/8/4K3/8 b - - 0 64

This is the position every chess book starts its endgame section with: king and pawn against king. A club player meets it a few times a year. A master has met it thousands of times — in lessons, in books, in blitz. Black has eight legal moves. Before reading on, pick one.

🧩 Productive struggle: Which of Black's eight moves win, and which only draw? Write your answer down. Do not use the highlighted squares as a hint yet — just ask yourself where Black's king wants to go and what White's king will do in reply.

The exact answer, from the Syzygy tablebase (perfect play, computed by retrograde analysis) and from a small solver we will build in this chapter, is brutal:

--- hook position, Black to move
    White Ke2; Black Kf5, g5 — Black to move. FEN: `8/8/8/5kp1/8/8/4K3/8 b - - 0 64`
    Syzygy: win for the side to move (DTZ 5)
    moves -> verdict for the opponent: Kg4:loss, Ke4:loss, Kg6:draw, Kf6:draw, Ke6:draw, Ke5:draw, Kf4:draw, g4:draw
    bitbase agrees: {'pawn_side': 'black', 'result': 'win', 'plies_to_promotion': 13}

Two moves win: 64...Kg4 and 64...Ke4. Six moves draw — including 64...Kf4, the move that "obviously" marches the king forward in front of the pawn. In the game Black played 64...Ke5, a natural centralising step, and the position became a dead draw: after it, White holds with 65.Kf3, 65.Ke3, 65.Kf1 or 65.Ke1 (65.Kf2, 65.Kd3, 65.Kd2 and 65.Kd1 would all lose). The broadcast record stops right there with the result 0–1; the relay does not tell us what happened next (a resignation, a time loss on White's side — White had 1 minute 16 seconds left after 64.Kxe2, Black 5 minutes 40 after 64...Ke5 — or a transmission gap). What we can say is that the last position in the record is a draw with best play, and that the move before it turned a win into that draw.

Why does 64...Kg4 win and 64...Kf4 draw? Because of three ideas this chapter is built on. The black pawn on g5 has three key squares — f3, g3 and h3, the highlighted squares — and if Black's king reaches any of them the pawn queens by force. After 64...Kg4 White's king cannot keep Black away from all three (65.Kf2 Kh3! and the h3 key square is reached). After 64...Kf4 65.Kf2! the two kings stand face to face with one square between them and Black to move: White has the opposition, and Black's king can no longer step onto f3, g3 or h3. And the reason a strong player can go wrong is the third idea: in a pawn ending every tempo is the whole game. There is no piece to shuffle and no way to pass. One move in the wrong direction, and a won ending is a draw.

This chapter teaches those ideas — the opposition, key squares, triangulation, the rule of the square, races, the outside passed pawn and the breakthrough — and then does something no textbook could do before engines and tablebases: it checks every rule against the exact truth. We will solve king and pawn versus king completely on a laptop, all 331,352 legal positions, and use the solution to measure how often each textbook rule is right. Then we go to the games — 34,243 real pawn endings from the book's data snapshot — and ask how often players at each level throw them away.

♟️ Improver Track: Read 15.1, 15.3, 15.4, 15.5 and 15.7 with the diagrams, and do every 📋 Try it. Skip the code. If you remember only one thing: in a pawn ending, find the key squares first, then count.

📊 Analyst Track: 15.2 (solving KPK), 15.5 (how good is the rule of the square?) and 15.9 (34,243 real pawn endings, error rates by phase and band) are the analytics core. Watch the "decided position" trap in 15.9.

🏆 Competitor Track: 15.6 (triangulation), 15.8 (outside passed pawn, breakthrough, Réti) and the games in 15.9 are the practical toolkit: they decide whether you trade into a pawn ending or not.

💻 Developer Track: You will build outpost/pawn_endings.py: an exact KPK solver, opposition and key-square calculators, the rule of the square, a race counter and a locked-pawn solver that finds triangulation positions by itself.


15.1 The Purest Chess: Why Pawn Endings Punish Every Tempo

The principle. A pawn ending (or king-and-pawn ending) is a position with only kings and pawns on the board. In this chapter we use a strict version: a pure pawn ending has no other pieces at all, and we count it from the first stable position — the first moment the next move is not a capture, so we never measure in the middle of a trade. Pawn endings obey the same rules as all chess, but three things change.

  1. The king becomes the strongest piece on the board. With no queens, rooks or minor pieces left, nothing can attack the king, so it can walk into the centre and into the enemy camp. A king in the centre touches eight squares; on the edge five; in a corner three. Those squares are the whole fight.
  2. There are no waiting moves. In a rook ending you can shuffle a rook. Here every move is either a king step that changes the geometry or a pawn move that can never be taken back. Often the side to move is the side in trouble — a situation called zugzwang (German: "compulsion to move").
  3. The result is binary and computable. A pawn ending is almost always either won or drawn with best play, and small ones are solved exactly by the tablebase. There is no "slightly better" — and so a single tempo can move the result from 1 to ½ or from ½ to 0.

The reasoning. Why do tempi matter so much more here? Because the two plans in nearly every pawn ending are races: my king against your pawn, my pawn against your king, my king to your pawns against your king to mine. A race is decided by counting moves, and a count that is off by one is not "a little worse" — it is the other result.

The data. How often do these endings actually happen, and how are they scored? The book's data snapshot has the answer for the first stable pure pawn ending in each game:

Set Pawn balance at the first stable pawn ending Games Side ahead wins Draws Side ahead loses
OTB broadcast, all speeds equal pawns 8,143 25.9% (White) 49.6% 24.5%
OTB broadcast, all speeds one pawn up 8,895 71.9% 22.1% 6.1%
OTB broadcast, all speeds two pawns up 3,083 93.8% 3.0% 3.2%
Lichess blitz + rapid equal pawns 9,052 31.0% (White) 39.2% 29.8%
Lichess blitz + rapid one pawn up 11,357 65.1% 21.2% 13.7%
Lichess blitz + rapid two pawns up 5,178 83.3% 10.3% 6.4%

Two things stand out. First, an extra pawn in a pawn ending is worth far more than an extra pawn in the endgame in general: up one pawn at the start of any endgame with equal pieces, the side ahead wins 58.4% of OTB classical games, but up one pawn in a pure pawn ending it wins 71.9% (all OTB speeds). With no pieces to create counterplay, material tells. Second, the extra pawn is not a guarantee. Over the board, by FIDE band, the side a pawn up in a pawn ending wins 80.4% of games at 1600–1799, 67.3% at 2000–2199 and only 43.9% at 2400+ — not because masters convert worse, but because strong defenders reach the drawn positions (opposition, rook pawns, fortresses) and the stronger side accepts the draw rather than losing. A pawn-up pawn ending is a question, and this chapter is about answering it.

The first position: the opposition

Strip the hook down to its skeleton: White king e3, pawn e2; Black king e5. The kings stand on the same file with one square between them.

Ke3 and Pe2 against Ke5, White to move; d4, e4, f4 highlighted

♟️ Position: White Ke3, e2; Black Ke5 — White to move. FEN: 8/8/8/4k3/8/4K3/4P3/8 w - - 0 1

The same position with Black to move; arrows e5–d5 and e3–f4

♟️ Position: White Ke3, e2; Black Ke5 — Black to move. FEN: 8/8/8/4k3/8/4K3/4P3/8 b - - 0 1

The same diagram, two results:

--- Ke3 Pe2 vs Ke5, White to move
    bitbase: draw (plies to promotion None); Syzygy: draw for the side to move (DTZ 0)
    moves keeping the best result (draw): Kf3, Kd3, Kf2, Kd2  | all: Kf3=draw, Kd3=draw, Kf2=draw, Kd2=draw
--- Ke3 Pe2 vs Ke5, Black to move
    bitbase: win (plies to promotion 24); Syzygy: loss for the side to move (DTZ -8)
    moves keeping the best result (win): Kf6, Kd6, Kf5, Kd5, Ke6
    best line (bitbase): 1...Kf6 2.Kf4 Ke6 3.Ke4 Kf6 4.Kd5 Ke7 5.Ke5 Kf7 6.Kd6 Kg8 7.Ke7

📐 Definition — the opposition: two kings are in opposition when they stand on the same file, rank or diagonal with an odd number of squares between them (most often one). The side that has just moved into that configuration — the side not to move — has the opposition. The defender must then step aside, and the attacker's king advances through the gap.

With Black to move, Black must yield: whichever way the black king steps, White's king walks past it on the other side, reaches one of the highlighted squares (d4, e4, f4) and later d6, e6 or f6, and the pawn promotes. With White to move, White is the one who must yield; every king move lets Black take the opposition back, and an early pawn move gives the black king the square in front of the pawn. Draw.

🔍 Why this works: A king controls the eight squares around it. When two kings face each other with one square between, three squares of the row between them are controlled by both kings — neither can enter them. The side to move must therefore step sideways or backward, which hands the other king a free path on the opposite wing. The opposition is not a rule to memorise; it is what "kings cannot stand next to each other" looks like once you count the shared squares.


15.2 Solving King and Pawn versus King on a Laptop

The chess question. Is the opposition the reason positions like the one above are decided by the move, or just one example among many? To answer that, we need every position, not a few examples.

The idea. Chapter 14 already built a complete K+P vs K table to check the essential positions (its tablebase.py). Here we rebuild the same table inside this chapter's module, because we want more than verdicts: we want to grade every rule of thumb — opposition, key squares, the square — against it, position by position. King and pawn versus king (KPK) is small. With the pawn on files a–d (the e–h files are mirror images), 24 pawn squares, 64 squares for each king and two sides to move give 196,608 index slots, of which 165,676 are legal. We can solve all of them by retrograde analysis: mark the positions whose result is immediate (Black takes the pawn → draw; stalemate → draw; White promotes to a queen or rook that cannot be taken and does not stalemate → win), then repeatedly propagate: a position with White to move is won if some move reaches a won position; a position with Black to move is won only if every move does. When nothing changes any more, everything still undecided is a draw — White cannot force progress.

📐 Definition — bitbase: a table that stores, for every legal position of a small endgame, only the result (win/draw) and here also the number of plies to a safe promotion with best play. Chess engines have long used small tables of this kind; ours is a short function in Outpost.

The core of the solver is a vectorised loop: each position's children are stored as indices, and one pass updates every undecided position at once.

# outpost/pawn_endings.py - one retrograde pass (simplified)
vw = old[cw]                                   # results of the children of White-to-move positions
vb = old[cb]                                   # ... and of Black-to-move positions
any_win  = (vw == WIN).any(1)                  # White to move: one winning child is enough
all_draw = ((vw == DRAW) | (vw == INVALID)).all(1)
any_draw = (vb == DRAW).any(1)                 # Black to move: one drawing child is enough
all_win  = ((vb == WIN) | (vb == INVALID)).all(1)
res[:half][unk_w & any_win] = WIN
res[:half][unk_w & ~any_win & all_draw] = DRAW
res[half:][unk_b & any_draw] = DRAW
res[half:][unk_b & ~any_draw & all_win] = WIN

Running it (python code/01_kpk_bitbase.py):

=== KPK bitbase (files a-d; e-h are mirror images) ===
retrograde passes: 38
White (pawn side) to move: legal 81,664  won 62,480 (76.5%)  drawn 19,184
Black (defender) to move: legal 84,012  won 48,802 (58.1%)  drawn 35,210
all legal positions (a-d pawns, both sides to move): 165,676; x2 for the full board: 331,352

Verification vs Syzygy (seeded random sample, 30 wins + 30 draws): 60/60 agree

Thirty-eight passes and about five seconds — and the same headline numbers as Chapter 14's independent table (76.5% of White-to-move positions won). The solver is not trusted on its own word: a seeded random sample of 60 positions (30 won, 30 drawn by the solver) was sent to the Syzygy tablebase, and all 60 verdicts agree. (In building it we also found and fixed a bug — positions with a king standing on the pawn's square were not being marked illegal. The Syzygy check is what makes such bugs visible.)

Heat maps: share of legal KPK positions won by pawn square, White to move and Black to move

📊 Figure (described): Two 8×6 heat maps, one cell per pawn square (ranks 2–7), coloured by the share of legal king placements that are won. With White to move the share climbs from about 53–75% on the 2nd rank to 95–97% on the 7th; with Black to move it climbs from 35–46% to 80–87%. The rook-pawn files are visibly darker on the low ranks (53.5% vs 74.8% for a d/e-pawn on the 2nd rank, White to move) — the rook pawn's drawing corner shows up as a stripe of colour.

Look at the left map's bottom row: a d- or e-pawn on its starting square wins 74.8% of positions with White to move, but a 3rd-rank pawn only 68.9%. That is the double step (15.5) at work: a pawn that can still jump two squares gains a tempo.

The opposition in numbers

Now the question we started with. Call a position a mutual zugzwang if it is drawn with White to move but won with Black to move — whoever has to move is worse off. How many are there in all of KPK, and what do they look like?

Mutual zugzwangs in KPK (drawn White to move, won Black to move), pawns on files a-d: 80; full board (mirror): 160
  by opposition type (outpost.opposition): {'direct': 73, 'None': 6, 'diagonal': 1}
  share with the kings in opposition (file AND rank gap even): 92.5%
  by pawn rank: {2: 23, 3: 23, 4: 21, 6: 7, 7: 6}
  for comparison: won with White to move but drawn with Black to move: 13,811
  baseline: share of all legal king pairs that are 'in opposition': 26.6%

Of more than 300,000 positions, only 160 are mutual zugzwangs — and 148 of them (92.5%) have the kings in opposition, 146 in direct opposition. A random legal king pair is "in opposition" by our definition only 26.6% of the time. The opposition is not one example of zugzwang in pawn endings; in KPK it very nearly is zugzwang. The six exceptions on files a–d all have the pawn on the 7th rank, where stalemate tricks replace the opposition. And there are no mutual zugzwangs with the pawn on the 5th rank: once the pawn is that far, White's king in front of it is already on a key square (15.3) and the move no longer matters.

🤖 Engine check: In the basic position Syzygy reports "loss, DTZ −8" for Black to move and "draw, DTZ 0" for White to move. DTZ — distance to zeroing — counts moves until the next pawn move or capture, so −8 means the loss becomes irreversible (White's pawn moves) within eight moves with best play. The tablebase does not explain anything; it just knows. The explanation — "the side to move must give way" — is ours, and the 92.5% figure is what lets us trust it as a general principle rather than a lucky example.

🔄 Check your understanding 1. In the position White Ke3, Pe2 vs Black Ke5, who has the opposition if it is Black to move? 2. Why does the solver say "won with Black to move" for 58.1% of positions but "won with White to move" for 76.5%? 3. What fraction of KPK mutual zugzwangs have the kings in opposition, and what is the baseline?

Answer

  1. White — the side not to move has the opposition, and Black must give way.
  2. With Black to move the defender gets an extra tempo: often enough to reach the pawn, the square in front of it, or the opposition. In a pawn ending one tempo changes the result in a large share of positions (13,811 positions on files a–d are won with White to move but drawn with Black to move).
  3. 92.5% (74 of 80 on files a–d), against 26.6% for a random legal king pair.

15.3 Key Squares: Where the King Must Go

The principle. For every passed pawn there is a set of key squares: if the stronger side's king reaches one of them — whoever is to move, and with the pawn not simply about to be captured — the pawn promotes by force. The defender's whole job is to keep the attacking king off those squares; the attacker's whole job is to reach one.

📐 Definition — key squares (textbook rule): for a pawn on its 2nd, 3rd or 4th rank, the three squares two ranks in front of it (pawn e2 → d4, e4, f4; pawn e4 → d6, e6, f6). For a pawn on its 5th or 6th rank, the six squares on the next two ranks (pawn e5 → d6, e6, f6, d7, e7, f7). For a rook pawn (a- or h-file), the two squares on the adjacent knight file at the 7th and 8th ranks (a-pawn → b7, b8).

The reasoning. Why two ranks ahead? With the king two ranks in front of its pawn, the attacker always has a spare tempo: if the defender takes the opposition, the pawn steps forward one square and the defender must give way after all. That is exactly what happens in this position:

White king e4 two squares in front of its pawn on e2; Black king e6

♟️ Position: White Ke4, e2; Black Ke6 — White to move. FEN: 8/8/4k3/8/4K3/8/4P3/8 w - - 0 1

--- Ke4 Pe2 vs Ke6 (king two squares ahead of its pawn), White to move
    bitbase: win (plies to promotion 21); Syzygy: win for the side to move (DTZ 1)
    moves keeping the best result (win): e3, Kf4, Kd4  | all: e3=win, Kf4=win, Kd4=win, Kf3=draw, Ke3=draw, Kd3=draw
    best line (bitbase): 1.e3 Kf6 2.Kd5 Ke7 3.Ke5 Kf7 4.Kd6 Kg8 5.Ke7 Kh8 6.Kf7 Kh7

Black has the opposition (it is White to move with the kings face to face), but 1.e3! passes the move back. The pawn is a reserve tempo — which is why you should not push it too early in KPK. Note the three losing moves too: 1.Kf3, 1.Ke3 and 1.Kd3 all retreat off the key squares and draw.

Testing the rule. Our bitbase lets us compute key squares instead of memorising them: for a pawn on a given square, a king square is key if White wins against every legal placement of Black's king, with either side to move, excluding placements where Black's king simply attacks an undefended pawn. Comparing that exact answer to the textbook rule for every pawn square:

=== 15.3 Key squares: textbook vs exact (pawn on files a-d; e-h mirror) ===
  a2: textbook ['b7', 'b8']  exact []  extra [] missing ['b7', 'b8']
  a5: textbook ['b7', 'b8']  exact ['b7']  extra [] missing ['b8']
  a6: textbook ['b7', 'b8']  exact ['b7', 'b8']  MATCH
  b2: textbook ['a4', 'b4', 'c4']  exact ['a4', 'b4', 'c4', 'b5']  extra ['b5'] missing []
  b3: textbook ['a5', 'b5', 'c5']  exact ['a5', 'b5', 'c5']  MATCH
  b6: textbook ['a7', 'b7', 'c7', 'a8', 'b8', 'c8']  exact ['a7', 'b7', 'a8', 'b8']  extra [] missing ['c7', 'c8']
  c4: textbook ['b6', 'c6', 'd6']  exact ['b6', 'c6', 'd6']  MATCH
  d2: textbook ['c4', 'd4', 'e4']  exact ['c4', 'd4', 'e4', 'd5']  extra ['d5'] missing []
  d5: textbook ['c6', 'd6', 'e6', 'c7', 'd7', 'e7']  exact ['c6', 'd6', 'e6', 'c7', 'd7', 'e7']  MATCH
  ...
  non-rook pawns on ranks 2-6: 11/15 squares match exactly
  a4 pawn, White king b7: drawn Black-king placements (pawn not attacked): ['c3', 'c4', 'c5']

The textbook rule is exactly right for 11 of the 15 non-rook pawn squares on ranks 2–6, and the four differences are all instructive:

  • Pawn on its 2nd rank (b2, c2, d2): the exact solution adds one square, three ranks ahead on the pawn's own file (d2 → d5). The double step makes a 2nd-rank pawn behave like a 3rd-rank pawn, whose key squares are on the 5th.
  • Knight pawn on the 6th (b6, and by mirroring g6): c7 and c8 (f7 and f8) are not key squares, because of a stalemate.
  • Rook pawns: for a pawn on a2–a4 no square wins against every defence. With White's king on b7 and the pawn on a4, Black's king on c3, c4 or c5 still draws — it simply walks down to the pawn and wins it, because White's king is too far away to protect it. For rook pawns "reach b7 or b8" is necessary but not sufficient: you must also keep the pawn.

Knight pawn: White Kf7, Pg6; Black Kh8, Black to move — stalemate

♟️ Position: White Kf7, g6; Black Kh8 — Black to move. FEN: 7k/5K2/6P1/8/8/8/8/8 b - - 0 1

Black to move here has no legal move — g8 and g7 are covered by White's king, h7 by the pawn — and is not in check: stalemate. With White to move it is a win (1.g7+ Kh7 2.g8=Q+), but a king on f7 or f8 is not a key square because the result depends on who moves.

Rook pawn: White Kb6, Pa6; Black Ka8, Black to move — the corner holds

♟️ Position: White Kb6, a6; Black Ka8 — Black to move. FEN: k7/8/PK6/8/8/8/8/8 b - - 0 1

The rook pawn's corner is the most important drawing resource in pawn endings. Here the bitbase and Syzygy agree it is a draw with either side to move: after 1...Kb8 2.a7+ Ka8 White must either release the black king or stalemate it with 3.Ka6. If the defender's king reaches the corner in front of a rook pawn, the game is drawn.

Heat map for pawn e4: for each White king square, the share of Black king placements won

📊 Figure (described): For a White pawn on e4, each square shows the share of Black-king placements (both sides to move averaged) that White wins with the king on that square. Exactly three squares reach 100% — d6, e6 and f6, the key squares. The squares just below them, d5/e5/f5, score 95%: close, but a king there can still be met by the opposition. Behind the pawn the numbers fall to 63–72% on the 3rd rank and about 30% on the 1st.

The heat map also shows why key squares are a better mental tool than "get your king in front of the pawn". In front of the pawn but only one square ahead (e5) is 95%, not 100%; two squares ahead is the threshold.

Back to the hook. For Black's pawn on g5 the key squares are f3, g3 and h3 (pe.key_squares(g5, BLACK) returns exactly those). From f5, Black's king is one step from g4, and from g4 it touches f3, g3 and h3 at once; White's king on e2 can cover f3 (from f2 or e2) but not h3 as well. 64...Kg4! 65.Kf2 Kh3 reaches a key square. 64...Kf4? 65.Kf2! is the opposition: Black's king must move, and every move gives up the f3–g3 entry. And 64...Ke5? simply walks away from the key squares.

📋 Try it — Endgame technique: In the hook position, why does 64...Ke4 also win, even though it moves the king away from g3 and h3?

Answer

From e4 Black's king touches f3 — a key square — and takes the diagonal relationship with White's king into account: after 65.Kf2 Black plays 65...Kf4, now with White to move and the kings in direct opposition on the f-file, so White must give way (the bitbase line 64...Ke4 65.Kf2 Kf4 is a win for the pawn side; Syzygy confirms). 64...Ke4 is slower (the solver counts 23 plies to promotion against 13 after 64...Kg4) but it wins. Both winning moves have one thing in common: after them, White cannot take the opposition with Black to move.


15.4 The Opposition in Depth: Direct, Distant, Diagonal

The opposition is not only a close-range fight. The same principle works at a distance, and the geometry generalises neatly.

📐 Definition — general opposition (as implemented in outpost.opposition): the kings are in opposition if the file distance and the rank distance between them are both even (on a shared file, rank or diagonal that means an odd number of squares between them). The side not to move holds it. Types: direct (same file or rank, distance 2), distant (same file or rank, distance 4 or 6), diagonal (same diagonal) and rectangular (everything else). Every king move changes the parity of at least one of the two distances, so whoever moves breaks the opposition — and the opponent then tries to restore it with the next move.

Does distance matter? The bitbase answers with a configuration table: put White's king directly in front of its pawn and Black's king further up the same file, then count wins with each side to move.

=== 15.4 Kings facing off on the pawn's file (non-rook pawns b-g) ===
  pawn rank | WK ahead of pawn | gap to BK | White holds opp. (Black to move): won | Black holds (White to move): won
  2 | +1 | 2 (direct) | 6/6 | 0/6
  2 | +1 | 4 (distant) | 6/6 | 6/6
  2 | +2 | 2 (direct) | 6/6 | 6/6
  3 | +1 | 2 (direct) | 6/6 | 0/6
  4 | +1 | 2 (direct) | 6/6 | 0/6
  4 | +2 | 2 (direct) | 6/6 | 6/6
  5 | +1 | 2 (direct) | 6/6 | 6/6

With White's king one square in front of a pawn on the 2nd–4th rank and the kings in direct opposition, the side to move decides the game in all six files tested — 6/6 wins against 0/6. With the king two squares in front, the spare pawn tempo makes the opposition irrelevant (6/6 both ways). With the pawn on the 5th, White's king on the 6th is already on a key square. And with a distant gap of four, White always wins here, because the pawn tempo can be used to convert distant opposition into direct opposition at the right moment. The lesson for the board: the opposition matters when the attacking king is not yet on a key square and has no spare pawn tempo.

Distant opposition: the only move

The more useful question is: when is taking the distant opposition the only good move? We asked the bitbase to list all positions (pawn on files b–d, ranks 2–4, kings at least three squares apart) where exactly one king move wins — or, for the defender, exactly one draws — and that move creates distant or diagonal opposition:

  distant-attacker: 48 positions (pawn on files b-d, ranks 2-4)
  diagonal-attacker: 90 positions (pawn on files b-d, ranks 2-4)
  distant-defender: 166 positions (pawn on files b-d, ranks 2-4)
  diagonal-defender: 117 positions (pawn on files b-d, ranks 2-4)

Here is the most striking attacker example the search returned:

White Kf1, Pb2 against Black Ke8; White to move; arrow f1–e2

♟️ Position: White Kf1, b2; Black Ke8 — White to move. FEN: 4k3/8/8/8/8/8/1P6/5K2 w - - 0 1

--- distant-attacker example
    bitbase: win (plies to promotion 31); Syzygy: win for the side to move (DTZ 11)
    moves keeping the best result (win): Ke2  | all: Ke2=win, Kg2=draw, Kf2=draw, Kg1=draw, Ke1=draw, b3=draw, b4=draw
    best line (bitbase): 1.Ke2 Kd8 2.Kd3 Kd7 3.Kc4 Kc6 4.Kb4 Kb6 5.b3 Kc7 6.Kc5 Kb7

Seven legal moves, one win. 1.Ke2! puts the kings on the same file with five squares between them and Black to move: the distant opposition. Every Black king move can now be answered by keeping the relationship — Black goes to d8, White to d3 (still opposition: file distance 0, rank distance 4) — until the kings meet at close range with White holding the direct opposition. Note that both pawn moves draw: the pawn tempo is too valuable to spend now. And the defender's version is just as sharp:

White Kd1, Pb2 against Black Ke8; Black to move; arrow e8–d7

♟️ Position: White Kd1, b2; Black Ke8 — Black to move. FEN: 4k3/8/8/8/8/8/1P6/3K4 b - - 0 1

--- distant-defender example
    bitbase: draw (plies to promotion None); Syzygy: draw for the side to move (DTZ 0)
    moves keeping the best result (draw): Kd7  | all: Kd7=draw, Kd8=win, Ke7=win, Kf8=win, Kf7=win

Only 1...Kd7, taking the distant opposition on the d-file, holds. The "obvious" 1...Kd8, straight down the same file, loses: it leaves the kings with an odd rank gap and White to move takes the opposition.

Diagonal opposition

White Kh1, Pd3 against Black Ka8; White to move; arrow h1–g2

♟️ Position: White Kh1, d3; Black Ka8 — White to move. FEN: k7/8/8/8/8/3P4/8/7K w - - 0 1

--- diagonal-attacker example
    bitbase: win (plies to promotion 27); Syzygy: win for the side to move (DTZ 15)
    moves keeping the best result (win): Kg2  | all: Kg2=win, Kh2=draw, Kg1=draw, d4=draw
    best line (bitbase): 1.Kg2 Kb8 2.Kf3 Kc7 3.Ke4 Kd6 4.Kd4 Ke6 5.Kc5 Kd7 6.Kd5 Ke7

The kings are in opposite corners. 1.Kg2! puts them on the long diagonal with five squares between — the diagonal opposition. Both kings then race to the centre, and White arrives with the right parity. 1.Kh2 or 1.Kg1 (the wrong parity) and 1.d4 (spending the tempo) all draw. A computer found this position; a human can derive the move by asking one question: "after my move, are both distances between the kings even, with my opponent to move?"

⚠️ Common pitfall: "Take the opposition" is often taught as "put your king in front of his." The bitbase shows why that is incomplete: in the defender example 1...Kd8 puts the black king directly on the file of White's king and loses; 1...Kd7 holds. Opposition is about parity — even file distance, even rank distance, opponent to move — not about being face to face.

🔄 Check your understanding 1. Kings on c2 and c6, White to move. Who holds the opposition, and what type is it? 2. Why do both pawn moves draw in the distant-attacker example? 3. Kings on b1 and f5, Black to move. Are they in opposition?

Answer

  1. Black (the side not to move); distant opposition (same file, rank distance 4).
  2. Because the pawn move is White's only spare tempo. Spent now, it cannot be used later to break the defender's opposition when the kings meet in front of the pawn.
  3. File distance 4, rank distance 4 — both even, so yes: diagonal opposition (b1–f5 is a diagonal), held by White because Black is to move.

15.5 The Rule of the Square — and How Often It Lies

Chapter 14 introduced the rule of the square as a quick way to see whether a king can catch a passed pawn. Here we make it exact and then test it.

📐 Definition — the square of a pawn: draw a square whose side runs from the pawn to its queening square (for a pawn on a4: a4–e4–e8–a8). If the defending king is inside the square — or can step into it when it is the defender's move — it catches the pawn; otherwise the pawn queens. Equivalently: the king catches iff its king-distance to the queening square is at most the number of moves the pawn needs, plus one if the defender moves first. A pawn on its 2nd rank counts as if it stood on the 3rd, because of the double step.

Pawn a4 against Black king f5, White to move; the square a4–e8 highlighted

♟️ Position: White Kh1, a4; Black Kf5 — White to move. FEN: 8/8/8/5k2/P7/8/8/7K w - - 0 1

pawn a4 vs Kf5: White to move -> win | Syzygy win | in square (Black to move next)? False
  Black to move -> draw | Syzygy draw | in square? True

With White to move, 1.a5 shrinks the square to a5–d5–d8–a8 and the king on f5 is outside it; with Black to move, 1...Ke5 steps inside (the square is still a4–e4–e8–a8, and e5 is in it). The calculator in Outpost is three lines:

def in_square(pawn, pawn_color, defender_king, defender_to_move):
    r = chess.square_rank(pawn) if pawn_color == chess.WHITE else 7 - chess.square_rank(pawn)
    steps = 7 - max(r, 2)                                   # double step: a 2nd-rank pawn counts as 3rd
    q = chess.square(chess.square_file(pawn), 7 if pawn_color == chess.WHITE else 0)
    return dist(defender_king, q) <= steps + (1 if defender_to_move else 0)

The double step is not a footnote:

Pawn a2 against Black king g6, White to move; 1.a4 arrow

♟️ Position: White Kh1, a2; Black Kg6 — White to move. FEN: 8/8/6k1/8/8/8/P7/7K w - - 0 1

pawn a2 vs Kg6, White to move: win | Syzygy win | moves: a4=win, Kh2=draw, Kg2=draw, Kg1=draw, a3=draw
  naive count (6 moves) says caught: True | corrected (5 moves): False

Counting six pawn moves, the king on g6 (six moves from a8) seems to arrive in time. But 1.a4! needs only five more moves, and the king is one tempo short. 1.a3 — the "safe" single step — draws.

How good is the rule? Our bitbase has every KPK position, so we can grade the rule on all of them (excluding positions where Black simply takes an undefended pawn):

positions tested (files a-d, pawn not simply en prise): 156,578
rule of the square correct overall: 83.8%
defender OUTSIDE the square (rule says win): n = 85,964; actually won 99.99%
defender INSIDE the square (rule says draw): n = 70,614; actually drawn 64.1%

By distance of the ATTACKING king from its pawn (king moves):
wk_dist      n  out_n   in_n  outside_won_%  inside_drawn_%
1        19252  10295   8957          100.0            33.4
2        28718  15526  13192          100.0            41.2
3        31928  17293  14635          100.0            59.5
4        30484  16591  13893          100.0            75.5
5        24828  13771  11057          100.0            85.1
6        16136   9336   6800          100.0            91.0
7         5232   3152   2080          100.0           100.0

positions where the double-step correction changes the verdict: 3,807 (all with the pawn on its 2nd rank: True)
  corrected rule right in 100.0% of them; naive rule right in 0.0%

Line chart: accuracy of the rule of the square against the attacking king's distance from its pawn

📊 Figure (described): Two lines against the attacking king's distance from its own pawn (1–7 king moves). "Defender outside the square → won" stays at 100% everywhere. "Defender inside the square → drawn" climbs from 33% when the attacking king is next to its pawn to 100% when it is seven moves away. The rule is a one-way test: trust it when it says win, check the attacking king when it says draw.

So the rule of the square is two different rules. "Outside the square → the pawn queens" is right in 85,959 of 85,964 positions; the five exceptions all have White's king on a8 stuck in front of its own pawn on a7, blocking its own promotion. "Inside the square → draw" is right only 64.1% of the time, because it ignores the other king. With the attacking king next to its pawn the defender who is "in the square" still loses two thirds of the time: the attacker's king escorts the pawn or reaches a key square. Only when the attacking king is seven moves away does the rule become exact.

There is a subtler failure too: 5,665 positions where the defender is inside the square, the attacking king is four or more moves from its pawn, and White still wins. Here is the cleanest one:

White Kg4, Pa2 against Black Kg2, Black to move; f3, g3, h3 marked red

♟️ Position: White Kg4, a2; Black Kg2 — Black to move. FEN: 8/8/8/8/6K1/8/P5k1/8 b - - 0 1

--- square-rule exception: White Kg4 Pa2 vs Kg2, Black to move
    Syzygy: loss for the side to move (DTZ -2, DTM -24)
    moves -> verdict for the opponent: Kh2:win, Kf2:win, Kh1:win, Kg1:win, Kf1:win
    Syzygy best line: 1...Kf1 2.a4 Ke1 3.a5 Kd1 4.a6 Kc1 5.a7
    in the square? True

Black's king on g2 is six moves from a8 and the a2-pawn needs five (double step), so with Black to move the rule says "caught". But White's king on g4 takes away f3, g3 and h3, the three squares Black needs to start the diagonal run. Black has to go sideways along the first two ranks, and the pawn wins the race by a tempo. This is shouldering (or body-checking): the attacking king does not escort its pawn; it blocks the defending king's path. Among the 5,665 far-king exceptions, 24.5% have the two kings within two squares of each other — the shoulder in its pure form; the rest involve longer-range interference that a plain distance count does not capture.

⚠️ Common pitfall: Counting the square and stopping there. The square tells you whether the defending king could catch the pawn on an empty board. Before you trust it, ask two questions: can my own king help the pawn (then "in the square" means little), and can the enemy king actually walk the diagonal, or is there a king, a pawn or a pawn's attacked square in the way?

🔄 Check your understanding 1. A White pawn on c2, Black king on h6, White to move. Does the king catch the pawn? (Use the double step.) 2. When the rule of the square says "draw", how often is it right with the attacking king next to its pawn, and with the attacking king seven moves away? 3. What is shouldering?

Answer

  1. The c2-pawn counts as a c3-pawn: five moves to c8. The king on h6 is five king moves from c8 (h6–g7 –f8–e8–d8–c8), and with White to move the king catches only if its distance is at most five — so it arrives just in time if nothing blocks it. (in_square(c2, WHITE, h6, False) returns True.)
  2. 33.4% with the attacking king adjacent; 100% at distance seven.
  3. Using your king to block the enemy king's route (here: covering f3, g3 and h3 so Black's king cannot start its diagonal run), rather than escorting your own pawn.

15.6 Triangulation: How to Pass the Move

The principle. Since the side to move is often the side in trouble, you sometimes want to give the move to your opponent without changing the position. Pawns cannot do it (they never move back), but a king can: walking around a triangle of three mutually adjacent squares takes three moves and returns the king to its starting square. If the defending king cannot imitate that — because it has only two useful squares — the same position arises with the defender to move. This is triangulation.

The reasoning. A triangle works because of parity. A king that shuttles between two squares returns home after an even number of moves; a king that walks a triangle returns after an odd number. The attacker uses three moves while the defender, restricted to two squares, uses three moves too — but arrives on the wrong square of its pair, or the right square at the wrong time.

When is it needed? An exact search. Textbooks show triangulation with a hand-picked position. We asked a broader question: in which pawn endings is triangulation ever necessary? Outpost's solve_blocked_pair solves every king + pawn vs king + pawn position where the two pawns block each other (only the kings move until one captures a pawn; the KPK bitbase then finishes the job). A position "needs a tempo loss" if it is won with either side to move, but White-to-move needs at least five more plies than Black-to-move — exactly what a triangle costs.

=== Part 1: one blocked pair each (exact, KPK bitbase underneath) ===
white pawn | black pawn | legal (W to move) | White wins | draws | Black wins | mutual zugzwangs | tempo-loss wins
  b3 | b4 | 3279 | 1298 | 951 | 1030 | 7 | 0
  c5 | c6 | 3282 | 1646 | 1060 | 576 | 7 | 0
  d5 | d6 | 3282 | 1705 | 1221 | 356 | 8 | 0
  ...
  total tempo-loss positions across 16 blocked pairs: 0  (6.8 s)

=== Part 2: locked structures (captures scored by Stockfish 19, depth 16) ===
  White b5 c4 vs Black b6 c5: ... mutual zugzwangs 10; tempo-loss wins 0 []
  White c4 c5 vs Black c6: ... mutual zugzwangs 6; tempo-loss wins 0 []
  White c4 c5 g4 vs Black c6 g5: ... mutual zugzwangs 4; tempo-loss wins 1 [('b4', 'a6')]

The result surprised us. In all 16 single blocked pairs there are mutual zugzwangs (up to eight per pair) but not one position where White needs to lose a tempo: whenever White would like to pass, the defender can mirror the manoeuvre, because both kings have the same room. The same holds for the symmetrical locked structure b5/c4 against b6/c5. Triangulation appears only when the structure is asymmetric — here, a doubled extra pawn on c4 behind c5 and a second front on the g-file — so that the defending king has fewer useful squares than the attacker. (Part 1 is exact; in Part 2 the position after a pawn capture is scored by Stockfish, so we verify the one hit with the tablebase.)

White Kb4, pawns c4 c5 g4; Black Ka6, pawns c6 g5; White to move

♟️ Position: White Kb4, c4, c5, g4; Black Ka6, c6, g5 — White to move. FEN: 8/8/k1p5/2P3p1/1KP3P1/8/8/8 w - - 0 1

  Syzygy, White to move: win (DTZ 15); moves -> verdict for Black after it: Kb3:loss, Kc3:loss, Ka4:loss, Ka3:draw
  Syzygy, Black to move: loss (DTZ -10); Black's moves -> verdict for White: Ka7:win, Kb7:win
  exact solver: plies to the winning capture - White to move 15, Black to move 10
  Kb3  (legal choices were: Ka4, Kc3, Kb3, Ka3) -> Syzygy for the side now to move: loss
  Ka5  (legal choices were: Kb7, Ka7, Ka5) -> Syzygy for the side now to move: win
  Ka3  (legal choices were: Kc3, Ka3, Kc2, Kb2, Ka2) -> Syzygy for the side now to move: loss
  Ka6  (legal choices were: Ka6) -> Syzygy for the side now to move: win
  Kb4  (legal choices were: Kb4, Ka4, Kb3, Kb2, Ka2) -> Syzygy for the side now to move: loss
  after 1.Kb3 Ka5 2.Ka3 Ka6 3.Kb4 the position is the start position with Black to move: True
  mutual zugzwang W Ka5 / B Kb7: White to move draw, Black to move loss (side to move)
  after 1.Ka3?, Black's moves -> verdict for White: Kb7:draw, Ka5:win, Ka7:win

With Black to move this position is lost at once: Black's king must leave a6 (a5 is next to White's king, b5 and b6 are covered by the c4 and c5 pawns), and White's king walks to the kingside to win the g5-pawn before Black's king can get round to c4. With White to move, White wants to hand the move over:

The same position with the triangle b4–b3–a3 drawn

♟️ Position: White Kb4, c4, c5, g4; Black Ka6, c6, g5 — White to move. FEN: 8/8/k1p5/2P3p1/1KP3P1/8/8/8 w - - 0 1

1.Kb3! Ka5 2.Ka3! Ka6 3.Kb4 — and it is the starting position with Black to move.

Same position, Black to move: zugzwang

♟️ Position: White Kb4, c4, c5, g4; Black Ka6, c6, g5 — Black to move. FEN: 8/8/k1p5/2P3p1/1KP3P1/8/8/8 b - - 0 1

Notice the asymmetry: after 2.Ka3, Black's king on a5 has exactly one legal move (a4 and b4 are next to White's king, b5 and b6 are covered by pawns), so Black cannot "triangulate back". And notice the move order: 1.Ka3? (the same triangle walked the other way) only draws, because 1...Kb7! takes the corresponding square — the tablebase marks Kb7 as the only drawing reply. Triangulation is not "walk around in a triangle"; it is "walk around the triangle so that your opponent runs out of squares".

🤖 Engine check: Syzygy confirms every step — 1.Kb3, 1.Kc3 and 1.Ka4 all win, 1.Ka3 draws, and with Black to move the position is lost after either legal move. Our exact solver adds the reason in numbers: White to move needs 15 plies to win a pawn, Black to move only 10. The five-ply difference is the triangle (three White moves, two Black moves, then Black is on move in the same position). Stockfish needs no help here, but the tablebase is the referee: in pawn endings with seven pieces or fewer, never settle for an engine score when an exact answer is one probe away.

🔄 Check your understanding 1. Why can't a king "pass" by moving back and forth between two squares? 2. In how many of the 16 single blocked-pair endings is triangulation ever needed? 3. After 1.Ka3?, which reply holds the draw, and why does it work?

Answer

  1. Two squares return the king to its start after an even number of moves — and the opponent has made the same number of moves, so the side to move is unchanged. A triangle takes an odd number.
  2. None. Both kings have equal room, so the defender can always mirror; triangulation needs an asymmetric structure.
  3. 1...Kb7, the only drawing move: Black's king takes the square that "corresponds" to a3, so White's next approach meets the right defensive square instead of a zugzwang.

15.7 Races: Count Before You Push

When both sides have passed pawns, the ending becomes a pawn race, and the method is arithmetic:

  1. Count each pawn's moves to promotion (double step included) and note who moves first.
  2. Check each king against the enemy pawn's square.
  3. Look at the moment of promotion: does the first new queen give check, cover the other queening square, or skewer the king and the new queen?

Outpost's race() does steps 1–2 and flags the obvious geometry of step 3. It is a count, not a proof — the tablebase is the referee:

Race: White Kc3, Pa5 against Black Kg6, Ph4

♟️ Position: White Kc3, a5; Black Kg6, h4 — White to move. FEN: 8/8/6k1/P7/7p/2K5/8/8 w - - 0 1

race() count: {'white': {'pawn': 'a5', 'moves': 3, 'queens_on_ply': 5, 'queening_square': 'a8', 'enemy_king_in_square': False}, 'black': {'pawn': 'h4', 'moves': 3, 'queens_on_ply': 6, 'queening_square': 'h1', 'enemy_king_in_square': False}, 'first_to_queen': 'white', 'first_queen_covers_other_queening_square': True, 'first_queen_checks_king_now': False}
--- race with a long-diagonal finish, White to move
    Syzygy: win for the side to move (DTZ 1, DTM 23)
    moves -> verdict for the opponent: a6:loss, Kd4:win, Kc4:win, Kb4:win, Kd3:win, Kb3:win, Kd2:win, Kc2:win, Kb2:win
    the race played out: 1.a6 h3 2.a7 h2 3.a8=Q h1=Q 4.Qxh1; final position Syzygy: loss for side to move (Black)

Both pawns need three moves; White moves first and queens first — and the new queen on a8 looks straight down the long diagonal at h1. 1.a6! h3 2.a7 h2 3.a8=Q h1=Q 4.Qxh1 wins. Every other first move loses: any king step lets Black push first, and then it is Black's queen on h1 that sees a8. With Black to move the mirror image holds (only 1...h3 wins). This is the purest form of "every tempo is the game": the same diagram is a win for whoever moves.

⚠️ Common pitfall: Stopping the count at "we both queen". Equal races are decided by what the first queen does on its first move — a check that gains a tempo, a skewer along a diagonal or rank, or control of the other queening square. Before you start a race, put the two new queens on the board in your head.

📋 Try it — Endgame technique: White Kg1, Pg2; Black Ka2, Pb6 — White to move. Both pawns need five moves. What is the only winning move, and why do 1.g3 and 1.Kf1 lose?

Race exercise: White Kg1, Pg2; Black Ka2, Pb6; White to move

♟️ Position: White Kg1, g2; Black Ka2, b6 — White to move. FEN: 8/8/1p6/8/8/8/k5P1/6K1 w - - 0 1

Answer

1.g4! — the double step. Syzygy: g4 wins; Kh2 and Kf2 only draw; Kh1, Kf1 and g3 lose. After 1.g4 White needs four more moves (g5-g6-g7-g8) and queens one move before Black's b-pawn can; note also that a queen on g8 sits on the a2–g8 diagonal, which is exactly where Black's king stands now. After 1.g3? or a king move White is a tempo slower, and Black's pawn queens first.

🔄 Check your understanding 1. List the three steps of the race method. 2. In the a5/h4 race, why does every White king move lose rather than merely draw?

Answer

  1. Count both pawns' moves (double step included) and who moves first; check each king against the enemy pawn's square; then look at the moment of promotion — check, skewer, or control of the other queening square.
  2. Because a king move hands Black the first move in an equal race, and then Black's queen on h1 is the one that controls a8 along the long diagonal.

15.8 The Outside Passed Pawn, the Breakthrough and the King as a Fighting Piece

The outside passed pawn

An outside passed pawn is a passed pawn far from the other pawns — usually on a rook or knight file. Its value is not that it queens; it is that the defending king must go and stop it, and while the king is away, the attacking king eats the pawns it left behind. It is a decoy.

White Ke3, pawns a4 and g4; Black Ke6, pawn g5; White to move

♟️ Position: White Ke3, a4, g4; Black Ke6, g5 — White to move. FEN: 8/8/4k3/6p1/P5P1/4K3/8/8 w - - 0 1

--- outside passed a-pawn: White Ke3 Pa4 Pg4 vs Ke6 Pg5, White to move
    Syzygy: win for the side to move (DTZ 1, DTM 31)
    moves -> verdict for the opponent: Ke4:loss, Kd4:loss, Kf3:loss, Kd3:loss, Kf2:loss, Ke2:loss, Kd2:loss, a5:loss
    Black king inside the a-pawn's square? True
    the decoy plan played out: 1.a5 Kd6 2.a6 Kc6 3.a7 Kb7 4.Ke4 Kxa7 5.Kf5 Kb6 6.Kxg5; Syzygy then: loss for the side to move
--- control: the same without the a-pawn
    Syzygy: draw for the side to move (DTZ 0, DTM 0)

Black's king is inside the a-pawn's square — the pawn alone would never queen. It does not matter: every White move wins, because while Black's king spends four moves on the a-pawn, White's king spends two to reach f5 and take g5. Remove the a-pawn and the same position is a dead draw. The outside passer is worth a whole extra tempo-race, which is why strong players trade pieces into pawn endings when they have one — and why, in Chapter 2, a queenside majority that can create a distant passed pawn counts as a long-term asset.

The breakthrough

White pawns a5 b5 c5 against Black a7 b7 c7; kings on g1 and g8

♟️ Position: White Kg1, a5, b5, c5; Black Kg8, a7, b7, c7 — White to move. FEN: 6k1/ppp5/8/PPP5/8/8/8/6K1 w - - 0 1

Eight pieces — one too many for the tablebase, so we ask Stockfish at two depths (multipv 3 for the ranking, single line for the follow-ups):

    depth 20 line 1: +6.16  PV: b6 cxb6 a6 bxa6 c6 a5 c7 Kf7 c8=Q
    depth 20 line 2: +0.00  PV: Kg2 Kf7 Kf3 Ke6 Ke4 c6 a6 bxa6 bxc6
    depth 30 line 1: +6.78  PV: b6 axb6 c6 bxa5 cxb7 a4 b8=Q+ Kg7 Qb2+
    depth 30 line 2: +0.00  PV: Kf2 Kf7 Ke3 Ke6 Ke4 Kd7 Ke5 Ke7 Kd4
    after 1.b6: +7.24 (Stockfish 19, depth 26)  PV: axb6 c6 bxc6 a6 c5 Kf2 b5 Ke3
    after 1.a6: -6.16 (Stockfish 19, depth 26)  PV: bxa6 bxa6 Kf7 Kf2 Ke6 Ke3 Kd5 c6
    after 1.c6: -6.71 (Stockfish 19, depth 26)  PV: bxc6 b6 cxb6 axb6 axb6 Kf2 Kf7 Ke3
    1.b6 cxb6 2.a6 bxa6 3.c6: +7.62 (depth 26)
    1.b6 axb6 2.c6 bxc6 3.a6: +7.55 (depth 26)
    Black to move instead: -6.37 (depth 26)  PV: Kf7 Kf1 Ke6 Ke2 Kd5 b6

🤖 Engine check: 1.b6! scores +6.16 at depth 20 and +6.78 at depth 30 (Stockfish 19); the next best moves are quiet king moves at 0.00, and the other two pawn sacrifices lose (1.a6 −6.16, 1.c6 −6.71 at depth 26). The human explanation: three pawns against three on the 5th and 7th ranks, the middle pawn sacrifices itself to pull a black pawn off the b-file, the outer pawn sacrifices itself to pull away the last guard, and the third pawn walks through — two moves from queening while Black's king, on g8, needs four moves just to reach c8. After 1...cxb6 2.a6! bxa6 3.c6 or 1...axb6 2.c6! bxc6 3.a6 the engine reads +7.62 and +7.55 (depth 26). It works only because the pawns are on the 5th rank and the black king is far; with Black to move the tables turn (−6.37 at depth 26), because White's pawns are overextended and Black's king can attack them first.

The king as a fighting piece: Réti's study

The most famous demonstration that a king can do two jobs at once is Richard Réti's 1921 study. It is a constructed position, not a game, so we verify it with the tablebase:

Réti's study: White Kh8, Pc6; Black Ka6, Ph5; White to move

♟️ Position: White Kh8, c6; Black Ka6, h5 — White to move. FEN: 7K/8/k1P5/7p/8/8/8/8 w - - 0 1

--- Reti: White Kh8 Pc6 vs Ka6 Ph5, White to move
    Syzygy: draw for the side to move (DTZ 0, DTM 0)
    moves -> verdict for the opponent: Kg7:draw, Kg8:win, Kh7:win, c7:win
--- after 1.Kg7 h4 (White to move)
    moves -> verdict for the opponent: Kf6:draw, Kh8:win, Kg8:win, Kf8:win, Kh7:win, Kf7:win, Kh6:win, Kg6:win, c7:win
--- after 2.Kf6 (Black to move)
    moves -> verdict for the opponent: Ka7:draw, Kb6:draw, h3:draw, Kb5:win, Ka5:win
--- after 2...Kb6 (White to move)
    moves -> verdict for the opponent: Ke5:draw, Kg7:win, ...
--- after 2...h3 (White to move)
    moves -> verdict for the opponent: Ke7:draw, Ke6:draw, Kg7:win, ...

White's king on h8 is four moves behind the h-pawn, and Black's king is next to the c-pawn. Hopeless? 1.Kg7! is the only move that draws (1.c7?, 1.Kh7? and 1.Kg8? lose). The diagonal path h8–g7–f6–e5 is the same number of king moves as the straight path down the h-file, but it approaches both targets at once: after 2.Kf6, if Black chases the c-pawn with 2...Kb6, 3.Ke5! reaches the square of the h-pawn while still supporting c7; if Black runs with 2...h3, 3.Ke7! (or 3.Ke6) supports the c-pawn's advance in time (Syzygy: draw). King distance is measured in diagonal steps; a king moving diagonally covers two goals at no extra cost. That is the king as a fighting piece.

🔄 Check your understanding 1. In the outside-passer position, Black's king is inside the a-pawn's square. Why does White still win? 2. Why does 1.a6? lose in the breakthrough position? 3. In Réti's study, why is 1.Kg7 better than 1.Kh7 even though both are one step towards the h-pawn?

Answer

  1. Because Black's king needs four moves to deal with the a-pawn and White's king needs two to win the g5-pawn: the outside passer is a decoy, not a runner.
  2. 1...bxa6 2.bxa6 leaves White with only one passed pawn that Black's pawns and king stop, and the engine scores it −6.16 (depth 26): White has given away a pawn for nothing.
  3. g7 is on the diagonal towards f6 and e5, from which White's king can both catch the h-pawn and help the c-pawn; h7 only follows the h-pawn and is too slow for both tasks (Syzygy: 1.Kh7 loses).

15.9 Pawn Endings in Real Games

A classic: Fischer–Bisguier, USA Championship 1959

Our scan of 12,176 decisive, classical-looking games from seventeen great players' collections in the master-games database found 346 that reached a stable pure pawn ending (2.8%). One of them shows the chapter's theme in its starkest form. In round 1 of the 1959 US Championship (New York), Robert Fischer traded rooks with 42.Kxd2 into a four-against-four pawn ending:

Fischer–Bisguier 1959 after 42.Kxd2: White Kd2, pawns b2 c3 g4; Black Kc6, pawns a7 b7 c4

♟️ Position: White Kd2, b2, c3, g4; Black Kc6, a7, b7, c4 — Black to move. FEN: 8/pp6/2k5/8/2p3P1/2P5/1P1K4/8 b - - 0 42

42.Kxd2 Kd5 43.Ke3 Ke5 44.Kf3 a5 45.Ke3 a4 46.g5 Kf5 47.Kd4 Kxg5 48.Kxc4 Kf4 49.Kb4 Ke3 50.Kxa4 Kd2
51.Kb3 Kd3 52.c4 Kd2 53.Ka4 Kc2 54.Ka3 Kd3 55.Kb3 b6 56.Kb4 Kc2 57.Ka3 Kd3 58.Kb3 Kd2 59.Ka4 Kc2 60.b4 1-0

Stockfish 19 scores the starting position +0.17 at depth 24 and +0.05 at depth 30 — level. The players trade the g-pawn for the a- and c-pawns, and from 47...Kxg5 (seven pieces) the tablebase takes over: draw, move after move. Then this:

After 55.Kb3: White Kb3, pawns b2 c4; Black Kd3, pawn b7; Black to move

♟️ Position: White Kb3, b2, c4; Black Kd3, b7 — Black to move. FEN: 8/1p6/8/8/2P5/1K1k4/1P6/8 b - - 6 55

  after ply 109 (55.Kb3): Syzygy draw for side to move | moves -> opp: Kd2:draw, Ke3:win, Ke4:win, Kd4:win, Ke2:win, b6:win, b5:win
  after ply 110 (55...b6): Syzygy win for side to move | moves -> opp: Kb4:loss, c5:draw, Ka2:draw, Ka3:draw, Ka4:draw
  Syzygy line after 55...b6: Kb4 Kc2 Ka3 Kd3 b3 Kc3 Ka4 Kd4 Kb5 Ke5 Kxb6 Kd6

The kings face each other on the 3rd rank with Black to move — White has the direct opposition. Black has seven legal moves and exactly one draws: 55...Kd2, the king step that keeps Black's king next to White's pawns. Bisguier played 55...b6?, a pawn move that looks like a harmless waiting move. It is the opposite: it spends Black's only reserve tempo and puts the pawn on a square White's king can reach. After it, White has exactly one winning move — 56.Kb4!, which Fischer found — and the Syzygy line shows the plan: White's king heads for b5 and takes b6. On b7 the pawn could not be attacked from the front by a king on b5; on b6 it can.

After 55...b6?: White to move wins

♟️ Position: White Kb3, b2, c4; Black Kd3, b6 — White to move. FEN: 8/8/1p6/8/2P5/1K1k4/1P6/8 w - - 0 56

Thirteen moves of perfect defence, then one pawn move. That is the pawn ending in one picture: there was no blunder in the usual sense — no piece left hanging — just one tempo spent in the wrong place.

A modern example: Judit Polgar's outside passed pawn

Judit Polgar — widely regarded as the strongest woman player in history — reached this position against Gomez Esteban in the "Basque Country vs World" event at Santurtzi, 2003, after trading rooks with 47...Kxd6:

Judit Polgar–Gomez Esteban 2003 after 47...Kxd6

♟️ Position: White Kf3, b2, f2, f5, h3; Black Kd6, b4, f6, g7, h6 — White to move. FEN: 8/6p1/3k1p1p/5P2/1p6/5K1P/1P3P2/8 w - - 0 48

48.Ke4 Kc5 49.b3 h5 50.h4 Kc6 51.Kd4 Kd6 52.f4 Kc6 53.Kc4 Kd6 54.Kxb4 Kd5 55.Ka5 Ke4 56.b4 Kxf5
57.b5 Kxf4 58.b6 Kg4 59.b7 Kxh4 60.b8=Q g5 61.Qh2+ Kg4 62.Qe2+ Kh4 63.Qf2+ Kg4 64.Qxf6 h4 65.Qf2 Kh3 66.Qf3+ 1-0

Material is level (four pawns each) but Stockfish says +5.84 at depth 24 and +6.31 at depth 30. Why? Look at the structure: Black's b4-pawn is weak and isolated, and once White's king takes it (54.Kxb4), White's b-pawn becomes an outside passed pawn on the far side of the board from everything else. Polgar's play is the textbook plan in order: centralise (48.Ke4), fix the kingside (50.h4, 52.f4), win the weak pawn with the king (54.Kxb4), then push the outside passer.

After 56...Kxf5: White to move — Black's king has eaten two pawns, but the b-pawn runs

♟️ Position: White Ka5, b4, f4, h4; Black Kf5, f6, g7, h5 — White to move. FEN: 8/6p1/5p2/K4k1p/1P3P1P/8/8/8 w - - 0 57

     SF19 depth 24: +6.40 b5 g5 b6 Kg4 b7 Kxh4
     SF19 depth 30: +7.30 b5 Kg4 b6 Kxh4 b7 g5
  race count after 56...Kxf5: {'white': {'pawn': 'b4', 'moves': 4, ... 'enemy_king_in_square': True}, 'black': None}
  after 57...Kxf4 (7 pieces): Syzygy win for side to move | b6:loss, Ka4:loss, Kb4:loss, Ka6:loss, Kb6:loss

Here the race counter makes a teaching point by itself: Black's king is technically inside the b-pawn's square (four moves to b8, four to stop it), but it cannot both stop the pawn and keep eating, and once it turns around White's king is free. Black chose to eat; White queened with 60.b8=Q, and the queen against Black's remaining pawns was a routine win (Syzygy: every White move at move 58 wins).

What the data say: how often do players throw pawn endings away?

The two games are anecdotes. To see the pattern we replayed every game in the data snapshot that could have passed through a pure pawn ending and carries engine evaluations — 50,662 games (25,733 OTB broadcast games with relay evals, 24,929 Lichess games with server evals, BOT games excluded) — and found 34,243 that reached a stable pure pawn ending. For every move we measured the mover's win-% drop (the book's definition from Chapter 1, Lichess win-% model, evals clipped at ±10 pawns), and we compared the pawn-ending moves with the earlier moves of the same games: other endgame moves and middlegame moves.

⚠️ Common pitfall: The first table we computed said that pawn endings are the safest phase: 2.0 blunders per 100 moves in OTB classical pawn endings against 3.1 in the middlegame of the same games. That is an artefact. Most pawn-ending moves are played in positions that are already decided — only 30% of OTB classical pawn-ending moves start from an undecided position (mover's win% between 25 and 75), against 85% of middlegame moves — and you cannot lose 15 win-% points from a position that is already 98% won or 2% lost. Compare like with like.

A. Blunders (and mistakes) per 100 moves, same games, by segment
  OTB classical (games 11,472):
     1600-1799: pawn: n=36,674 bl 2.3 | undecided 24% of moves, bl 5.5 | endgame_other: ... undecided 47% of moves, bl 5.5 | middlegame: ... undecided 84% of moves, bl 3.3
     2000-2199: pawn: n=20,350 bl 1.5 | undecided 39% of moves, bl 2.3 | endgame_other: ... undecided 63% of moves, bl 3.2 | middlegame: ... undecided 89% of moves, bl 2.0
         2400+: pawn: n=6,905 bl 1.1 | undecided 65% of moves, bl 1.2 | endgame_other: ... undecided 76% of moves, bl 1.7 | middlegame: ... undecided 94% of moves, bl 0.8
           ALL: pawn: n=161,111 bl 2.0 | undecided 30% of moves, bl 3.9 | endgame_other: n=543,961 bl 3.2 | undecided 53% of moves, bl 4.3 | middlegame: n=412,628 bl 3.1 | undecided 85% of moves, bl 2.9
  Lichess blitz (games 8,229):
     1200-1399: pawn: n=14,042 bl 4.9 | undecided 20% of moves, bl 12.4 | ... middlegame: ... undecided 60% of moves, bl 12.7
     1600-1799: pawn: n=26,584 bl 4.9 | undecided 25% of moves, bl 10.4 | ... middlegame: ... undecided 71% of moves, bl 8.6
           ALL: pawn: n=132,066 bl 4.5 | undecided 26% of moves, bl 9.1 | endgame_other: ... undecided 41% of moves, bl 9.3 | middlegame: ... undecided 70% of moves, bl 8.6

(Excerpt; the full table for five sets and all bands is printed by code/07_kp_endings_data.py.)

Bar charts: blunders per 100 moves in pawn endings, other endgames and middlegames, all moves and undecided positions only

📊 Figure (described): Four panels — Lichess blitz (left) and OTB classical (right); all moves (top) and undecided positions only (bottom) — with one bar per phase in each rating band. In the top row pawn endings look safest everywhere. In the bottom row, over the board, the pawn-ending bars are as high as or higher than the middlegame bars in every band (5.5 vs 3.3 blunders per 100 undecided moves at FIDE 1600–1799, 1.2 vs 0.8 at 2400+); online blitz shows the same pattern from 1400 to 1999 and equal or slightly lower pawn-ending rates elsewhere.

Read correctly, the data support the old saying that "one wrong move turns a win into a draw", in a precise form: when the result is still open, a move in a pawn ending is at least as likely to throw away 15 win-% points as a middlegame move, and over the board noticeably more likely — about 1.3 times overall in OTB classical (3.9 vs 2.9 per 100 undecided moves) and about 1.7 times at FIDE 1600–1799. And at every level, the absolute error rate in undecided pawn endings falls steeply with rating: from 6.1 per 100 moves at FIDE 1400–1599 to 1.2 at 2400+. Pawn-ending technique is one of the clearest skills that separates rating bands.

Chapter 14 found the same split for the smallest case: Lichess blitz and rapid players failed to win 20.4% of theoretically won K+P vs K positions, against about 2% over the board. How often does a game that reached a pawn ending contain at least one such blunder inside the pawn ending? 13.9% of OTB classical games (n = 11,472), 17.8% of OTB rapid and blitz (5,726), 25.4% of Lichess rapid and classical (6,221), 28.5% of Lichess blitz (8,229) and 32.8% of Lichess bullet (2,354). The faster the game, the more pawn endings flip.

Conversion of clearly won pawn endings. Take the first stable pawn-ending position and keep the games where the eval says one side is clearly winning (|eval| ≥ 5.00 pawns). How often does that side actually win?

B. Pawn endings called clearly won (|eval| >= +5.00) at the first stable pawn-ending position
  OTB (all speeds): n = 11,620; side ahead wins 94.6%, draws 3.8%, loses 1.4%
  Lichess blitz: n = 5,649; side ahead wins 83.9%, draws 9.1%, loses 7.0%
  Lichess rapid+classical: n = 4,544; side ahead wins 86.9%, draws 8.9%, loses 4.2%
  Lichess bullet: n = 1,547; side ahead wins 73.7%, draws 10.7%, loses 15.6%

Conversion rate of clearly won pawn endings by rating band, OTB and Lichess

📊 Figure (described): Share of clearly won pawn endings (eval ≥ +5.00 at the first stable pawn ending) that were won, by rating band, with 95% error bars. OTB games sit at 94–96% in every band. Lichess rapid/classical runs 85–91%, Lichess blitz 79–86%, Lichess bullet 71–76%. The time control moves the line far more than the rating band does.

This is a striking result: the conversion of a won pawn ending depends much more on the clock than on the rating. OTB players at FIDE 1400–1599 convert 93.7% (n = 1,261) — about the same as players at 2200–2399 (96.2%, n = 955). Lichess blitz players convert 82–86% in most bands, and in bullet roughly one won pawn ending in four is not won. A pawn ending demands counting, and counting takes time. Two caveats: the eval is the stored relay or server eval (indicative, not a tablebase verdict), and some "failures" are flagged games or time losses on another board; but the pattern across 23,360 games is consistent.

The king as a fighting piece — in the data. Finally, the oldest advice in pawn endings: centralise your king. In equal-pawn pawn endings we measured each king's distance (in king moves) to the nearest centre square (d4, d5, e4, e5) at the first stable pawn-ending position, and scored White by the difference:

C. Equal pawns at the first stable pawn ending: White score by king-centrality edge
  OTB (n = 5,975):
edge   n  white_score  mean_eval
-2   605        0.383     -2.122
-1  1312        0.461     -0.615
 0  1876        0.502      0.237
 1  1352        0.573      1.036
 2   615        0.636      2.198
  Lichess (n = 4,970):
-2   473        0.448     -1.414
 0  1540        0.506      0.204
 2   509        0.584      1.869

White's score in equal-pawn pawn endings by king-centrality edge, OTB and Lichess

📊 Figure (described): White's score (y) against the king-centrality edge (x, from −3 to +3 king moves). Both lines rise steadily: OTB from 31.9% at −3 to 63.6% at +2, Lichess from 42.6% to 65.9% at +3. With equal pawns, each king move of extra centralisation is worth roughly four to eight percentage points of score OTB in these data, somewhat less online.

With pawns equal, the side whose king is two moves closer to the centre scores 63.6% OTB (n = 615) and 58.4% on Lichess (n = 509); a one-move edge is worth 57.3% OTB. This is association, not a controlled experiment — the side with the active king often got it because the position before the trade favoured them — but the mean engine eval moves in step with it (+2.20 pawns for a two-move edge OTB), which is the engine's way of saying the same thing: in a pawn ending, the active king is a material advantage.

🤖 Engine check: Why is a central king worth two pawns of evaluation? Count squares and distances. From d4 a king reaches any pawn on the board in at most four moves; from a1 it may need seven. In a race decided by one tempo, three tempi are three times the margin. Stockfish's search sees the races to the end; the number +2.20 is simply the average of the races the central king wins.

🔄 Check your understanding 1. Why did the first, naive comparison make pawn endings look like the safest phase? 2. Which matters more for converting a clearly won pawn ending in our data: rating band or time control? Give one number for each. 3. What single move cost Bisguier the draw, and what was the only drawing alternative?

Answer

  1. Because most pawn-ending moves are played in already-decided positions (only 30% undecided in OTB classical vs 85% in the middlegame), where a large win-% drop is impossible. Restricted to undecided positions, pawn-ending error rates are as high or higher.
  2. Time control. OTB conversion is 93.7% at FIDE 1400–1599 and 96.2% at 2200–2399 — nearly flat — while Lichess bullet converts 73.7% overall against 94.6% OTB.
  3. 55...b6?; only 55...Kd2 held (Syzygy).

15.10 At Different Levels — and Where Engines and Humans Disagree

At 1200. Most pawn endings at this level are decided by races and by the square: a pawn runs and the other king cannot catch it, or a king takes undefended pawns. The single most valuable habit is the count: before trading the last pieces, count both sides' races and check the square. Learn KPK with the opposition and the key squares cold — the hook position is not "advanced theory", and our data say that in Lichess blitz at 1200–1399 an undecided pawn-ending move is a blunder 12.4 times in 100.

At 1600. Players know the opposition but misuse it: they take the direct opposition when the distant one was needed (15.4), they push the pawn too early and lose the reserve tempo (15.3), and they underrate the outside passed pawn when deciding whether to trade into a pawn ending. Over the board at FIDE 1600–1799, undecided pawn-ending moves are blunders 5.5 times in 100 against 3.3 in the middlegame of the same games — the biggest relative gap in the table.

At 2000+. Now the questions are whether to enter the pawn ending at all (a question of transitions that returns in the later endgame chapters), corresponding squares and triangulation, breakthroughs, and the precise counting of multi-pawn races. Even here, a won ending can slip, as Golod–Ben Ari shows — and at 2400+ the extra-pawn pawn ending is no sure thing: the side a pawn up wins only 43.9% of OTB pawn endings at 2400+ (15.1).

Engine versus human. In pawn endings the engine's weakness is the horizon. In the Ed. Lasker–Capablanca ending (Case Study 1) Stockfish 19 rates the position after 31.bxc4 at −2.77 at depth 24 and at −5.47 at depth 30 — the same position, six plies deeper, a verdict that moves from "clearly better" to "winning". Long pawn races with many tempo moves sit just beyond the horizon at moderate depths. Two rules follow: with seven pieces or fewer, ask the tablebase, not the engine; with more, show two depths, and distrust any pawn-ending eval that changes between them.

⚠️ Common pitfall: Trusting an engine's modest number in a pawn ending. "−2.77" in a middlegame means "clearly better"; in a pawn ending it can mean "the engine has not yet seen the race that decides it" — at depth 30 the same position is −5.47. Pawn endings are binary. If the eval is between about −1.5 and +1.5 and the position has more than seven pieces, search deeper or count the races yourself.


Spaced Review

Before you read each answer, try to produce it from memory.

  1. From Chapter 2: what is a pawn majority, and why does a queenside majority become especially valuable once the pieces come off? (Because it can produce an outside passed pawn — the decoy of 15.8 — far from the kings, which usually sit on the kingside after castling.)
  2. From Chapter 10: what is a forcing line, and why are pawn races the easiest positions to calculate to the end? (A pawn race is a sequence of nearly forced moves with very few candidates per move; the tree is narrow, so counting is exact — and Chapter 10's "count, then verify" method applies directly.)
  3. From Chapter 13: what did the clock data say about blunder rates when time runs short? (OTB classical middlegame blunders rose from 1.81 to 5.40 per 100 moves as the clock ran low.) Connect it to 15.9: OTB conversion of clearly won pawn endings stays at 94–96% in every band, while Lichess bullet converts 73.7% — the clock, not the rating, is the main driver.
  4. From Chapter 14: state the rule of the square. Now add what this chapter showed: it is right 99.99% of the time when it says "win" and only 64.1% when it says "draw", because it ignores the attacking king.

Project Checkpoint: pawn_endings.py

Dev: "So the tablebase already knows every answer. Why am I writing a solver?"

Lena: "Because the tablebase tells you what. I want to know why I lost that ending on Thursday."

Dev: "Fine — then the solver has to explain itself. Opposition, key squares, the square, the race. And I test every one of them against the exact answer."

This chapter's module is project/outpost/pawn_endings.py. Its public functions:

Function What it does
kpk_table(), build_kpk() exact KPK bitbase by retrograde analysis (38 passes, ~5 s; cached in outpost/data/kpk_bitbase.npz)
kpk_probe(board), kpk_best_moves(board) win/draw and plies to promotion for any KPK position; every move graded
mutual_zugzwangs() the 80 (files a–d) positions where the side to move is worse off
opposition(board) direct / distant / diagonal / rectangular opposition and who holds it
key_squares(pawn, color), derived_key_squares(pawn) textbook rule and exact key squares
in_square(...), moves_to_queen(...) rule of the square with the double-step correction
race(board), passed_pawns(board, color) tempo count for pawn races
solve_blocked_pair(wp, bp), solve_locked_structure(wps, bps, terminal_value) exact king-manoeuvring solutions for blocked and locked pawn structures (triangulation finder)
tb_probe(fen), tb_line(fen, plies) the toolkit's Syzygy probe with a local cache, and a best-play line
pawn_ending_report(board) all of the above in one dictionary

The demo (python code/project_checkpoint.py) runs the report on the hook position:

1. pawn_ending_report(hook):
   fen: 8/8/8/5kp1/8/8/4K3/8 b - - 0 64
   pure_pawn_ending: True
   pawns: {'white': 0, 'black': 1}
   opposition: {'type': None, 'holder': None, 'file_gap': 1, 'rank_gap': 3}
   passed: {'white': [], 'black': ['g5']}
   key_squares: {'g5': {'squares': ['f3', 'g3', 'h3'], 'king_on_key_square': False}}
   square_rule: {'g5': {'defender_catches': True}}
   race: None
   kpk: {'pawn_side': 'black', 'result': 'win', 'plies_to_promotion': 13}

2. kpk_best_moves(hook): [('Kg4', 'win', 13), ('Ke4', 'win', 23), ('Kg6', 'draw', None), ('Kf6', 'draw', None), ('Ke6', 'draw', None), ('Ke5', 'draw', None), ('Kf4', 'draw', None), ('g4', 'draw', None)]

4. self-test against Syzygy verdicts cached by this chapter's scripts
   20/20 KPK positions agree with Syzygy

Read the report the way Lena would: Black's pawn is passed, its key squares are f3/g3/h3, Black's king is not on one yet, the kings are not in opposition (file gap 1, rank gap 3), and the exact answer is a win in 13 plies — but only via two of eight moves. The report turns "I lost a won ending" into "I had to reach a key square, and only Kg4 or Ke4 did that."

The module is deliberately honest about its limits: the KPK bitbase and the blocked-pair solver are exact; solve_locked_structure is exact given the scores you give it for positions after a pawn capture (we used Stockfish at depth 16 and then checked the one interesting hit with Syzygy); race() is a count, not a proof. In Chapter 16, rook_endings.py will reuse tb_probe for Lucena and Philidor positions; Chapter 18's conversion tables will call pawn_ending_report whenever a game trades down into a pawn ending; and Chapter 40's report generator will flag every pawn ending in your games where kpk_best_moves (or the tablebase) disagrees with the move you played.


Chapter Summary

Principle What to check at the board What the exact solution / data showed
The opposition Even file and rank distance between the kings, opponent to move 148 of 160 KPK mutual zugzwangs (92.5%) are opposition positions; baseline 26.6%
Key squares Pawn on 2nd–4th rank: two ranks ahead; 5th–6th: next two ranks; rook pawn: b7/b8 (g7/g8) Textbook rule exact for 11 of 15 non-rook squares; exceptions: double step, knight-pawn stalemate, rook pawn
Spare tempo King two squares in front of the pawn wins whoever moves Ke4/Pe2 vs Ke6: won with either side to move (1.e3! passes)
Distant / diagonal opposition Take it early, from far away Only-move positions: 48 + 90 for the attacker, 166 + 117 for the defender (pawn b–d, ranks 2–4)
Rule of the square Count, with the double step; then look at the other king "Outside → win" right 99.99%; "inside → draw" only 64.1%, 33% with the attacking king adjacent
Triangulation A triangle passes the move — if the defender has only two squares Never needed in 16 single blocked pairs; appears with asymmetric structures (Kb4 example, Syzygy-verified)
Races Count both, then put the two queens on the board Equal 3-move race: whoever moves first wins via the long diagonal
Outside passed pawn A decoy, not a runner Ke3/a4/g4 vs Ke6/g5 wins with every move; without the a-pawn, draw
Breakthrough Three vs three on the 5th: sacrifice the middle pawn 1.b6! +6.78 (SF19 d30); 1.a6 −6.16, 1.c6 −6.71 (d26)
Active king Centralise before the trade Equal pawns: +2 king-centrality edge scores 63.6% OTB (n = 615)
In practice Time is the enemy Won pawn endings converted 94.6% OTB vs 73.7% Lichess bullet; undecided pawn-ending moves blundered 1.3× as often as middlegame moves (OTB classical)

Decision checklist for a pawn ending:

  1. Is it ≤ 7 pieces? (In analysis: ask the tablebase. At the board: pretend you must.)
  2. Find every passed pawn and its key squares. Whose king is closer to them?
  3. Count every race, double step included. Then put the new queens on the board.
  4. Check the opposition: both distances even, opponent to move? If the attacker has no spare pawn tempo, the opposition decides.
  5. Before any pawn move, ask: am I spending my last reserve tempo?
  6. If you need to pass the move, look for a triangle — and check whether the enemy king has one too.
  7. Before trading into a pawn ending: who has the outside passer, the more active king, the extra tempo?

What's Next

Pawn endings are the foundation every other ending stands on: in rook, minor-piece and queen endings, the question "what happens if everything else is traded?" is answered by this chapter. In Chapter 16 we move to the most common endgame type on the board — rook endings — where the rook's activity replaces the king's as the deciding factor, and where Lucena and Philidor play the role the opposition played here.