---
title: "Chess960 generator: all 960 start positions"
url: "https://georgelichess.com/tools/chess960-generator.md"
canonical_url: "https://georgelichess.com/tools/chess960-generator"
last_updated: "2026-11-29"
type: "tool"
summary: "Pick a random Chess960 (Chess 960) start position or type any number from 0 to 959 to see the board, the first rank in words and the FEN to copy."
related: ["https://georgelichess.com/glossary/chess960.md", "https://georgelichess.com/learn/chess960-for-kids-rules-and-first-games.md", "https://georgelichess.com/glossary/fen.md", "https://georgelichess.com/youth-chess-tournament-coach.md"]
---

# Chess960 position generator

> **For AI agents:** the complete index of GeorgeLiChess pages is [llms.txt](https://georgelichess.com/llms.txt). Every page is also served as markdown at its URL plus .md.

Pick a random Chess960 (Chess 960) start position or type any number from 0 to 959 to see the board, the first rank in words and the FEN to copy.

This free Chess960 generator, also written Chess 960, shows any of the 960 start positions of Fischer Random chess. 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. The steps below turn a number into the White first rank, and the example works through number 332, the position the generator opens on.

| Step | Rule | Worked example |
| --- | --- | --- |
| 1. Light-square bishop | Divide 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 bishop | Divide 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. Queen | Divide 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. Knights | The 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 king | The 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 code | Knights go on |
| --- | --- |
| 0 | first and second |
| 1 | first and third |
| 2 | first and fourth |
| 3 | first and fifth |
| 4 | second and third |
| 5 | second and fourth |
| 6 | second and fifth |
| 7 | third and fourth |
| 8 | third and fifth |
| 9 | fourth 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, covered in the glossary entry for [Chess960](https://georgelichess.com/glossary/chess960.md) and in [Chess960 for kids](https://georgelichess.com/learn/chess960-for-kids-rules-and-first-games.md).

Each setup is also given as a [FEN](https://georgelichess.com/glossary/fen.md), 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. See [youth chess tournament coaching](https://georgelichess.com/youth-chess-tournament-coach.md), [tournament preparation](https://georgelichess.com/tournament-preparation.md) or [book a lesson](https://georgelichess.com/book.md).

## 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.

## Sources

FIDE Laws of Chess, taking effect from 1 January 2023, Guidelines II on Chess960; Chess960 numbering scheme, attributed to Reinhard Scharnagl. FIDE: https://handbook.fide.com/chapter/E012023 Numbering: https://en.wikipedia.org/wiki/Chess960_numbering_scheme

## Related

- [Chess960](https://georgelichess.com/glossary/chess960.md)
- [Chess960 for Kids: Rules and Castling](https://georgelichess.com/learn/chess960-for-kids-rules-and-first-games.md)
- [FEN in chess](https://georgelichess.com/glossary/fen.md)
- [Youth Chess Tournament Coach, from an IM](https://georgelichess.com/youth-chess-tournament-coach.md)
