How Many Squares Can You See? Puzzle Answer and Formula

The viral “how many squares can you see?” puzzle looks simple. Most people answer 16 or 17. The real count is much higher because squares hide inside other squares.

This guide shows you the formula, the size-by-size counting trick, and why even the same image gives different “correct” answers.

The Quick Answer

For the standard viral image (a 4×4 grid with extra divisions in one cell), the answer is 40 squares. For a plain 4×4 grid with no extras, the answer is 30. For a chessboard (8×8), the answer is 204.

The reason answers vary: most viral versions add small subdivided squares inside the grid to push the count past 30.

The Formula That Solves Any Square Grid

For any plain n×n grid, the total number of squares is:

1² + 2² + 3² + … + n²

Or in closed form: n(n+1)(2n+1) / 6

You count every size of square, from the tiny 1×1 cells up to the single n×n outer square.

Worked Examples

  • 2×2 grid: 1 + 4 = 5 squares
  • 3×3 grid: 1 + 4 + 9 = 14 squares
  • 4×4 grid: 1 + 4 + 9 + 16 = 30 squares
  • 5×5 grid: 1 + 4 + 9 + 16 + 25 = 55 squares
  • 8×8 chessboard: 1 + 4 + 9 + 16 + 25 + 36 + 49 + 64 = 204 squares

How to Count Squares Without Missing Any

Work size by size. Don’t try to scan the whole image at once.

Step 1 — Count the smallest squares. Count every 1×1 cell. In a 4×4 grid, that’s 16.

Step 2 — Count 2×2 squares. Slide an imaginary 2×2 box across the grid. In a 4×4 grid it fits in 9 positions (3 across × 3 down).

Step 3 — Count 3×3 squares. A 3×3 box fits in 4 positions in a 4×4 grid (2 across × 2 down).

Step 4 — Count the largest square. The outer border itself is one square.

Step 5 — Add bonus squares. If the image shows extra lines inside one cell (the viral trick), count those subdivided squares separately and add them. That’s how 30 becomes 40.

The pattern: in an n×n grid, the number of k×k squares equals (n−k+1)².

Common Variations of the Viral Puzzle

The plain 4×4 grid. Answer: 30. No tricks, just sizes.

The 4×4 with one subdivided cell. One corner gets cut into smaller squares. This adds the bonus squares that push the answer to 40.

The “tic-tac-toe” 3×3. Answer: 14. Often shown as a warm-up.

The chessboard challenge. Answer: 204. A classic interview and trivia question.

The cross or plus shape. An irregular grid arranged as a plus. Each arm has its own squares plus the center. You can’t use the formula directly — you must count by hand.

The squares-and-rectangles trap. Some versions ask for “shapes,” not just squares. Rectangles get added to the count, which changes the math entirely.

Why This Trips People Up

Your brain locks onto the smallest, most obvious shapes first. This is called pattern fixation. Once you see the 16 little cells, your eyes stop hunting.

The puzzle exploits three habits:

You stop counting too early. The brain treats the first complete pattern (the 16 cells) as “the answer.”

You skip overlapping shapes. Squares can share edges and corners. Counting a 2×2 doesn’t disqualify the four 1×1 cells inside it, but most people feel like it should.

You miss the outer border. The whole image is itself a square. Easy to forget.

FAQ

What’s the formula for counting squares in a grid?
For an n×n grid, the answer is 1² + 2² + … + n², or n(n+1)(2n+1)/6.

How many squares are in the viral 4×4 puzzle?
A plain 4×4 grid has 30 squares. The viral version with extra subdivisions inside one cell totals 40.

How many squares are in a 5×5 grid?
55 squares: 25 + 16 + 9 + 4 + 1.

How many squares are on a chessboard?
204. The 64 single squares plus all the 2×2, 3×3, up to the full 8×8.

Why do people give different answers to the same puzzle?
Most miss the larger overlapping squares or the outer border. Some versions also include bonus subdivided cells that aren’t obvious at first glance.

How do I teach this to a kid?
Use a 2×2 grid first. Show them the 4 small squares, then point to the big outer square: 5 total. Build up to 3×3, then 4×4. The pattern clicks faster than the formula.

Does getting this right mean you have a high IQ?
No. It tests pattern recognition and patience, not intelligence. Trained mathematicians and bored 10-year-olds both solve it once they learn the size-by-size method.

What other puzzles use this same trick?
“How many triangles in this image” works the same way — count by size. The sum-of-squares idea also shows up in counting rectangles, cubes, and chessboard placements.

Now you have the formula. Try it on the next puzzle that lands in your group chat.

Was this helpful?

Leave a Comment