The rule of the square is a quick way to decide whether a king can catch a passed pawn. Draw an imaginary diagonal from the pawn to its promotion rank, then complete a square. If the defending king is inside that square, or can enter it on its next move, the king can catch an unsupported pawn. If the king stays outside, the pawn promotes.
Use Back and Forward to watch the square shrink after every pawn move. The current FEN is copyable at each step. When the idea is clear, choose Endgame Student or Endgame Master and continue the full position from the original setup.
What is the rule of the square in chess?
The rule turns a pawn race into a piece of simple geometry. Start on the pawn's square. Count the squares from the pawn to the promotion rank, including the promotion square. Use that same distance sideways to make an imaginary box.
In the lesson, White has a pawn on c4. It needs four moves to reach c8, so the square runs from c4 to c8 and across to g4 and g8. Black's king is on h7, just outside the box. White moves first, so 1.c5! makes the box smaller before the king can enter.
Position to remember: 8/7k/8/8/2P5/8/8/6K1 w - - 0 1. The Syzygy tablebase classifies the position as a win for White. The fastest clear plan is to push the pawn immediately.
Why the pawn must move now
The square is not fixed. It shrinks every time the pawn moves. After 1.c5, the pawn needs only three moves to promote, so the box reaches only as far as the f-file. Black may run toward the pawn, but it cannot recover the lost distance.
This is why the rule saves calculation. You do not need to imagine every king step first. Compare the king's location with the pawn's box, check whose turn it is, and then verify that the pawn has a clear path.
Syzygy also adds an important detail. In this exact position, 1.c5 is the shortest winning move. 1.Kf2 also wins, but several other waiting king moves allow a draw. The practical lesson is not that every king move fails. It is that a pawn which already wins the race should not be delayed without a reason.
The four-step memory rule
- Trace: draw a diagonal from the pawn to the promotion rank.
- Box: complete the same distance sideways.
- Turn: check which side moves next.
- Path: confirm that no piece blocks the pawn or changes the race.
The compact recall phrase is: trace, box, turn, path. It prevents the most common mistake, which is seeing the king outside the square but forgetting that the king may move first.
Why the side to move changes the result
Keep every piece on the same square, but give Black the first move. The new FEN is 8/7k/8/8/2P5/8/8/6K1 b - - 0 1. Now 1...Kg7 enters the box before White can shrink it. Syzygy classifies this version as a draw.
A legal sample line is 1...Kg7 2.c5 Kf6 3.c6 Ke6 4.c7 Kd7 5.c8=Q+ Kxc8. The black king reaches the promotion square in time and captures the new queen. The final bare-kings position is a draw.
This example explains the phrase "or can enter on its next move." A king just outside the square may still catch the pawn when it moves first. A pawn moving first may shrink the square before the king arrives.
Common square-rule mistakes and limits
1. Forgetting the pawn's first two-square move
A pawn on its starting rank may be able to move two squares. If that move is legal, the square can shrink faster than a one-step count suggests. Recalculate after the actual pawn move instead of using a box that no longer matches the position.
2. Using the rule when the path is blocked
The shortcut assumes the pawn can run straight to promotion. A piece in front of the pawn, a capture on another file, or a forced check changes the calculation. Use the square as a first test, then look at the real board.
3. Ignoring the supporting king
The rule asks whether a lone defending king catches an unsupported runner. If the pawn's king can block the defender or control an entry square, a king inside the box may still fail to catch the pawn. That becomes a normal king-and-pawn endgame, where key squares and opposition also matter.
4. Treating every pawn ending as a race
The rule does not solve blocked pawn chains, several connected passers, or positions with pieces that can give checks. It answers one narrow question: can this king catch this running pawn on an open path?
5. Forgetting the promotion move
Count the move that places the pawn on the last rank. A pawn on c7 still needs one move to become a queen. The defending king must reach the promotion square in time to stop or capture it.
How to practise the rule of the square
Replay the lesson until you can predict whether the king is inside the new square before pressing Forward. Then return to the first step and explain the decision in one sentence: "White moves first, shrinks the box, and promotes before the king enters."
Next, choose Endgame Student or Endgame Master. You play White from the exact starting FEN. Continue from the starting setup and calculate the game from the board in front of you. Choose an endgame opponent and play to the natural result.
The opponent may choose a different legal king route from the demonstration. Do not expect it to repeat ...Kh6. Rebuild the square after every move, check for a clear path, and finish the game rather than resetting when the line changes.
Draw the pawn's square, check whose turn it is, and confirm the path is clear. A king inside the square can catch an unsupported pawn. A king outside it cannot, unless it gets the first move and can enter before the square shrinks.
What to study after the square rule
The square rule solves a race between a lone king and a running pawn. The next step is learning what happens when both kings are involved. The guide to chess zugzwang and opposition explains how one king forces the other to give way.
For the wider picture, read the essential chess endgame techniques or continue directly in the Endgame School. You can also copy any lesson FEN into Play Positions for a separate setup.
How this article was checked: Olivers Grants wrote the lesson for practical chess learners. Developer and ML researcher Uldis Briedis reviewed the implementation. Every displayed move was replayed with chess.js. The starting result, each lesson snapshot, and the same-placement side-to-move exception were checked against the Syzygy tablebase.