What is FEN in chess? How to read all six fields
Read a chess FEN one field at a time, including castling, en passant, and move counters. Load the exact example and learn when to share a PGN instead.
In brief
FEN stands for Forsyth–Edwards Notation. One line of FEN records the piece placement, whose turn it is, castling rights, en passant target, halfmove clock, and fullmove number. Use it to load or share one position.
Decode the FEN after 1.e4 a6 2.e5 d5
Whose turn is it? Find the en passant target and decide which pawn can land there.
Reveal solution
The w field makes it White’s turn. White can play 3.exd6 en passant. The white pawn moves from e5 to d6 and the black pawn on d5 is removed. Enter e5d6 on the analysis board to see the change.
The analysis board opens with Stockfish enabled, so it will show the answer.

Decode an actual chess position, play its en passant capture, and share the resulting board.
- Open the exact position above or paste the full line into FEN position and select Load FEN.
- Enter e5d6 and select Play move. The pawn from e5 lands on d6 and the pawn on d5 disappears.
- Copy the current FEN. The second field now reads b. The en passant field is a dash, the halfmove clock is still zero after the capture, and the fullmove number stays at 3 until Black moves.
- The notation follows section 16.1 of the PGN specification. The worked position is reproduced with legal moves and the resulting FEN and capture are tested with chess.js.
The six FEN fields in order
Read the fields from left to right, separated by spaces. The first takes the most room because it describes all 64 squares. Here are the values in the worked position above. PGN specification, section 16.1.
| Field | Value here | What it means |
|---|---|---|
| Piece placement | rnbqkbnr/1pp1pppp/p7/3pP3/8/8/PPPP1PPP/RNBQKBNR | Eight ranks, from rank 8 to rank 1. Each slash starts the next rank. |
| Side to move | w | White moves next. The other value is b for Black. |
| Castling rights | KQkq | Both sides retain kingside and queenside rights. A dash means neither side has rights. |
| En passant target | d6 | The black d-pawn just passed over d6. White can capture there in this position. |
| Halfmove clock | 0 | The last move was a pawn move. Every pawn move or capture resets this clock to zero. |
| Fullmove number | 3 | White is about to play move 3. This counter starts at 1 and advances after each Black move. |
How to read the pieces and empty squares
Read each rank from file a to file h. Uppercase letters are White pieces and lowercase letters are Black pieces. P means pawn, N knight, B bishop, R rook, Q queen, and K king. A digit counts consecutive empty squares. So 8 is an empty rank, and 3pP3 on rank 5 places a black pawn on d5 and a white pawn on e5, with three empty squares on either side.
Castling letters record the rights a player still has. For example, White retains K and Q in the worked position, but pieces still block both castles. The usual rules about blocked squares and check still apply.
The original FEN specification includes an en passant target after any two-square pawn move. Chessonomy writes a dash if there is no legal en passant capture. Both conventions show d6 here because White can capture there. chess.js FEN export behavior.
Paste the position and see what changes
- Open the exact position above or paste the full line into FEN position and select Load FEN.
- Enter e5d6 and select Play move. The pawn from e5 lands on d6 and the pawn on d5 disappears.
- Copy the current FEN. The second field now reads b. The en passant field is a dash, the halfmove clock is still zero after the capture, and the fullmove number stays at 3 until Black moves.
When should you share FEN or PGN?
Send a FEN when you want someone to solve a puzzle, check a tactical position, or start analysis from the same board. Send a PGN when you want them to replay a game, read comments, or recover the previous positions needed to verify threefold repetition.
Continue with a related guide
- How to read a Stockfish evaluation in chess
Read the sign, follow the engine line, and see why a mate score carries more information than a decimal.
- How to Analyze a Chess Position with Stockfish
Strong analysis is not just reading the engine's top move. Use Stockfish as a second opinion after you understand threats, candidates, and plans.
Chessonomy builds browser-based chess analysis and training tools and publishes worked positions for readers to try.
Questions Players Ask
How many fields are in a FEN?
A standard FEN has six fields separated by spaces. In the first field, seven slashes separate the eight ranks of the board.
Why can two FENs show the same pieces but mean different things?
The turn, castling rights, en passant target, or move counters may differ even when every piece occupies the same square. Those fields can change legal moves or draw conditions.
