What is FEN Notation?
FEN (Forsyth-Edwards Notation) is the standard way to describe any chess position in a single line of text. Created by Scottish journalist David Forsyth and later extended by Steven Edwards, FEN has become the universal language for sharing chess positions.
A FEN string contains six parts: piece placement, active color, castling rights, en passant target, halfmove clock, and fullmove number. For example, the starting position is:
rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1Lowercase letters represent black pieces (r=rook, n=knight, b=bishop, q=queen, k=king, p=pawn), and uppercase represent white pieces. Numbers indicate empty squares.
How to Analyze a FEN Position
Get Your FEN
Copy the FEN string from your chess software, website, or puzzle book. Most platforms have a "Copy FEN" option.
Create a PGN
Wrap your FEN in a PGN format with [FEN "your-fen-here"] header. You can add moves from that position too.
Get Analysis
Our Stockfish 17 engine analyzes the position, showing evaluation, best moves, and alternative lines.
FEN Format Explained
A FEN string has six fields separated by spaces:
Piece Placement
Ranks 8 to 1 (top to bottom), separated by slashes. Pieces: K=King, Q=Queen, R=Rook, B=Bishop, N=Knight, P=Pawn. Lowercase = black.
Active Color
"w" for White to move, "b" for Black to move.
Castling Rights
"K" = White kingside, "Q" = White queenside, "k" = Black kingside, "q" = Black queenside. "-" if no castling available.
En Passant Square
The square where en passant capture is possible (e.g., "e3"), or "-" if none.
Halfmove Clock
Moves since last pawn move or capture (for 50-move rule).
Fullmove Number
The current move number, starting at 1 and incrementing after Black's move.
Why Analyze FEN Positions?
Study Puzzles
Found a puzzle in a book? Get the FEN and analyze variations you weren't sure about.
Analyze Specific Positions
Skip to a critical position from your game and explore what the engine recommends.
Create Training Material
Set up positions for students or yourself and verify the solutions with engine analysis.
Verify Evaluations
Double-check evaluations from books or videos against current Stockfish analysis.
Frequently Asked Questions
What is FEN in chess?▼
How do I copy FEN from Chess.com or Lichess?▼
Is FEN analysis free?▼
Can I analyze just a position without a full game?▼
Example: PGN with FEN
Here's how to create a PGN that starts from a specific FEN position:
[Event "Position Analysis"] [Site "chess.koz.tv"] [White "Analysis"] [Black "Position"] [FEN "r1bqkb1r/pppp1ppp/2n2n2/4p3/2B1P3/5N2/PPPP1PPP/RNBQK2R w KQkq - 4 4"] 4. Ng5 d5 5. exd5 Na5 *
This starts from the Italian Game and analyzes the Fried Liver Attack. You can add as many or as few moves as you want after the FEN.
Analyze Your Chess Position
Get professional Stockfish analysis for any FEN position — free, no signup required
Start Position Analysis