File and rank
A file is a vertical column labelled a through h, and a rank is a horizontal row numbered 1 through 8.
A square name combines its file and rank. The square e4 is on the e-file and the fourth rank.
By Chessmate Team · Reviewed
Find the e-file and fourth rank
Files are the eight vertical columns named a through h. Ranks are the eight horizontal rows numbered 1 through 8. Joining one file letter and one rank number gives every square a unique coordinate.
Beginners often mix up the two words. A file is a column, the path a rook slides up and down, and a rank is a row across the board. In a square name the file letter always comes first, so the square is e4, never 4e.
| Coordinate | Meaning |
|---|---|
e-file | Every square from e1 through e8 |
4th rank | Every square from a4 through h4 |
e4 | The intersection of the e-file and 4th rank |
Watch which part of the square name changes
A move changes the file, the rank, or both. Sliding sideways changes the file letter and leaves the rank number alone. Moving forward or backward changes the rank number and leaves the file letter alone. A knight jump changes both, which is why its landing square often looks unrelated to where it started.
To count how far a piece travelled, take the difference instead of counting both end squares: a to d is three files, and rank 1 to rank 5 is four ranks. Counting the starting square as well is the usual off-by-one slip.
Drag a piece along one arrow and watch which part of the square name changes.
Drag a piece along one arrow and watch which part of the square name changes.
Coordinates stay fixed when the board flips
From White's side, a1 is the lower-left square and h1 is the lower-right square. A digital board viewed from Black's side reverses the visual order, but a1 remains a1 and every move keeps the same notation.
This matters when reading a game score. In 1.e4 e5, both players name the same files: White's pawn climbs from e2 to e4, while Black's pawn comes down from e7 to e5. Ranks are numbered from White's side for both players, so Black's back rank is rank 8 and Black's pawns move toward smaller rank numbers.
Coordinates connect notation and position data
SAN uses destination coordinates such as f3 or d5. FEN reads the board rank by rank, and opening explanations use square names to connect a move with a visible position.
FEN lists the ranks from 8 down to 1, and within each rank it lists the files from a to h. That is why a FEN begins at the a8 corner, the top-left square from White's side.