Number of squares on a chess boards equals
196
204
1140
1296
Number of squares will depend on the different sizes of the square,
For the square of size 1x1 : there are 8 options of selecting horizontal pair of lines, and 8 options of selecting vertical pair of lines: number of ways = 8 x 8 = 82
For the square of size 2x2 : there are 7 options of selecting horizontal pair of lines, and 7 options of selecting vertical pair of lines: number of ways = 7 x 7 = 72
Similarly, squares of other sizes will be 62 , 52 , ......, 12
So, total number of squares are 12 + 22 + 32 + ...........+ 82 = 204