Chess Board Coordinates: Files, Ranks and Square Names

Learn chess board coordinates: files a–h, ranks 1–8, how to name any square, how the board looks from Black's side, and quick drills to learn them fast.

Chess board coordinates give every one of the 64 squares its own name, like e4 or g7. The columns, called files, are lettered a to h, and the rows, called ranks, are numbered 1 to 8. Put the letter first and the number second and you have the square's name. That simple grid is how players write down games, follow lessons and talk about positions, and it takes only a few days of practice to know it by heart.

Start with the board the right way around

Coordinates only work if the board is turned correctly. Each player should have a light square in the bottom-right corner. The easy way to remember it is the rhyme "light on the right." If your board has letters and numbers printed along the edges, the numbers 1 and 2 should be on White's side and the letter "a" should be on White's left.

When the board is set up this way, White's pieces start on ranks 1 and 2, Black's pieces start on ranks 7 and 8, and the white queen stands on d1, a light square. For the full setup, piece by piece, see how to set up a chessboard.

Files: the columns a to h

A file is a vertical column of eight squares running from White's side to Black's side. There are eight files, lettered a, b, c, d, e, f, g and h from White's left to White's right. Players talk about files all the time: "the rook is on the open d-file," or "my pawn is on the h-file."

Some files have nicknames. The a-file and h-file are the edge files (or rook files, since the rooks start there). The d- and e-files are the center files, and both kings start on the e-file.

Chess diagram (Chess Board Coordinates): The e-file runs from e1 to e8. Both kings start on it: the white king on e1 and the black king on e8.
Interactive board: The e-file runs from e1 to e8. Both kings start on it: the white king on e1 and the black king on e8.

Ranks: the rows 1 to 8

A rank is a horizontal row of eight squares. The ranks are numbered 1 to 8 starting from White's side, so White's back row is the 1st rank and Black's back row is the 8th rank. The numbers always count from White's side, even when you are playing Black.

A few ranks have special meaning. Pawns start on the 2nd rank (White) and the 7th rank (Black). A pawn that reaches the far rank, the 8th for White or the 1st for Black, gets promoted. And a rook on the 7th rank, attacking pawns that have not moved yet, is a classic winning idea.

Chess diagram (Chess Board Coordinates): The 4th rank runs from a4 to h4. The four middle squares, d4, e4, d5 and e5, are the center of the board.
Interactive board: The 4th rank runs from a4 to h4. The four middle squares, d4, e4, d5 and e5, are the center of the board.

How to name a square

To name a square, find its file, then its rank, and write them together: letter first, then number. The square where the e-file crosses the 4th rank is e4. Always use a lowercase letter, because capital letters are saved for pieces in notation (N for knight, B for bishop and so on).

Some landmarks are worth memorizing first:

A good habit is to say the name of the square in your head each time you touch a piece. Within a week you will know the busiest squares without looking at the edge of the board.

Try it now: White's knight starts on g1. Move it to f3, one of the most common opening moves in chess.

Chess diagram (Chess Board Coordinates): Your turn: move the knight to f3.
Interactive board: Your turn: move the knight to f3.

The board from Black's side

Square names never change. When you play Black, you see the board turned around, but a1 is still a1. From Black's chair, the 8th rank is closest to you, the 1st rank is far away, and the files run h to a from left to right.

That means Black's bottom-left corner is h8 and Black's bottom-right corner is a8. The "light on the right" rule still works: a8 is a light square. Many players find it harder to read coordinates from Black's side at first, so it is worth practicing that view on purpose.

Chess diagram (Chess Board Coordinates): The same starting position seen from Black's side. The bottom-left corner is h8, the light bottom-right corner is…
Interactive board: The same starting position seen from Black's side. The bottom-left corner is h8, the light bottom-right corner is a8, and the black king and queen sit on e8 and d8.

Now try a move from Black's side. Remember that the files are reversed: the b-file is second from the right.

Chess diagram (Chess Board Coordinates): Black to move: put the rook on b4.
Interactive board: Black to move: put the rook on b4.

Diagonals and the color of each square

Besides files and ranks, the board has diagonals: slanted lines of squares that touch at the corners. Every square on a diagonal has the same color, which is why a bishop stays on light squares or dark squares for the whole game. Diagonals are named by their end squares, such as the a1–h8 diagonal, one of the two long diagonals with eight squares each.

You can work out the color of any square without looking at the board:

  1. Turn the file into a number: a = 1, b = 2, c = 3, d = 4, e = 5, f = 6, g = 7, h = 8.
  2. Add the rank.
  3. If the total is odd, the square is light. If it is even, the square is dark.

Check it: a1 is 1 + 1 = 2, even, so it is dark. h1 is 8 + 1 = 9, odd, so it is light, which matches "light on the right." e4 is 5 + 4 = 9, light; d4 is 4 + 4 = 8, dark. The rule works on all 64 squares.

Chess diagram (Chess Board Coordinates): White's bishops on their starting squares. The c1 bishop (3 + 1 = 4, dark) runs along the dark c1–h6 diagonal; the…
Interactive board: White's bishops on their starting squares. The c1 bishop (3 + 1 = 4, dark) runs along the dark c1–h6 diagonal; the f1 bishop (6 + 1 = 7, light) runs along the light f1–a6 diagonal.

For more board facts, including how many diagonals there are and why the answer to "how many squares?" can be 204, read how many squares are on a chessboard.

How coordinates are used in chess notation

Coordinates are the building blocks of algebraic notation, the standard way to record moves in the US and around the world. A move is written as the piece letter plus the square it goes to: Nf3 means a knight moves to f3, Bb5 means a bishop moves to b5, and a pawn move like e4 just names the square. In most tournament games with longer time controls, players write every move on a scoresheet, so knowing coordinates is a must for your first rated event.

This guide sticks to the squares themselves. To learn captures, check, castling and the symbols like ! and ?, read our full guide to chess notation.

How to learn chess coordinates fast

Like learning the keys on a keyboard, coordinates stick through short, frequent practice. A few minutes a day for a week works better than one long session.

Once the names feel natural, put them to work: try the free chess lessons or start with our step-by-step guide on how to play chess.

Frequently asked questions

Which corner of the chessboard is a1?

a1 is the bottom-left corner from White's side of the board. It is always a dark square. If the corner on White's left is light, the board is turned the wrong way and should be rotated a quarter turn.

Why is the bottom-right square light?

It is the rule for setting up the board: each player has a light square in the bottom-right corner ("light on the right"). Because a1 is dark and the colors alternate, h1 is light. This also puts each queen on her own color, the white queen on d1 (light) and the black queen on d8 (dark).

How do coordinates look from Black's side?

The names stay the same, but the view is reversed. Black's bottom-left corner is h8, the bottom-right is a8, the files read h to a from left to right, and the ranks count down from 8 nearest to Black to 1 farthest away.

What is the difference between a file, a rank and a diagonal?

A file is a vertical column (a to h), a rank is a horizontal row (1 to 8), and a diagonal is a slanted line of squares of the same color, such as a1–h8. Rooks move along files and ranks, bishops along diagonals, and the queen along all three.

How can I tell if a square is light or dark?

Number the files a = 1 to h = 8 and add the rank number. An odd total means a light square and an even total means a dark one. For example, f5 is 6 + 5 = 11, so it is light, and c3 is 3 + 3 = 6, so it is dark.

How can I learn chess coordinates fast?

Practice for a few minutes a day with a timed coordinate drill, from both White's and Black's side, and name squares out loud as you play. Most players learn the whole board within one to two weeks.

Keep learning

Related guides