Recently saw this math question picture share on the social media. It is a tricky question that has appeared often in mathematical quiz or IQ test math book.

The image is formed by a grid of square lines where reader is asked to count the number of squares. See whether you can answer it correctly or not? How many squares are in this picture? 92% of people FAIL this simple test. Don’t forget to share and give 1 chance to your friends.

The answer is 40. See the animation below of how you can arrive at this answer actually.

EmilDecember 22, 2012 at 12:49 am

+7 (The text itself contains a number of squares above the “i” and under “?”/”!”)

Michael HagmeierJanuary 3, 2013 at 3:29 am

You can also make an argument that there are, in fact, 80 squares.

If the lines are in fact one-dimensional lines, then the answer is 40. However, if the lines are two-dimensional, then the answer is 80, as each square can count as two squares–one that includes the line and one that does not include the line.

James CFebruary 10, 2013 at 5:15 pm

@Emil: Fair call. +7 then.

@Michael Hagmeier: If you define a line by the border between black and white pixels, then I think there’d be 17 squares (excluding the +7)–the 8 mini ones in the middle, the 8 unbroken ones on the left and right, and the outside border. All the rest would have broken lines, so wouldn’t be proper squares, I think.

So 17+7=24 squares.

Also, as a result of lossy JPEG compression there are some faintly coloured pixels around the edges in the image (which I’m not going to count).

DoshFebruary 18, 2013 at 8:52 pm

You could have the +7 for the dots on the

Letter i and the ? ! Or 40+ 1 the 1 being the word

Squares, they are all part of the picture

TiffanyFebruary 19, 2013 at 8:10 pm

What about the two hollow squares on the middle created by connecting the edges around the smaller squares in the middle? There are 42 squares.

MicheleFebruary 20, 2013 at 4:22 am

Could also count the actual word “square” within the word squares.

ayo tejanFebruary 20, 2013 at 1:32 pm

A square is a four sided figure with all sides equal in dimension, if you are counting squares in the figure illustrated it is sixteen Atwfy, but if you are counting interlocking squares then it is 30. Get your fact right if you want to impart knowledge on the future generation. Thanks

GeniusApril 8, 2013 at 12:13 am

40