Szachmaty

FEN (position notation)

Chess glossary · Notation and analysis

In short: FEN is a text record of one chess position: where the pieces stand, who is to move, which castling moves are still possible, whether there is an en passant capture and how many moves have passed.

Position after 1.e4 in FEN: rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1. Ranks from 8 to 1, lowercase letters are Black, digits are empty squares, “b” means it is Black's move.

How do you read a FEN?

The first part describes the board rank by rank, from 8 to 1, separated by slashes. The letters are pieces in English: K king, Q queen, R rook, B bishop, N knight, P pawn. Capital letters are White, lowercase are Black, and a digit tells how many empty squares are in a row. “8” is a whole empty rank.

What do the other parts mean?

The second part is the side to move: w for White, b for Black. The third is the possible castling (KQkq, or “-” when there is none). The fourth is the en passant square. The fifth counts half-moves since the last capture or pawn move, that is the fifty-move rule. The sixth is the move number.

What is FEN useful for?

For moving positions between programs: you paste a FEN and at once have the same position in analysis or in the position editor. This is how chess puzzles and positions from books are recorded. The name comes from the surnames of Forsyth, who devised the position notation in the 19th century, and Edwards, who extended it.

Paste a position into analysis in the app

Free, no account needed. Your progress stays in your browser.