Skip to content
chessenpai

Chess960 position generator

Draw a random Fischer random starting position, or jump to any of the 960 by its number.

Drawing a position...

Starting position

Drawing a position...

Use this position

The FEN appears once the position is drawn.

HOW IT WORKS

How to generate a Chess960 position

  1. Draw a position

    Press Random position for one of the 960 starting setups, or type a number from 0 to 959 to load a specific one.

  2. Set up the board

    Copy White's back rank from the board onto your first rank. Pawns stay on the second rank and Black mirrors White.

  3. Play or analyse

    Start a game with the chess clock, copy the FEN for another app, or open the position on the analysis board.

Guide

5 topics · 4 min read

What is Chess960?

Chess960, also called Fischer random chess, is chess with a shuffled back rank. Bobby Fischer proposed it in 1996. The pawns start on their usual squares, but the pieces behind them are arranged in one of 960 possible ways. Everything else is ordinary chess: the pieces move the same way, checkmate wins, and the rules for check, stalemate, en passant and promotion do not change. The only rule that needs adjusting is castling, explained below.

A legal Chess960 setup has to meet three conditions:

  • The bishops stand on opposite-coloured squares, so each side keeps one light-squared and one dark-squared bishop.
  • The king stands somewhere between the two rooks, so castling is possible on both sides.
  • Black mirrors White: each black piece stands on the same file as its white counterpart.

Counting every arrangement that meets those conditions gives exactly 960, which is where the name comes from. The standard chess setup is one of them.

Why play Chess960?

In standard chess, the first moves of a game are often a memory test. Strong players know long opening lines by heart, and club players can lose a game before it starts by walking into a trap they have not studied. In Chess960, you usually see the position for the first time when the game begins, so preparation counts for much less and understanding counts for more.

  • You think from move one. There is no book to follow, so every early decision is yours: which pawns to push, how to develop and where to put the king.
  • Principles matter more than lines. Control the centre, develop quickly, keep the king safe. The same ideas still work, but you have to apply them in an unfamiliar setup.
  • It levels the field. A player who has studied far less theory can meet a well-prepared opponent on more even terms.
  • It is fun. Odd piece placements create odd positions, and every game feels new.

How Chess960 position numbers work

Each of the 960 starting positions has a number from 0 to 959, under a scheme devised by Reinhard Scharnagl. The number works like a code for where each piece goes, so you can rebuild a position from its number alone:

  1. Divide the number by 4. The remainder (0 to 3) puts the light-squared bishop on b, d, f or h.
  2. Divide the result by 4 again. This remainder puts the dark-squared bishop on a, c, e or g.
  3. Divide by 6. The remainder (0 to 5) puts the queen on that empty square, counting from the a-file and starting at 0.
  4. What is left, from 0 to 9, picks the two knight squares among the five empty squares.
  5. The last three empty squares get rook, king, rook, in that order, which keeps the king between the rooks.

Following those steps, position 0 is BBQNNRKR, position 959 is RKRNNQBB, and position 518 is RNBQKBNR, the normal starting position. The generator does this arithmetic for you: type any number to see its position, or press Random position to draw one.

How to set up a Chess960 game over the board

You need nothing more than a normal set. FIDE's Chess960 guidelines allow the starting position to be generated before the game by a computer program or with dice, coins or cards. Using the generator:

  1. Draw a position and agree on it with your opponent. Write down the number if you want to replay it later or record the game.
  2. Place White's pieces on the first rank exactly as shown on the board, from the a-file to the h-file.
  3. Place eight pawns on each side's second rank, as usual.
  4. Place Black's pieces directly opposite White's, on the same files of the eighth rank.
  5. White moves first. Start the chess clock if you are playing with time.

If you want to look at the position with an engine first, open it on the analysis board, or try a few candidate first moves on the best move calculator.

Castling in Chess960

Castling is the one rule that works differently, because the king and rooks can start almost anywhere. The idea is that after castling, the king and rook stand where they would after castling in standard chess:

  • Kingside castling (O-O): the king ends on g1 and the rook on f1. For Black, g8 and f8.
  • Queenside castling (O-O-O): the king ends on c1 and the rook on d1. For Black, c8 and d8.

Every square the king crosses to reach its destination, and every square the rook crosses, must be empty, except for the king and the castling rook themselves. The usual conditions from standard chess still apply: neither the king nor that rook may have moved, and you cannot castle out of check, through an attacked square or into check. Depending on the setup, the king or the rook might not move at all when castling, and castling can even be possible on the first move.

Over the board, FIDE's guidelines recommend a clear way to do it: take the king off the board and place it next to its destination, move the rook to its square, then put the king on its final square. Saying “I am about to castle” first avoids any confusion with a normal king or rook move.

QUESTIONS

Frequently asked questions

How do I generate a Chess960 position?
Press Random position and the generator draws one of the 960 starting positions, each equally likely. The board, the position number and the FEN update together, and you can draw again as often as you like.
What do the Chess960 position numbers mean?
Every starting position has a number from 0 to 959 under the Scharnagl numbering scheme. The number encodes where the bishops, queen and knights stand, and the rooks and king fill the remaining squares. The standard chess setup is number 518.
Can I look up a specific Chess960 position?
Yes. Type a number from 0 to 959 in the Go to position number box and press Show. The board jumps to that position, so two players or a whole club can agree on a number and set up the same game.
How does castling work in Chess960?
After castling, the king and rook end on the same squares as in standard chess: king on g1 and rook on f1 for kingside, king on c1 and rook on d1 for queenside (g8, f8, c8 and d8 for Black). The squares between each piece and its destination must be empty apart from the king and that rook.
Is the standard chess starting position part of Chess960?
Yes. The normal setup, RNBQKBNR, follows all the Chess960 rules, so it is one of the 960 positions. It has the number 518.
Is this Chess960 generator free?
Yes, free and unlimited, with no account and no ads.