The IQ Gym
Guides Sign in Start free test
Free guide · Spatial reasoning · 4 min read

How to solve figure counting puzzles

Count by size class, and nothing escapes

'How many squares?' means all sizes, including the composites. Enumerate one size class at a time and the count becomes arithmetic, not squinting.

Updated

'How many squares in this figure?' The planted error is counting only the unit cells and missing the composites — the 2×2s, the 3×3s, the whole outer square. Trained counting never sweeps the figure hoping to notice everything; it walks size classes in order, counting each exhaustively.

Squares in a grid: sum of squares

An n×n grid holds n² unit squares, (n−1)² of size 2, down to 1 of size n: a 3×3 grid has 9+4+1 = 14. A p×q rectangle-count uses line-pairs: choose 2 of the p+1 vertical and 2 of the q+1 horizontal lines — every choice is a rectangle. Knowing the two formulas turns the hardest counting items into ten-second arithmetic.

Triangles: class by size and orientation

In triangular grids, count upward-pointing triangles by size, then downward-pointing by size — the downward ones are the universally forgotten class. Composite triangles built from four or nine small ones exist in both orientations.

Marked-cell counts: contains vs avoids

'How many rectangles contain the shaded cell?' — multiply choices on each side of it (lines left × lines right × lines above × lines below). 'How many avoid it?' — total minus containing. Convert the question to arithmetic before counting anything by eye.

The strategy

  1. Say the size classes aloud before counting ('1×1, 2×2, 3×3, done').
  2. Count each class in reading order — a fixed scan path prevents doubles.
  3. Add the classes; sanity-check against the formula when the figure is a clean grid.
  4. Odd figures with holes: count the clean grid, then subtract what the hole destroys.

Common traps

  • Unit-only counts — the single most farmed distractor in this family.
  • Double counting from an undisciplined scan path.
  • Downward triangles and tilted squares (corners on midpoints) — the invisible classes.
  • Formula applied to a figure that isn't actually a full grid — check for missing cells first.

Speed · ~45s/item: Class-by-class is 30–60 seconds even on 4×4 figures, and the formulas compress clean grids to ten.

Try it yourself: 4 practice questions

Pick an answer, then reveal it. Nothing is recorded, there is no clock, and none of these questions is ever used in a test.

Question 1 · Easy

How many rectangles does the figure contain, counting every size?

Reveal the answer

The answer is C — 60.

Show why — the worked reasoning
A rectangle is a choice of 2 horizontal and 2 vertical lines. This grid has 4 horizontal and 5 vertical lines: C(4,2) × C(5,2) = 6 × 10 = 60. Counting by eye misses the wide and tall rectangles — count line-pairs instead.
Question 2 · Easy

How many squares does the figure contain, counting every size?

Reveal the answer

The answer is A — 14.

Show why — the worked reasoning
Count squares by SIZE, never by staring: 1×1 squares (3×3 = 9), then 2×2 (4), and so on while both dimensions allow. Sum the size-classes: 9 + 4 + 1 = 14. Missing the larger sizes is the classic undercount.
Question 3 · Easy

How many squares does the figure contain, counting every size?

Reveal the answer

The answer is B — 8.

Show why — the worked reasoning
Count squares by SIZE, never by staring: 1×1 squares (3×2 = 6), then 2×2 (2), and so on while both dimensions allow. Sum the size-classes: 6 + 2 = 8. Missing the larger sizes is the classic undercount.
Question 4 · Easy

How many squares does the figure contain, counting every size?

Reveal the answer

The answer is D — 26.

Show why — the worked reasoning
Count squares by SIZE, never by staring: 1×1 squares (3×5 = 15), then 2×2 (8), and so on while both dimensions allow. Sum the size-classes: 15 + 8 + 3 = 26. Missing the larger sizes is the classic undercount.

Try questions like this

The free test has 20 questions across abstract, numerical, verbal and spatial reasoning. It takes 12 minutes, needs no sign-up, and explains every answer.

Start the free test Get every lesson free

A free account opens every lesson, practice drills and a study plan built from your results.

Questions people ask

Will figure counting questions be on the free test?

Maybe. The free test gives spatial reasoning 4 of its 20 questions, spread across 9 different question types, so any one test may or may not include this kind.

More guides

All guides