LibreChessChess, explained simply

Chess rules

The Chess Board: Files, Ranks, Diagonals & Squares

Published Updated

LBy
Sources and chess examples are checked before publication. How LibreChess verifies its content.

A chess board has 64 squares in an 8×8 grid of alternating light and dark colours. The vertical columns are files (lettered a–h), the horizontal rows are ranks (numbered 1–8), and every square has a unique name combining its file and rank — like e4.

On this page
  1. Files, ranks and diagonals
  2. How squares are named
  3. Light squares and dark squares
  4. Keep learning

Files, ranks and diagonals

The board is mapped from White’s point of view. Files are the eight columns running away from you, labelled a to h from left to right. Ranks are the eight rows, numbered 1 (nearest White) to 8 (nearest Black). Diagonals are the slanted lines of one colour — the longest runs from a1 to h8 and from h1 to a8. Bishops travel along diagonals; rooks travel along files and ranks.

How squares are named

Each square is named by its file letter then its rank number, always file first. So the square in White’s near-left corner is a1; the far-right corner is h8. The four central squares — d4, d5, e4 and e5 — matter in the opening because pieces and pawns there can influence both wings and restrict the opponent.

Files a–h run left to right; ranks 1–8 run from White’s side to Black’s. a1 is dark, h1 is light.

Light squares and dark squares

The 64 squares split into 32 light and 32 dark, and the colours alternate so that no two squares of the same colour touch edge-to-edge. A bishop remains on one colour for the entire game, so exchanging that bishop can change who controls a group of squares. Strategists often call a square weak when a pawn can no longer challenge an enemy piece there; pieces may still defend it, but that defence can become a lasting duty.

Quick check: a1 is a dark square and h1 is light. If your a1 corner is light, the board is turned the wrong way.
How many squares are on a chess board?64 — an 8×8 grid, made up of 32 light squares and 32 dark squares.
What is the difference between a file and a rank?A file is a vertical column (a–h); a rank is a horizontal row (1–8). A square like c5 sits where the c-file crosses the 5th rank.
What are the centre squares?d4, d5, e4 and e5. Controlling them can increase piece mobility and influence both wings, which is why opening play usually addresses the centre.

Play free vs Stockfish