Szachmaty
Scholar's mate after 4.Qxf7#: the queen captures the f7 pawn and mates the king on e8. File letters and rank numbers are shown on the edges of the board.
Scholar's mate after 4.Qxf7#: the queen captures the f7 pawn and mates the king on e8. File letters and rank numbers are shown on the edges of the board.

Chess notation: how to write and read a game

Author of the Szachmaty site

Learning chessupdated 8 min read10 boards

In short

Chess notation records every move with a piece letter and the name of the square the piece goes to, for example Nf3. A square is a file letter from a to h and a rank number from 1 to 8. The sign x means a capture, + check, # mate, and O-O and O-O-O castling.

Chess notation is a way of recording moves with letters and numbers. Every square has its own name, every piece has its letter, and a few signs describe a capture, a check and a mate. That way a game can be written on paper, replayed years later, read in a book and pasted into a program.

This article shows algebraic notation, which is used today in books, programs and at tournaments. We start with square names, then move on to pieces, special signs and recording a whole game. If you do not yet know how the pieces move, start with the page Chess rules.

Prefer to go straight to the board? Learn the square names on the board.

Square names: from a1 to h8

The chessboard has eight files and eight ranks. Files are marked with letters from a to h, counting from the left of the player with White. Ranks have numbers from 1 to 8, counting from White's side. A square name is always a letter and a number, for example e4 or h8. Files are also simply called lines, hence terms like “the e-file”. We write more about files, ranks and diagonals in the entry File, rank and diagonal.

From White's point of view the a1 square is in the bottom left corner and h8 in the top right. At the start of the game the White pieces stand on ranks 1 and 2, and the Black ones on 7 and 8. The White queen starts on d1 and the White king on e1. If the board is turned around, the square names do not match the diagrams, so it is worth checking the board orientation: a light square must be in the bottom right corner.

Starting position with coordinates: squares a1 and h8, queen d1 and king e1.

The starting position from White's point of view. The a1 square is in the bottom left corner, h8 in the top right. The White queen stands on d1 and the White king on e1.

(back to contents)

Piece letters in Polish and English

A move is written with the piece letter and the name of the square the piece goes to. The letters depend on the language:

Piece In Polish In English
king K K
queen H Q
rook W R
bishop G B
knight S N
pawn no letter no letter

In Polish books Sf3 means that the knight goes to f3. In English, the standard in international books, programs and tournaments, the same move is Nf3. A pawn move is written with just the square name: e4 is the pawn going to e4.

Opening line: 1.e4 e5 2.Nf3, a pawn move and a knight move.

1.e4

A pawn move: just the square name, e4.

1.…e5
2.Nf3

The knight goes to f3. In English Nf3, in Polish Sf3.

We write more about how each piece moves on the page Chess pieces.

Full notation also gives the square the piece came from, for example e2-e4 or Ng1-f3. You will meet it in older books. For everyday use the shortened form is used, which we describe below.

(back to contents)

Capture, check and mate

Three signs are enough to read most games:

  • x is a capture. Qxf7 means the queen captures on f7. For a pawn capture you give the file the pawn came from: exd5 is the pawn from the e-file capturing on d5.
  • + is check. Bb5+ is a bishop going to b5 with check.
  • # is mate. Qxf7# is a capture on f7 that ends the game with mate.

A pawn capture and a check can be seen in this short line:

Opening line: 1.e4 d5 2.exd5 Nf6 3.Bb5+, a pawn capture and a check.

1.e4d5
2.exd5

The pawn from the e-file captures on d5, so the notation is exd5.

2.…Nf6
3.Bb5+

The bishop goes to b5 with check: Bb5+. The c6 and d7 squares are empty, so the bishop reaches the king on e8.

Moves are numbered in pairs. One number covers White's move and Black's reply, so 1.e4 e5 means the first move of both sides. If in a text you need to point to Black's move alone, three dots follow the number: 1...e5 is Black's reply on the first move, and 3...Nf6 is Black's move on the third.

All these signs can be seen in Scholar's mate, one of the best-known traps for beginners:

Opening line: Scholar's mate, 1.e4 e5 2.Bc4 Nc6 3.Qh5 Nf6??.

1-0Scholar's mate
1.e4e5
2.Bc4Nc6
3.Qh5

The queen on h5 and the bishop on c4 attack the f7 pawn, which only the king defends.

3.…Nf6??

The knight attacks the queen but does not defend the f7 square.

3… g6 The pawn attacks the queen and closes its way to f7.

3… Qe7 Black's queen defends the f7 pawn.

White to move and give mate in one.

Show solution
4.Qxf7#

The queen captures on f7 and gives mate. The bishop on c4 defends it, so the king cannot capture it, and the queen attacks the e7 square.

More positions like this: Training, mate in 1 move

Explanation of the solution

After 3.Qh5 the queen and bishop threaten mate on f7. The move 3...g6 closes the queen's way to that square, and 3...Qe7 defends the f7 pawn. The move 3...Nf6 attacks the queen but does not remove the threat. We write more about this trap on the page Scholar's mate and Fool's mate, and about mate itself on the page Check and checkmate.

(back to contents)

Castling: O-O and O-O-O

Castling is written without piece letters and square names. Short castling, on the kingside, is O-O. Long castling, on the queenside, is O-O-O. Some books and programs write zeros instead of letters: 0-0 and 0-0-0. We describe the conditions for castling on the page Castling.

Position composed for this article: White's long castling, Black's short castling and two rook moves with disambiguation.

Both kings and all the rooks stand on their squares, so each side can still castle.

1.O-O-O

Long castling: the king goes from e1 to c1 and the rook from a1 to d1.

1.…O-O

Short castling: the king goes from e8 to g8 and the rook from h8 to f8. Black cannot castle long at the moment, because the rook on d1 attacks the d8 square, which the king would pass through.

2.Rhe1

Both White rooks can go to the e1 square: from d1 and from h1. The notation gives the file the rook came from.

2.…Rae8

The same for Black: on e8 the rooks from a8 and f8 can go.

(back to contents)

When two pieces can go to the same square

Sometimes the same move can be made by one of two identical pieces. Then the notation gets an extra sign that says which of them moves.

First you give the file the piece comes from. After 1.d4 d5 2.Nf3 Nf6 both White knights can go to d2: from b1 and from f3. The notation 3.Nd2 alone would be unclear, so you write 3.Nbd2 or 3.Nfd2. 2.Rhe1 on the board above works the same way.

Opening line: 1.d4 d5 2.Nf3 Nf6, two knights can go to d2.

1.d4d5
2.Nf3Nf6

Both White knights can now go to d2: from b1 and from f3.

3.Nbd2

The knight from the b-file: notation 3.Nbd2.

3. Nfd2 The knight from the f-file: notation 3.Nfd2.

When both pieces stand on the same file, the letter tells nothing. Then you give the rank number. If White's rooks stand on e1 and e3, both can go to e2, so the notation is R1e2 or R3e2.

Position composed for this article: two rooks on the e-file and notation with the rank number.

White's rooks stand on e1 and e3, on the same file. Both can go to e2, so the notation gives the rank number.

1.W1e2

The rook from the first rank: R1e2.

1. R3e2 The rook from the third rank: R3e2.

The disambiguating sign is added only when it is needed. If only one piece of that kind can go to the square, the plain notation is enough.

(back to contents)

Pawn promotion: e8=Q

A pawn that reaches the last rank turns into a queen, rook, bishop or knight. This move is pawn promotion. The notation gives the promotion square, an equals sign and the letter of the new piece: e8=Q is promotion to a queen on e8, and e8=N to a knight. Check and mate signs are added at the end, for example e8=Q#.

Position composed for this article: pawn promotion with mate.

1-0

The White pawn stands on e7, and the e8 square is free. The black king is shut in by its own pawns on g7 and h7.

1.e8=H#

The pawn goes to e8 and turns into a queen. The queen checks the king along the eighth rank, and the king has no free square. In notation: e8=Q#.

1. e8=R# Promotion to a rook also gives mate. In notation: e8=R#.

Here both a queen and a rook give mate. Promotion to a bishop or a knight does not even give check. We describe pawn moves, including promotion, on the page The pawn in chess.

(back to contents)

En passant

En passant is written like an ordinary pawn capture. You give the file the capturing pawn came from and the square it landed on. That square is empty before the move, because the captured pawn stood beside it. Some books add the abbreviation e.p., but the capture notation alone is enough.

Position composed for this article: en passant, 1...d5 2.exd6.

Black to move. The White pawn stands on e5, next to the d-file.

1.…d5

Black's pawn goes two squares and stands next to the e5 pawn.

2.exd6

En passant. The White pawn captures as if the black pawn had gone only one square: it lands on d6, and the d5 pawn disappears from the board. The notation looks like an ordinary pawn capture.

The board starts with Black's move, so the first move is written 1...d5. En passant is possible only on the move that comes right after a pawn goes two squares. If White plays something else first, the right to this capture is lost. Details are on the page En passant.

(back to contents)

Move annotation symbols

In books and commentaries, question marks and exclamation marks sometimes follow a move. That is the commentator's assessment, not part of the move:

  • ! a good move,
  • !! a very good move, hard to find,
  • ? a mistake,
  • ?? a serious mistake, usually losing material or the game,
  • !? an interesting move worth checking,
  • ?! a dubious move.

In Scholar's mate the move 3...Nf6 has the sign ??, because it allows mate in one move. We mark mistakes the same way in our articles, for example in opening traps.

(back to contents)

Game result

The result stands at the end of the record: 1-0 means a White win, 0-1 a Black win, and ½-½ a draw. In PGN files a draw is written 1/2-1/2. We describe when a game ends in a draw on the page Stalemate and draws.

(back to contents)

PGN, programs and Polish notation

PGN is a text file format in which games are recorded. It has headers with game data and moves in algebraic notation with English letters: K, Q, R, B and N. Most chess programs use these letters too, so a record with Polish letters will usually not load in them. We tested this on the library our app uses: the record 1.e4 e5 2.Nf3 Nc6 loads without a problem, while 1.e4 e5 2.Sf3 Sc6 ends in an error at the move Sf3.

You will meet Polish letters in Polish books and in texts on the Polish version of this site. Our app shows moves on the screen with the letters of the language you chose, but a PGN file is always written in English so that it can be opened in other programs. If you want to paste a game into game analysis, use the notation with English letters.

(back to contents)

A scoresheet for recording games (PDF)

We prepared a simple scoresheet for recording a game on paper: a header with players, date, round and result, space for 60 moves in two columns and a cheat sheet with piece letters. It is black and white and fits on one A4 page. Download the scoresheet (PDF) and print as many as you need. White's move and Black's reply are written on one line, under the same number.

(back to contents)

The most common notation mistakes

  • Mixing languages in one record. S in Polish is a knight, and N in English is a knight too. A record like “Sf3 Nc6” is easy to misread.
  • A pawn capture without the file. The notation xd5 does not say which pawn captures. Correct: exd5 or cxd5. An example is under the list.
  • No three dots for Black's move. The notation 3.Nf6 in a text looks like a White move.
  • A forgotten disambiguating sign. If two rooks or two knights can go to the square, a record without an extra letter or number is unclear.

Opening line: 1.e4 e6 2.c4 d5, two pawns can capture on d5.

1.e4e6
2.c4d5

Two White pawns can go to d5: from the e-file and from the c-file. The notation xd5 alone would be unclear.

3.exd5

The pawn from the e-file captures: exd5.

3. cxd5 The pawn from the c-file captures: cxd5.

Notation is easiest to practice with puzzles. Printable puzzle worksheets have an answer key written in notation, and the page of each worksheet has a short cheat sheet with piece letters and the signs for capture, check and mate.

(back to contents)

Frequently asked questions

How do you write a move in chess notation?

With the piece letter and the name of the square the piece goes to, for example Nf3 is a knight to f3. A pawn move is written with just the square name, for example e4.

How do you write castling?

Short castling is O-O and long castling is O-O-O. Some books and programs write zeros: 0-0 and 0-0-0.

How is Polish notation different from English?

Only in the piece letters. In Polish the queen is H, rook W, bishop G and knight S, and in English Q, R, B and N. The king is K in both languages, and the pawn has no letter.

(back to contents)

Concepts from this article

What next

Learn the square names on the board

The course starts with the lesson “Squares have names”. You move the pieces and read the notation of the moves at once, no account needed.

Start the course

Related articles

Did this article help you?

A question or a mistake in the article? Write to the author: mail@szachmaty.pl.

More from the author: Igor Biały

Share: Facebook X