Skip to content

Chess960 position generator

This free Chess960 generator, also written Chess 960, shows any of the 960 start positions of Fischer Random chess.

Want to improve faster? International Master George Li starts a first lesson from your own games and sends a written plan after it: $150 for 60 minutes.

Book your first lesson ($150)

A whole number from 0 to 959. Number 518 is the usual chess setup.

Recent positions

Position number
332

White's first rank
NBRQKRBN
From the a-file: knight, bishop, rook, queen, king, rook, bishop, knight.

Press the random button or type a number from 0 to 959, and it draws the board, spells out the first rank and gives the FEN to copy. Number 518 is the usual chess setup. It runs in your browser.

How a position number picks the setup

Each number from 0 to 959 names exactly one start position, and the same number always gives the same setup. The steps below turn a number into the White first rank. The worked example uses number 332, the position the generator opens on, and the second table lists the ten knight placements that step 4 chooses from.

The numbering, one step at a time, with number 332 worked through.
StepRuleNumber 332
1. Light-square bishopDivide the number by 4. The remainder 0, 1, 2 or 3 puts the bishop on the b, d, f or h file.332 ÷ 4 = 83, remainder 0: the bishop goes to b1.
2. Dark-square bishopDivide the quotient by 4 again. The remainder 0, 1, 2 or 3 puts the other bishop on the a, c, e or g file.83 ÷ 4 = 20, remainder 3: the bishop goes to g1.
3. QueenDivide that quotient by 6. The remainder, 0 to 5, says which of the six empty squares the queen takes, counted from the a-file.20 ÷ 6 = 3, remainder 2: the empty squares are a, c, d, e, f, h, so the queen goes to d1, the third of them.
4. KnightsThe quotient from step 3, 0 to 9, picks one of the ten knight placements in the table below, among the five empty squares.Knight code 3 takes the first and fifth of a, c, e, f, h: the knights go to a1 and h1.
5. Rooks and kingThe three empty squares left take rook, king, rook in file order, so the king always stands between the rooks.The rooks go to c1 and f1 and the king to e1, which gives NBRQKRBN.
The ten knight placements, among the five empty squares counted from the a-file.
Knight codeKnights go on
0first and second
1first and third
2first and fourth
3first and fifth
4second and third
5second and fourth
6second and fifth
7third and fourth
8third and fifth
9fourth and fifth

The two rules behind the 960

White's pawns stay on the second rank and the other pieces take the first rank in one of 960 arrangements. The bishops stand on squares of opposite colors and the king stands between the two rooks. Black's pieces mirror White's. After the setup the ordinary rules of chess apply, with one change to castling. The glossary entry for Chess960 and the guide Chess960 for kids cover the rules and the four ways to castle.

Each setup is also given as a FEN, one line of text that spells out the board rank by rank, whose move it is, the castling rights, any en passant square and the two move counters.

Using a start position to train

A shuffled start shows whether a player is using the ideas of the opening or a memorized line. Play a few games from one number, then compare how each side developed its pieces and where its king went. A coach can build this into tournament work: see youth chess tournament coaching, tournament preparation or book a lesson.

Sources

FIDE Laws of Chess, taking effect from 1 January 2023, Guidelines II on Chess960; Chess960 numbering scheme, attributed to Reinhard Scharnagl. FIDE Laws of Chess. Chess960 numbering scheme.

Every setup here is a start position only. To play on from one, copy its FEN into a chess program or a board editor.

Questions people ask

How many Chess960 start positions are there?
960. The two bishops must stand on opposite colors, which allows 16 pairs of squares. The queen then has 6 squares, the two knights 10 pairs among the 5 left, and the rooks and king have only one order, because the king stands between the rooks. 16 times 6 times 10 is 960.
Which number is the normal chess setup?
Number 518, RNBQKBNR from the a-file. Type 518 to see it, then use the previous and next buttons to step through the setups beside it.
What is Chess 960?
Chess 960 and Chess960 are two spellings of the same game, also called Fischer Random chess or Freestyle chess. Every game starts from a shuffled first rank, with the king between the rooks and the bishops on opposite colors, and is played by the ordinary rules from there.
Does Black get a different setup from White?
No. Black's pieces mirror White's on the eighth rank, each on the same file as its White twin. The generator draws both sides from the one number.
Can I castle in a Chess960 game?
Yes, once per game for each side, with the same end squares as in ordinary chess: after castling toward the c-file the king stands on c and the rook on d, and after castling toward the g-file the king stands on g and the rook on f. Whether you can castle early depends on which squares between the pieces are empty, so some starts allow it on move one and others need several moves first.
What do I do with the FEN?
The FEN is one line of text that records the whole position. Copy it and paste it into a chess program or a board editor to set up the same start there. This tool's FEN always ends with w KQkq - 0 1: White to move, all four castling rights, no en passant square, and the move counters at the start.

Want a coach to go through this with you? See chess coaching with International Master George Li or online chess lessons.

Want to play every opening from the ideas, not from memory?

The first lesson reviews your games, reads your level and ends with a written study plan.