Skip to content

How Many Squares Are on a Chessboard? (It Is Not 64)

Type
Math puzzle
Reading
2 min

Short answer: a chessboard has 204 squares, not 64. The 64 small squares are only the 1×11\times 1 ones; squares of every size from 1×11\times 1 up to the whole 8×88\times 8 board count too.

Contents5 sections

Counting by size

A k×kk\times k square fits on an 8×88\times 8 board in 9−k9-k positions across and 9−k9-k positions down, so there are (9−k)2(9-k)^2 of them:

SizePositionsSquares
1 × 18 × 864
2 × 27 × 749
3 × 36 × 636
4 × 45 × 525
5 × 54 × 416
6 × 63 × 39
7 × 72 × 24
8 × 81 × 11
Total204

The total is the sum of the first 8 square numbers, and there is a formula for it:

12+22+⋯+n2=n(n+1)(2n+1)6,1^2+2^2+\dots+n^2=\frac{n(n+1)(2n+1)}{6},

and for n=8n=8:

8⋅9⋅176=204.\frac{8\cdot 9\cdot 17}{6}=204.

And how many rectangles?

A rectangle on the board is fixed by choosing 2 of the 9 vertical grid lines and 2 of the 9 horizontal grid lines:

(92)×(92)=36×36=1296.\binom{9}{2}\times\binom{9}{2}=36\times 36=1296.

So the board has 1296 rectangles, of which 204 are squares.

Try these

Puzzle 1

How many squares are in a 5×55\times 5 grid?

Show Answer

25+16+9+4+1=5525+16+9+4+1=\mathbf{55}, or 5⋅6⋅116=55\frac{5\cdot 6\cdot 11}{6}=55.

Puzzle 2

How many squares are in a 3×53\times 5 rectangle of unit squares?

Show Answer

1×11\times 1: 3⋅5=153\cdot 5=15. 2×22\times 2: 2⋅4=82\cdot 4=8. 3×33\times 3: 1⋅3=31\cdot 3=3. Total 26\mathbf{26}.

Puzzle 3

How many rectangles that are not squares are on a chessboard?

Show Answer

1296−204=10921296-204=\mathbf{1092}.

Frequently asked questions

How many squares are on a chessboard?

204, counting every size from 1×11\times 1 to 8×88\times 8.

Why do people say 64?

64 is only the number of small 1×11\times 1 squares, the ones the pieces stand on.

How many squares are in an n × n grid?

n(n+1)(2n+1)6\frac{n(n+1)(2n+1)}{6}, the sum of the first nn square numbers.