Learn · Beginner

Files, Ranks & Diagonals: The Chessboard Map

Files are the columns, ranks are the rows, and diagonals are the slanted lines. Here's how the chessboard's coordinate map works — and why it's the secret to reading every move.

On a chessboard, files are the eight columns (labeled a–h, left to right), ranks are the eight rows (labeled 1–8, bottom to top), and diagonals are the slanted lines that cut across both. Together they form the board’s coordinate map, so every one of the 64 squares has a unique name like e4 — file first, rank second.

Master this map and chess notation, piece movement, and strategy all suddenly click. It’s the alphabet of the whole game.

The 10-second version

  • Files = columns, lettered a–h (left to right).
  • Ranks = rows, numbered 1–8 (bottom to top, from White’s side).
  • Diagonals = slanted lines (bishops’ highways).
  • Square names = file letter + rank number, e.g. e4.

What is a file in chess?

A file is a vertical column of squares running from one player’s side of the board to the other. There are eight of them, labeled with letters a through h, going left to right from White’s point of view. So the leftmost column (from White’s seat) is the a-file, and the rightmost is the h-file.

Files are the natural highways for rooks and queens, which slide straight up and down them. You’ll hear strong players talk about controlling the “d-file” or doubling rooks on a file — they mean stacking power along one of those vertical lanes.

A quick memory trick: files are like filing cabinets — they stand up tall and vertical.

What is a rank in chess?

A rank is a horizontal row of squares running side to side. There are eight, numbered 1 through 8, counting up from White’s side. So rank 1 is the row where White’s big pieces start, and rank 8 is where Black’s big pieces start.

Ranks matter constantly: pawns promote when they reach the far rank (the 8th for White, the 1st for Black), and the dreaded “back-rank mate” happens on your own first rank when your king gets trapped behind its pawns.

Memory trick: a rank is a rank of soldiers standing shoulder to shoulder in a horizontal line.

A rook on e4 rules its whole file (the e-file) and its whole rank (the 4th rank) — straight lines only.

How do you name a square?

Every square sits at the crossing of one file and one rank, and its name is just those two combined: file letter first, then rank number. No spaces, no fuss.

  • The square where White’s king starts? It’s on the e-file, rank 1 e1.
  • The famous center square a pawn often grabs first? e-file, rank 4 e4.
  • Black’s queen’s starting square? d-file, rank 8 d8.
The full map at the start. Files run a–h left to right; ranks run 1–8 bottom to top. Every square gets a letter+number name.

Always letter then number — never “4e.” Once this is automatic, you can read any game, follow any lesson, and use chess notation like a pro. It’s the single most useful five minutes a beginner can spend.

What is a diagonal in chess?

A diagonal is a slanted line of same-colored squares running corner-to-corner across the board. Unlike files and ranks, diagonals don’t have official names — but we describe them by their endpoints, like the a1–h8 diagonal (the long light-squared one for that color) or the h4–e1 diagonal.

A bishop on e4 owns the diagonals — the slanted lines slicing across the board in both directions.

Diagonals are the kingdom of bishops (which can only travel on them) and one of the queen’s many powers. Here’s the key thing: a bishop is stuck on one color forever. A light-squared bishop can never, ever reach a dark square — its diagonals just don’t go there. That’s why bishops come in light-squared and dark-squared flavors. Diagonals also fuel famous attacks, like the queen’s path in Fool’s Mate racing down to h4.

Why does the chessboard map even matter?

Because everything in chess is built on it:

  • Reading moves. Notation, books, videos, this very article — all of it uses square names. Without the map, “1.e4 e5” is gibberish.
  • Understanding pieces. Rooks love files and ranks; bishops live on diagonals; the queen does all three. Knowing the lines tells you what each piece wants.
  • Strategy. “Open files” (columns with no pawns) are prime real estate for rooks. Controlling key diagonals can paralyze an opponent. These ideas are meaningless until you can see the lines.

What’s an open file, by the way? It’s a file with no pawns on it — a clear, open lane that rooks dream of, because they can fire straight down it unobstructed. Spotting open files is one of the first real strategic skills you’ll pick up.

A fun bit of history

The letter-and-number system you’re learning is called algebraic notation, and it actually beat out a rival. For a long time, English-speaking players used the clunky descriptive notation, where moves looked like “P-K4” (pawn to king four) and squares were named relative to both sides — confusing chaos. Algebraic notation, with its fixed a–h / 1–8 grid, was cleaner and language-independent, so FIDE adopted it as the official standard in the 1980s. That’s why a player in Tokyo and a player in Toronto can read the exact same game today. One map, one language, worldwide.

Common mistakes to dodge

  • Writing the number first. It’s e4, not “4e.” Letter (file) always comes before number (rank).
  • Mixing up files and ranks. Files stand up (columns); ranks lie across (rows). Lean on the memory tricks: filing cabinet vs rank of soldiers.
  • Counting ranks from the wrong side. Ranks are numbered from White’s perspective — rank 1 is always White’s home row, no matter which color you’re playing.
  • Forgetting bishops are stuck on one color. A diagonal never switches square colors, so neither can a bishop. Plan around it.
  • Ignoring open files. Beginners leave rooks snoozing in the corner. Put them on open files where they actually do work.

Key takeaways

  • Files = vertical columns, lettered a–h; ranks = horizontal rows, numbered 1–8 from White’s side.
  • Diagonals = slanted lines; they’re the bishop’s only roads, and each bishop is locked to one color.
  • A square name is file letter + rank number (e.g. e4) — always letter first.
  • Rooks rule files and ranks; bishops rule diagonals; the queen does it all.
  • This map is the foundation of notation, movement, and strategy.

Keep climbing

Now that you can name every square, the natural next step is reading and writing moves with that map.

Next up: Chess notation explained · Also handy: which way the board goes and how every piece moves.


Written and fact-checked by the Chess Lab Academy Editorial Team (AI-assisted, human-edited) · Rules and notation cross-checked against the FIDE Laws of Chess (Appendix C) and every position verified with Stockfish 17 · Last verified 2026-06-25 · Sources · How we verify content.

About this lesson — Chess Lab Academy's editorial team researches, writes, and fact-checks every lesson. Content is drafted with AI assistance and every chess claim is verified before publishing — see our methodology. Read our methodology →
Verification — engine-verified (Stockfish 17) + rules per FIDE Laws of Chess · Last verified June 25, 2026
Puzzles — from the Lichess open database (CC0), each engine-verified at the source.
Samurai Warlords ChessLive 3D chess with skins & rewards
Get the app