How Many Squares Are on a Chessboard? A Maths Problem

Updated on March 28, 2020
David3142 profile image

I am a former maths teacher and owner of Doingmaths. I love writing about maths, its applications and fun mathematical facts.

A Chessboard
A Chessboard

How Many Squares Are There on a Normal Chessboard?

So how many squares are there on a normal chessboard? 64? Well, of course that is the correct answer if you are only looking at the small squares inhabited by the pieces during a game of chess or draughts/checkers. But what about the larger squares formed by grouping these small squares together? Look at the diagram below to see more.

A Chessboard With Assorted Squares
A Chessboard With Assorted Squares

Different Sized Squares on a Chessboard

You can see from this diagram that there are many different squares of various sizes. To go with the single squares there are also squares of 2x2, 3x3, 4x4 and so on up until you reach 8x8 (the board itself is a square too).

Let's have a look at how we can count these squares, and we'll also work out a formula to be able to find the number of squares on a square chessboard of any size.

The Number of 1x1 Squares

We have already noted that there are 64 single squares on the chessboard. We can double-check this with a bit of quick arithmetic. There are 8 rows and each row contains 8 squares, hence the total number of individual squares is 8 x 8 = 64.

Counting the total number of larger squares is a little bit more complicated, but a quick diagram will make it a lot easier.

A Chessboard With 2x2 Squares
A Chessboard With 2x2 Squares

How Many 2x2 Squares Are There?

Look at the diagram above. There are three 2x2 squares marked on it. If we define the position of each 2x2 square by its top-left corner (denoted by a cross on the diagram), then you can see that to remain on the chessboard, this crossed square must remain within the shaded blue area. You can also see that each different position of the crossed square will lead to a different 2x2 square.

The shaded area is one square smaller than the chessboard in both directions (7 squares) hence there are 7 x 7 = 49 different 2x2 squares on the chessboard.

A Chessboard With 3x3 Squares
A Chessboard With 3x3 Squares

How Many 3x3 Squares?

The diagram above contains three 3x3 squares, and we can calculate the total number of 3x3 squares in a very similar way to the 2x2 squares. Again, if we look at the top-left corner of each 3x3 square (denoted by a cross) we can see that the cross must stay within the blue shaded area in order for its 3x3 square to remain completely on the board. If the cross was outside of this area, its square would overhang the edges of the chessboard.

The shaded area is now 6 columns wide by 6 rows tall, hence there are 6 x 6 = 36 places where the top-left cross can be positioned and so 36 possible 3x3 squares.

A Chessboard With a 7x7 Square
A Chessboard With a 7x7 Square

What About the Rest of the Squares?

To calculate the number of larger squares, we proceed in the same way. Each time the squares we are counting get bigger, i.e. 1x1, 2x2, 3x3, etc., the shaded area that the top left part sits in becomes one square smaller in each direction until we reach the 7x7 square seen in the picture above. There are now only four positions that 7x7 squares can sit, again denoted by the top-left crossed square sitting within the shaded blue area.

The Total Number of Squares on the Chessboard

Using what we have worked out so far we can now calculate the total number of squares on the chessboard.

  • Number of 1x1 squares = 8 x 8 = 64
  • Number of 2x2 squares = 7 x 7 = 49
  • Number of 3x3 squares = 6 x 6 = 36
  • Number of 4x4 squares = 5 x 5 = 25
  • Number of 5x5 squares = 4 x 4 = 16
  • Number of 6x6 squares = 3 x 3 = 9
  • Number of 7x7 squares = 2 x 2 = 4
  • Number of 8x8 squares = 1 x 1 = 1

The total number of squares = 64 + 49 +36 + 25 + 16 + 9 + 4 + 1 = 204

What About Larger Chessboards?

We can take the reasoning that we have used so far and expand upon it to create a formula for working out the number of squares possible on any size of square chessboard.

If we let n represent the length of each side of the chessboard in squares then it follows that there are n x n = n2 individual squares on the board, just like there are 8 x 8 = 64 individual squares on a normal chessboard.

For 2x2 squares, we have seen that the top left corner of these must fit into a square that is one smaller than the original board, hence there are (n - 1)2 2x2 squares in total.

Each time we add one to the side length of the squares, the blue shaded area that their corners fit into shrinks by one in each direction. Therefore there are:

  • (n - 2)2 3x3 squares
  • (n - 3)2 4x4 squares

And so on, until you get to the final large square the same size as the whole board.

In general, you can quite easily see that for an n x n chessboard the number of m x m squares will always be (n - m + 1).

So for an n x n chessboard, the total number of squares of any size will equal n2 + (n - 1)2 + (n - 2)2 + ... + 22 + 12 or, in other words, the sum of all the square numbers from n2 down to 12.

Example: A 10 x 10 chessboard would have a total of 100 + 81 + 64 + 49 + 36 + 25 + 16 + 9 + 4 + 1 = 385 squares.

Something to Think About

What about if you had a rectangular chessboard with sides of different lengths. How can you expand our reasoning so far to come up with a way of calculating the total number of squares on an n x m chessboard?


    0 of 8192 characters used
    Post Comment

    No comments yet.


    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at:

    Show Details
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the or domains, for performance and efficiency reasons. (Privacy Policy)
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)
    ClickscoThis is a data management platform studying reader behavior (Privacy Policy)