How Many Sudoku Grids Are There?
A sudoku puzzle looks small, yet the number of possible completed grids is enormous. Here are the numbers, and what "17 clues" means.
Make a sudoku puzzleEvery puzzle is fresh and has exactly one solution.
Open the tool →
Completed grids
The number of valid completed 9×9 sudoku grids is 6,670,903,752,021,072,936,960, about 6.67 × 10²¹. That is a count of every way to fill the grid so each row, column and 3×3 box holds the digits 1 to 9 once.
Counting "different" grids
Many of those grids are the same puzzle in disguise: you can swap the digit labels, rotate or reflect the grid, or swap certain rows and columns. If you count grids that cannot be turned into each other by these changes, the number drops to 5,472,730,538. Wikipedia credits Ed Russell and Frazer Jarvis with computing it, announced in 2005 and 2006.
The smallest number of clues
A puzzle with a single solution needs enough starting numbers (clues) to rule out every other grid. The smallest number that can work is 17. A 2014 paper by Gary McGuire, Bastian Tugemann and Gilles Civario proved that no puzzle with 16 clues has a unique solution, using an exhaustive computer search. This does not mean a 17-clue puzzle is easy. Puzzles with few clues are often hard to solve.
Why it matters for puzzle makers
A good puzzle must have exactly one solution. A generator therefore has to check candidate puzzles, because removing a clue can open the door to a second solution. This is also why the number of clues alone does not set the difficulty.
Putting the numbers side by side
The full symmetry group that turns one valid grid into another (relabeling digits, permuting rows within bands, columns within stacks, swapping bands and stacks, and transposing) has 1,218,998,108,160 elements. Our own arithmetic: 6,670,903,752,021,072,936,960 ÷ 5,472,730,538 is about 1.2189 × 10¹², very close to the size of that group. This is what you would expect if nearly every grid has no symmetry of its own, so each "essentially different" grid appears about 1.2 trillion times in the full count.
How many 17-clue puzzles?
Many 17-clue puzzles have been found. As reported in 2007, Gordon Royle's collection held more than 36,000 distinct ones. Finding that none with 16 clues has a single solution needed an exhaustive computer search, published in 2014.
Why a puzzle site cares
- Every puzzle on the site has exactly one solution, so you never need to guess. That is a design constraint, not an accident.
- Difficulty depends on which techniques are needed, not on the number of clues alone.
- If you want to learn the techniques, see How to Solve Sudoku Without Guessing.
Make a sudoku puzzleEvery puzzle is fresh and has exactly one solution.
Open the tool →
Sources
Checked on October 25, 2026. We summarize in our own words and only state what these sources support.
- Wikipedia: Mathematics of Sudoku — grid counts and the 17-clue result
- Wikipedia: Mathematics of Sudoku — symmetry group size and 17-clue collection