Active games

Start new game and compete for FIDE Online and Worldchess rating, or invite a friend and train with no hassle at all!
Switch to light theme
Notifications
No notifications

0

Sign in
Register
FEN notation

FEN notation

When attempting to recreate a game positioning you have probably come across FEN. At a glance it can look encoded but is in fact a chess notation method, a compact written form to describe a chess position. The method is used in a lot of chess engines, analysis as well as in online chess. It may at first look complicated and cryptic but in practice it is very useful.

What is a FEN in chess?

FEN or Forsyth-Edwards Notation, is a line that showcases the full state of the board at a given moment.

However is not only the placement of a single piece it also includes which players turn it is, castling rights and some counters.

A basic fen chess string might look like this:

r1bqkbnr/pppp1ppp/2n5/4p3/4P3/2N5/PPPP1PPP/R1BQKBNR w KQkq - 2 3

Within this line it contains everything you need to know about the position in a game.

This is what makes fen notation useful: you don’t need to move history, just the current state.

Forsyth-Edwards Notation History

The system didn’t start as FEN in its current form. In the beginning there was Forsyth, originally developed by David Forsyth. This method showcased the placement of the pieces scribed rank by rank.

Later, Steven Edwards expanded it to include more details—things like active color and castling rights. That updated version became what we now call FEN.

So modern fen chess notation is really a layered system:

  • Forsyth: board layout
  • Edwards: game state details

That combination made it usable for computers, which is why it stuck.

How Does FEN Notation Chess Work?

There are 6 parts in the FEN string that follow the same order, with each segment separated by a space.

For example

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

Now let's break it down.

Piece Placement

The piece placement is the longest and first section. The rank from 8 - 1 is written from top to bottom, each rank being separated by a /.

  • Letters represent pieces
    • Uppercase = White (R, N, B, Q, K, P)
    • Lowercase = Black (r, n, b, q, k, p)
  • Numbers represent empty squares

So:

  • 8 means a full empty rank
  • pppppppp means 8 black pawns

This part alone already defines the visual layout of the board.

Active Color

This part is simple:

  • w = White to move
  • b = Black to move

In the example above, w means White plays next

Castling Ability

This shows which sides can still castle.

  • K = White can castle kingside
  • Q = White queenside
  • k = Black kingside
  • q = Black queenside

If no castling is possible, it’s written as -.

So KQkq means both sides can castle both ways.

Possible En Passant Targets

This part indicates if an en passant capture is available.

If a pawn has just moved two squares, this field shows the square behind it.

If there’s no such possibility, it’s just -.

This is one of the more technical parts of fen notation, and it’s often ignored by beginners—but engines rely on it.

Halfmove Clock

This counts the number of moves since the last pawn move or capture.

It’s used for the fifty-move rule.

Example:

  • 0 means a reset just happened
  • 15 means fifteen moves without a pawn move or capture

Fullmove Counter

This is the move number in the game.

  • Starts at 1
  • Increments after Black’s move

So 1 means the game is at move one.

Example Breakdown

Let’s look at a slightly more realistic position:

r1bqkbnr/pppp1ppp/2n5/4p3/4P3/2N5/PPPP1PPP/R1BQKBNR w KQkq - 2 3

What this tells you:

  • Pieces are developed slightly (knights out, one pawn moved)
  • White to move
  • All castling rights still available
  • No en passant
  • Two halfmoves since last pawn/capture
  • Move 3

You can reconstruct the board from this alone. That’s the core strength of fen chess.

FEN Notation Importance

FEN shows up everywhere once you start using tools seriously.

Some common uses:

  • Loading positions into chess engines
  • Sharing puzzles or positions
  • Saving analysis states
  • Debugging positions in software

Without fen notation, you’d need full move lists just to explain a position. That’s inefficient, especially in analysis.

It’s also standard across most platforms, which makes it portable. You can copy a FEN string from one site and use it somewhere else without issues.

Quick Reference Table

Field

Meaning

1

Piece placement

2

Active color

3

Castling rights

4

En passant target

5

Halfmove clock

6

Fullmove number

Conclusion

This isn't something all casual players need to understand straight away but when getting more ingrained in chess it becomes difficult to avoid especially when analyzing games or using engines.

When starting it may seem complex and dense. After a few examples, reading a FEN string becomes more like scanning than decoding.

For anything beyond casual play, fen chess notation is basically standard. It saves time, avoids ambiguity, and works across almost every tool used in modern chess.