ChessPivot
Shallow focus photo of chess set

Rule of the square

Endgame

Photo : Carlos Esteves
Endgame

The rule of the square is a visual calculation technique used in endgames to determine, without counting move by move, whether a king can catch a passed pawn before it promotes to a queen.

The principle is straightforward: mentally trace a square whose side length equals the number of moves remaining before promotion (counting from the pawn's current square to the promotion square, inclusive). If the opposing king is inside that square — or can step into it on their turn — they catch the pawn. Otherwise, the pawn promotes freely. Note that the side to move matters: if the pawn moves first, trace the square from its next square rather than its current one.

To build the square, count the remaining moves to promotion. For example, a white pawn on e5 needs 3 moves to reach e8 (e6, e7, e8). The square therefore spans e5–h5–h8–e8, covering a 4×4 zone (4 files × 4 ranks). If the black king is outside this square and it is White’s turn, the king cannot stop the pawn.

In practice, this rule saves you valuable time during time pressure or tense endgames. As soon as a passed pawn appears on the board, visualise the square immediately — it gives you a reliable, instant answer about the race between the king and the pawn.

How to exploit it — and defend against it

As soon as a passed pawn appears, draw the square mentally before moving — this prevents costly calculation errors. If your king is outside the square and it is your turn, check whether a single diagonal step puts you inside it, as that one move can be enough. On the attacking side, advance the passed pawn as early as possible to enlarge the square and make the king race unwinnable for your opponent. On the defensive side, steer your king toward the pawn’s path at the first signs of an endgame, before the square moves out of reach.

8
7
6
5
4
3
2
a1
b
c
d
e
f
g
h
The black pawn stands on e5 and must reach e1. The square runs from e5 to a5, then a5 to a1 and a1 to e1. The white king on a1 sits exactly on the corner of the square: on its turn, it steps inside and catches the pawn.

Learn more

Related terms

Frequently asked questions

How do you draw the square in practice on the board?
Count the number of squares remaining between the pawn and its promotion square — that is the side length of the square. Draw the square from the pawn toward the opposite file, then up to the promotion rank. If the opposing king is inside it, or can step into it on their move, they catch the pawn.
Does the rule of the square always work?
The rule of the square is reliable in the vast majority of cases, but it assumes the pawn’s path is clear and that no pieces block the king’s route. When other pieces or pawns are involved, manual calculation is still necessary.
What is the difference between the rule of the square and the opposition?
The rule of the square applies when a king must catch a pawn on its own — it is purely a racing question. The opposition, on the other hand, refers to the relationship between the two kings when they face each other and one restricts the other’s advance.

Analyze your games for free

Spot your recurring mistakes and turn them into progress with ChessPivot.

Analyze my games