All Solutions to the 8 Queens Problem

Explore all 92 valid solutions to the 8 queens problem. Each solution is a unique arrangement of queens on the chessboard, ensuring no two threaten each other. Download the full set or use our interactive viewer to study each one.

All solutions to the 8 queens problem

Download All Solutions

Get every solution in a convenient format: Download JSON or Download PDF.

Interactive Solutions Viewer

Use our interactive viewer to cycle through all 92 solutions. Visualize each arrangement and see how the queens are placed.

How Are the Solutions Found?

The solutions are generated using a backtracking algorithm, which systematically explores all possible placements and backtracks when a conflict is found. This ensures that every valid arrangement is discovered.

FAQ

How many solutions are there to the 8 queens problem?

There are 92 valid solutions to the 8 queens problem, each with a unique arrangement of queens.

Can I download all 8 queens problem solutions?

Yes, you can download all solutions as a JSON or PDF file from this page.

Read the full solution guide →