Glossary · Casual

FEN (Forsyth–Edwards Notation)

FEN is a one-line text string that describes a single chess position exactly — piece placement, whose move, castling rights, and more. Here's how to read a FEN, field by field.

FEN — short for Forsyth–Edwards Notation — is a compact, single-line text string that captures one chess position exactly: where every piece stands, whose turn it is, castling rights, en passant, and the move counters. Paste a FEN into any chess app and it rebuilds the position instantly. It’s the standard way to share a snapshot of a game.

Unlike PGN (which records a whole game, move by move), a FEN describes a single frozen moment. The starting position looks like this:

rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1

The six fields, decoded

A FEN is six fields separated by spaces:

#FieldIn the exampleMeans
1Piece placementrnbqkbnr/...Ranks 81, each row separated by /. Uppercase = White, lowercase = Black, digits = that many empty squares.
2Side to moveww = White to move, b = Black.
3Castling rightsKQkqK/Q = White can castle king/queen-side; k/q = Black. - if none.
4En passant target-The square a pawn can be captured on en passant, or - if none.
5Halfmove clock0Half-moves since the last capture or pawn move (for the 50-move rule).
6Fullmove number1Starts at 1, increments after each Black move.

Now watch it change. After 1.e4, the FEN becomes:

rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq e3 0 1

Notice three things: the white pawn moved (4P3 on the 4th rank, and PPPP1PPP shows the gap), the side to move flipped to b, and the en passant field is now e3 — the square Black could capture on if it had a pawn in position.

Mini-FAQ

Which rank comes first in a FEN? Rank 8 (Black’s back rank) is written first, down to rank 1. Within each rank you read left to right, a-file to h-file.

What does the number after a piece letter mean — wait, there isn’t one? Right — FEN never puts numbers next to a piece. Digits stand alone and mean “this many empty squares in a row.” So 3P4 = three empties, a pawn, four empties.


Written and fact-checked by the Chess Lab Academy Editorial Team (AI-assisted, human-edited) · Format cross-checked against Wikipedia; example FEN strings legality-verified with python-chess · Last verified 2026-07-13 · Sources · How we verify content.

About this lesson — Chess Lab Academy's editorial team researches, writes, and fact-checks every entry. Content is drafted with AI assistance and every chess claim is verified before publishing — see our methodology. Read our methodology →
Verification — cross-checked against Wikipedia; example FEN strings legality-verified with python-chess · Last verified July 13, 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