The Rule of the Square
The rule of the square is the fastest way to tell whether a lone king can catch a passed pawn — count the box, not the moves. In the position below, White's pawn on e6 and king on c6 face a Black king all the way on g1: the engine's first move is e7, pushing immediately because the pawn already queens.
Find the winning move, then play on against the engine
Free, no signup — you play white, the engine adapts to your level.
You just applied the rule of the square and promoted against the engine. Create a free Chessy account to drill pawn endgames with AI coaching that explains each key moment.
Create a free account →The position: the king is too far
White to move. White king on c6, White pawn on e6, Black king on g1. The engine evaluates this as mate in 21 at depth 16 — once the pawn queens, the resulting K+Q vs K is a straightforward forced win. The correct first move is e7: push the pawn immediately. Black's best response is Kg2, then White plays Kc5, continuing to escort the pawn while the Black king scrambles far too late. The pawn will reach e8 and promote before Black's king can interfere.
How to apply the rule of the square
You don't need to count individual moves. Draw an imaginary square:
- Find the pawn's current square (e6 here).
- Count the number of ranks to the promotion square (e6→e8 = 2 ranks).
- Draw a square of that size toward the promotion rank. Here: e6→e8 (two up), then two files right → g8, then back down to g6. The square is e6–e8–g8–g6.
- Can the enemy king step INTO that square on its next move? Black's king is on g1 — it cannot reach g6, g7, g8, f6, f7, f8, e6, e7, or e8 in one move. It is outside the square — the pawn promotes.
If the enemy king is already inside the square, or can step in on its move, it catches the pawn. If not, push with confidence.
The principle: geometry beats calculation
The rule works because a king and a pawn both move exactly one square per turn. The pawn needs N moves to promote; the king needs to reach any square in that N×N box within N moves to intercept. Counting the box is a pattern, not a calculation — once you internalize it, you spot it in two seconds. The key practical detail: it's Black's move that matters for stepping in. If the side with the pawn moves first (as here), count the square for the current position and ask whether the enemy king can step in on its upcoming turn. If it's the defending side's turn to move, the king may catch a pawn it otherwise couldn't — always check whose move it is.
When the rule fails and common mistakes
Three situations where the rule of the square doesn't give the full answer:
- A rook's pawn (a- or h-file). A king that catches an a- or h-file pawn can still draw if it reaches the promotion corner, because the defending king traps the winning king in stalemate patterns. The square rule tells you the pawn promotes — it doesn't guarantee a win.
- The defending king is inside but blockaded. Pieces or pawns can obstruct the king's path even inside the square. Always verify there's a clear route.
- Whose move it is. The single most common mistake: forgetting that a one-move difference flips the outcome entirely. Always identify the side to move before applying the rule.
In this specific position none of these exceptions apply — the pawn is on the e-file, Black is to move next, and there are no obstructions. Push e7 and escort it home.
Frequently asked questions
What is the rule of the square in chess?
The rule of the square is a quick method to determine whether a lone king can catch a passed pawn without calculating every move. You draw an imaginary square from the pawn to the promotion rank — if the enemy king cannot step into that square on its next move, the pawn promotes.
How do you draw the square for a pawn on e6?
The pawn on e6 needs 2 moves to reach e8. Draw a 2×2 square toward the promotion rank: e6–e8 (up the file) and e8–g8 (across), closing with g8–g6 and g6–e6. Any enemy king outside this box on its turn cannot catch the pawn.
Does the rule of the square guarantee a win?
Not always. For a rook's pawn (a- or h-file), the pawn may queen but the defending king can reach the corner and force stalemate. For central and other files, a successful promotion almost always wins.
Why does it matter whose move it is?
Because one move is the entire difference. If the defending side moves first, their king may be able to step into the square and catch the pawn; if the side with the pawn moves first (as in this position), the pawn gains a tempo and the enemy king starts one move further behind.