Basics Beginner

How Many Squares Are on a Chessboard?

The obvious answer is 64. But if you count squares of every possible size, the real answer is 204. This is a classic maths puzzle with a surprisingly elegant solution.

The breakdown

A standard 8×8 chessboard contains squares of 8 different sizes:

SizeCountHow?
1×1648 × 8
2×2497 × 7
3×3366 × 6
4×4255 × 5
5×5164 × 4
6×693 × 3
7×742 × 2
8×811 × 1

Total: 64 + 49 + 36 + 25 + 16 + 9 + 4 + 1 = 204

The formula

For an n×n chessboard, the total number of squares is the sum of squares from 1 to n: n(n+1)(2n+1)/6. For n=8: 8 × 9 × 17 / 6 = 204.

Bonus: rectangles

The total number of rectangles (including squares) on a chessboard is 1,296. The formula is (n(n+1)/2)² = (8×9/2)² = 36² = 1,296.

← All articles