Tera Chess My training

The Rule of the Square in Chess Pawn Endgames

See when the king can catch a passed pawn, when the two-square push wins, and when an escort changes the route.

The checked Board A position. White king a1 and pawn d5, Black king h5.
The checked starting position for Board A, placed over a generated tabletop.

The rule of the square in chess tells you whether a king can catch a passed pawn that can run straight to promotion. Draw a square from the pawn toward its promotion rank, extending the same distance sideways toward the defending king. If the pawn moves first, judge whether the king can get into the smaller square after that move. If the king moves first, judge whether it can enter the original square. The boundary counts. Then look for anything that blocks the king’s route or changes the speed of the pawn.

The first exercise gives Black exactly enough time to capture a newly promoted queen if Black moves first. The second shows why a pawn on its starting rank can run one move faster than it looks. The third leaves the king inside the square and takes away the legal path it needs.

How to draw the pawn’s square

Start with a white passed pawn on d5. A passed pawn has no enemy pawn ahead of it on its file or on either adjacent file. The pawn still needs a clear path and enough time. From d5, it reaches d8 in three moves if it can advance on each turn.

  1. Find the promotion square. Follow the pawn along its file. A white pawn on d5 heads for d8. A black pawn on d4 heads for d1.
  2. Mark the far corner toward the king. Black’s king is to the right of the white pawn, on h5. Start on d5 and make three diagonal steps toward the promotion rank. You land on g8.
  3. Join the four corners. The corners are d5, d8, g8 and g5. The travel distance is three moves. The shaded region spans four squares across because it includes both endpoints.
  4. Give the next move to the correct side. If Black moves first, test a king move into the region you drew. If White moves first, play the pawn step in your head, draw the new region, and see whether Black can reach it.

The rule works because a king can gain one file and one rank with a single diagonal move. A king at h5 is four files away from d8 and three ranks below it. Four king moves are enough on a clear route. The pawn needs three advances. If the king gets the first move and can capture immediately after promotion, it has four turns available. If the pawn moves first, the king has only three turns including that possible capture.

In a pure race, you can remember two questions. Can the king enter the square on its next turn? Can it make the final capture legally? The first is a shortcut. At the boundary, use the second to finish the line. Chess.com’s illustrated pawn-square explanation

Play a pawn race from each side

The first two buttons show identical piece placements with a different side to move. The board keeps the same orientation so you can compare the king’s route. Play a legal first move and use the move buttons to see one checked continuation. Before looking at the answer, name the number of pawn advances and the square the king needs to reach.

Board A · One turn decides the d-pawn race

White pawn d5 and king a1, Black king h5. The highlighted square covers files d through g and ranks 5 through 8.
Before the pawn moves, the boundary reaches g5 and g8. Black’s king can enter on g5 or g6 if it moves first.
White pawn advanced to d6. The highlighted square now covers files d through f and ranks 6 through 8. Black king remains on h5.
After d6, the boundary has moved to the f-file. The king on h5 can reach the g-file in one move.
Compare a safe promotion and a promotion that gets captured

White moves first. Play 1.d6 Kg6 2.d7 Kf7 3.d8=Q. Black’s king reaches f7 by the time the pawn promotes. It would need to be one square closer to capture d8. White keeps the queen and the win. If White spends the first move on the king, Black can enter on g6 before White advances the pawn.

Black moves first. Play 1…Kg5 2.d6 Kf6 3.d7 Ke7 4.d8=Q+ Kxd8. White did reach d8 and even gave check. Black’s king on e7 is close enough to take the unprotected queen. The two kings left on the board make the game a draw. 1…Kg6 also catches, using f7 on the way to e7.

Try 1…Kg4? with Black to move. Compared with g5, g4 is one rank farther from promotion and outside the original square. White can play 2.d6 Kf5 3.d7 Ke6 4.d8=Q. The defender improved its file on every turn and arrived one rank short. Choose a move by checking where it lands in the square.

Staying on the shaded edge is enough in the clear race. After …Kg5, Black follows the diagonal route g5–f6–e7–d8 as White advances. The king needs no extra room beyond the boundary. If you want a quick way to check your count, stop one turn before promotion and name the square the king must occupy. Here it is e7.

Board B · Count a starting pawn’s double step

White pawn b2 and king h1, Black king h4. The effective square spans b3 through g8 because the pawn can move two squares.
For a pawn on b2 with a clear double step, count five moves. The effective square begins on b3 and reaches the g-file.

The white pawn starts on b2 and has a clear route to b4. If you count six single advances, you would shade a square from b2 toward h8, with Black’s king on h4 inside. The fastest legal route is b4, b5, b6, b7, b8. It takes five moves. Draw the square as if the pawn started one rank farther forward, on b3, to represent the move it saves. The boundary is one file closer, on g. The king on h4 is outside. FIDE Laws of Chess, article 3.7.2

Play the one-step and two-step starts

1.b4! Kg5 2.b5 Kf6 3.b6 Ke7 4.b7 Kd7 5.b8=Q. The pawn promotes a move before the king can reach a square next to b8. After White’s initial double step, the pawn is already on b4 and the new square reaches only f8. Black’s first step to g5 falls outside it.

1.b3? Kg5 2.b4 Kf6 3.b5 Ke7 4.b6 Kd7 5.b7 Kc7 6.b8=Q+ Kxb8. The extra turn lets Black get to c7 before promotion. Compare the last two positions. In the winning line the black king is on d7. In the drawing line it is on c7.

The b3 square in the picture is a counting aid for the legal double step. You still make the whole move to b4 and then hand the turn to Black. If b3 or b4 is occupied, inspect the legal moves first. If you can move only one square, count one. If the pawn is blocked completely, calculate how it can get free before drawing conclusions from its square.

Board C · A king inside the square can run out of legal steps

Return to the pawn on d5 and place Black’s king on g7. Put White’s king on e6. After White plays 1.d6, Black can enter the new square with 1…Kf8. With White’s king far away, Black can step through f7 and e7 to take on d8. With the king on e6, those steps are closed.

After White plays d6, Black king g7 can enter the highlighted square at f8. White king e6 attacks f6 and f7, the two highlighted blocked entry squares.
After d6, f6 and f7 are covered by White’s king. The entry on f8 is legal, but the path to d8 is cut off.

After 1.d6 Kf8 2.d7, Black would like to reach e7 or e8. White’s king covers e7 and White’s pawn covers e8. Play 2…Kg8 3.d8=Q+ to see the pawn promote safely. If you put White’s king back on a1 and keep the other two pieces fixed in the starting position, the same pawn push can be met by 1…Kf7 2.d7 Ke7 3.d8=Q+ Kxd8. Ask which square the escort changes before you try to remember the line.

Use the same route check in a fuller endgame. A pawn on the defender’s side can sit on the square its own king needs. A check from another piece can cost the runner a turn. A promotion with check can interrupt a second pawn’s race, provided the new piece survives. Walk through the candidate checks and the final capture whenever one of these details appears. IM Andrey Ostrovskiy’s pawn-square lesson on Lichess

How to stop a pawn before it reaches promotion

Put White’s king on a1 and a white pawn on f5. Black’s king is on d7, and White moves first. The square extends to the left this time, from f5 to c8. After 1.f6, draw it again. It spans files d through f and ranks 6 through 8. Black’s king is already inside, so look for a route to the pawn.

Reaching e7 would get Black closer, but the pawn on f6 attacks e7. Play 1…Ke8 instead. The king steps diagonally from d7 to e8 and stands next to f7. If White plays 2.f7+, Black can answer 2…Kxf7. The defending king takes the pawn a rank before promotion. The pawn’s check changes which responses are legal. The capture resolves the check and ends the race.

White can also wait with 2.Kb2. Black now plays 2…Kf7 and occupies the square directly ahead of the pawn. The pawn has no forward move and no piece to capture diagonally. If White continues bringing its king with 3.Kc3, Black can take the pawn on f6. In both lines, the king stops the pawn because it has a legal path in front of it.

Set up that position without reading the line again. Point to e7, say why the king can’t go there, then find e8. In a game, check the squares the pawn attacks after each push. A square your king could use a turn ago may be covered now. If a different route gets you in front of the pawn, take it before you lose that option.

There is a practical difference between arriving in time to occupy a square and arriving in time to capture on it. If the king can blockade the pawn, calculate how the attacking king might remove the blockade. If you plan to wait until promotion, name the capture and check whether the promoted piece is defended. Those checks matter even when the square looks obvious.

Use the rule in your next game review

Pick a completed game with a passed pawn and save the position before anyone committed to the race. Write down the promotion square, the side to move, and the king’s first step. Play the line through the first promotion or capture. If you were wrong, circle the exact lost turn or blocked square. “I counted six moves for a pawn that could double-step” gives you a specific habit to revisit the next time a pawn stands on its starting rank.

For a quick transfer exercise, set up Board A with the colors and ranks reversed. Black’s pawn is on d4, Black’s king is on a8, and White’s king is on h4. Black moves first. Point to d1 before drawing the square, then check whether White’s next move gets to the new boundary. Solve it again with White moving first. You can use the position strings in the card to check your work on an analysis board.

A defending king that can stop the pawn still has to deal with the rest of the position. If the attacking king is close enough to take over from the runner, check how it can get in front of the pawn. Start with the paired positions in the guide to opposition in king and pawn endings.

When the pawn needs an escort, find the key square the attacking king needs to reach before you spend a move on the pawn.

Download the pawn square practice cardReview your own completed games

How the examples were checked

The teaching positions were composed for this guide. Python-chess verified move legality, and Syzygy confirmed the win or draw after each of the 20 legal first moves and at each step of the replays. A Syzygy tablebase stores solved outcomes for endgames with few pieces. The gold regions in the diagrams show the squares described in the captions. The cover’s position comes from Board A and was rendered over a generated tabletop. Lichess tablebase documentation