How many squares in the grid?

✓ With solution

A little 4 × 4 grid. Counting looks easy, but there are more squares than you think. And then: how many rectangles?

Play the puzzle now
Question 1

This grid is divided into 4 rows of 4 small squares. The big square around the whole grid counts too, and so does every square made up of several small ones.

How many squares of all sizes can you find in this grid?

  1. A16
  2. B17
  3. C25
  4. D30
Show the answer

Answer: D) 30. Count the squares by size. Small 1 × 1 squares: 16. 2 × 2 squares: one can start in 3 places across and 3 places down, so there are 3 × 3 = 9. 3 × 3 squares: 2 × 2 = 4. And the big 4 × 4 square: 1. Total: 16 + 9 + 4 + 1 = 30. Notice the pattern: 16, 9, 4 and 1 are 4 × 4, 3 × 3, 2 × 2 and 1 × 1.

How many squares of each size (one of each size is shaded)
161 × 192 × 243 × 314 × 4
Question 2

Now a smaller grid: 2 rows of 3 small squares. This time count the rectangles, and a square counts as a rectangle too.

How many rectangles can you find in this grid?

  1. A6
  2. B12
  3. C15
  4. D18
Show the answer

Answer: D) 18. Every rectangle in the grid is fixed by two of the vertical lines (its sides) and two of the horizontal lines (its top and bottom). There are 4 vertical lines, and you can pick two of them in 6 ways (3 + 2 + 1); there are 3 horizontal lines, and you can pick two of them in 3 ways. So there are 6 × 3 = 18 rectangles. To check by size: 6 small squares, 4 made of two squares side by side, 2 made of three in a row, 3 made of two squares one above the other, 2 made of four squares, and the whole grid: 6 + 4 + 2 + 3 + 2 + 1 = 18.

Never miss a puzzle

Subscribe to Khamantiq on YouTube and turn on the bell to get new puzzles first.

Subscribe to the channel