HowMany.pro

How many squares are on a chessboard?

There are 64 squares to play on — but if you count squares of every size, the real answer is 204. And that jump from 64 to 204 is a lovely little maths lesson.

Count every square

Squares of every size

Slide to pick a square size, and watch where it fits and how many there are.

An 1×1 square fits in (81+1)² = 64 places
Add up every size and a 8×8 board holds 204 squares in all — plus 1,296 rectangles.

The obvious answer: 64

A chessboard is an 8 × 8 grid, so it has 64 small squares — 32 light and 32 dark — and that’s the surface you actually play chess (and draughts) on. The columns are called files (labelled a–h) and the rows are ranks (1–8), and the board is set up “light on right”: each player has a light square in their nearest right-hand corner.

If that were the whole story, this wouldn’t be a famous puzzle. The catch is in the word square — because a 2×2 block of cells is also a square, and so is a 3×3 block, all the way up.

Prefer a picture to a formula?

The puzzle answer: 204

Count squares of every size and the total climbs to 204. The trick is to count each size separately. A 1×1 square can sit in 8 positions across and 8 down — that’s 8×8 = 64. A 2×2 square only fits in 7 positions each way (it would hang off the edge otherwise), giving 7×7 = 49. Each larger size loses one position in each direction:

Square sizeFits inHow many
1×18 × 864
2×27 × 749
3×36 × 636
4×45 × 525
5×54 × 416
6×63 × 39
7×72 × 24
8×81 × 11
Totalsum of squares204

So the answer is 64 + 49 + 36 + 25 + 16 + 9 + 4 + 1 = 204.

The real lesson: why it works

Here’s the idea worth taking away. To place an s×s square on an 8×8 board, you just have to choose where its top-left corner goes — and it has (8 − s + 1) choices across and the same number down. So there are (9 − s)² squares of that size. Add those up for s = 1 to 8 and you get 204.

This is a named result: the total is the sum of the first eight square numbers, and it has a tidy formula that works for any n×n board:

1² + 2² + … + n² = n(n + 1)(2n + 1) ⁄ 6

Pop in n = 8 and you get 8 × 9 × 17 ⁄ 6 = 204. Try n = 4 and it gives 30; n = 10 gives 385. The interactive board above is really just this formula in disguise — which is why the same logic works on a sudoku grid, a window of panes, or any square lattice you like.

Bonus round: how many rectangles?

If you loosen the rules and count every rectangle (not just squares), the answer leaps to 1,296 — and the reasoning is even neater. A chessboard has 9 lines running each way. To draw any rectangle, you simply pick 2 of the 9 vertical lines and 2 of the 9 horizontal lines. That’s “9 choose 2” each way: 36 × 36 = 1,296.

Since 204 of those rectangles happen to be squares, the remaining 1,092 are the genuinely oblong ones. Two famous chessboard numbers — 204 and 1,296 — and both fall out of one small counting idea.

Another way to see it · no algebra

The sliding frame

Forget the word “square” for a moment. Imagine you cut a small square hole in a piece of card, then slide that card around over the board, peeking through the hole. Every spot where the hole sits neatly on the board — without poking off an edge — counts once.

A tiny hole the size of one cell can rest almost anywhere: eight stops across, eight stops down — sixty-four resting places. Make the hole bigger, two cells wide, and it turns clumsy; push it too far and it hangs over the side, so now it only has seven stops each way. Bigger still, fewer places to sit. The largest hole of all — the size of the whole board — can only rest in one single spot, dead centre on top.

So you were never really counting squares. You were counting parking spots for a frame that keeps getting harder to park. Tot up the spots for every size of frame — 64, then 49, then 36, on down to 1 — and you arrive at 204. Same answer, no formula in sight: just a frame, a board, and a great many places to set it down.

Chessboard maths — 5 questions

Question 1 of 5Score 0

How many squares does a chessboard have to play on?

Sources

  • Standard combinatorics — squares on an n×n grid = 1² + 2² + … + n² = n(n+1)(2n+1)/6 (204 for n = 8).
  • Rectangles on an n×n grid = (n+1 choose 2)² — 36² = 1,296 on a chessboard, of which 204 are squares.

Related

Sixty-four to play on, two hundred and four if you look closely — proof that a good question is just a maths lesson wearing a disguise.

How Many? Real answers, live tools and games

howmany.pro answers the questions that start with “how many” — researched, sourced and dated — and pairs them with free interactive tools you can use right in your browser: an invoice generator, percentage and tile calculators, a guitar tuner, a metronome, daily trivia and more.

Free tools

Invoice Generator · Percentage Calculator · Tile Calculator · Guitar Tuner · Metronome · Exam Timer · Trivium Daily Quiz · Cursor Playground

Popular answers

Squares on a chessboard · Pokémon types · Bones in the human body · Galaxies in the universe · Moons of Saturn · Piano keys · Types of cheese · Languages in the world · Countries in the world · Continents · Stars in the Milky Way · Neurons in the brain · Adult teeth · Spider legs · Shark teeth · Bee eyes · Heart chambers · Pyramids in Egypt · Zeros in a billion · Cards in a standard deck · Cards in a tarot deck · Scrabble tiles · Notes in an octave · Types of pasta · Dominoes in a set

About · Contact · Privacy Policy · Terms