The Number of Sudoku Grids: Counting Every Possible Board
The number of sudoku grids is astonishingly large, and the story of how mathematicians counted them all is a quiet triumph of patience and symmetry.
Why counting is surprisingly hard
It is easy to ask how many completed Sudoku grids exist and shockingly hard to answer. A completed grid is any 9 by 9 board that obeys the row, column, and box rules, ignoring clues entirely. You cannot simply list them, because there are far too many to write down or check one by one. Finding the number of sudoku grids took a mix of clever mathematics to shrink the problem and a computer to finish the arithmetic that remained. The researchers did not brute force every board blindly; they fixed the top-left 3 by 3 box in a standard arrangement, which by symmetry accounts for a known factor, then counted how many ways the rest of the grid could be completed, grouping cases that behaved identically to keep the work manageable.
The number of sudoku grids
In 2005 Bertram Felgenhauer and Frazer Jarvis computed the answer. The number of sudoku grids, meaning distinct fully completed boards, is 6,670,903,752,021,072,936,960, which is roughly 6.67 followed by 21 digits, or about 6.67 sextillion. It dwarfs everyday quantities and is comfortably larger than the number of seconds since the universe began, yet it is finite and exact, pinned down precisely, which is part of what makes the result so satisfying to sit with. Careful bookkeeping plus raw computation produced the full total without ever listing a single board, a lovely reminder that the right idea can tame a number too big to imagine.
Essentially different grids
There is a second, smaller number that many people find even more interesting. Many grids are really the same puzzle in disguise: rotate the board, swap two columns within a stack, or relabel the symbols, and you get a grid that looks different but is structurally identical. If you count only the truly distinct grids, treating all these transformations as one, the total collapses dramatically, from sextillions down to billions. Ed Russell and Frazer Jarvis found there are 5,472,730,538 essentially different Sudoku grids, about 5.47 billion. That huge drop comes from symmetry: the transformations that preserve the rules, such as rotating, reflecting, permuting rows within a band, and renaming the nine symbols, form a mathematical group, and counting essentially different grids means counting the group orbits with a classic tool called Burnside lemma.
Big numbers, playful shapes
The relabeling symmetry is easy to feel in Shapedoku, because swapping which shape means what changes nothing about the logic. Turn every triangle into a hexagon and every hexagon into a triangle consistently, and the grid is still valid and still the same puzzle underneath, which is exactly the symmetry that separates the raw number of sudoku grids from the count of essentially different ones. The sheer size of that space means you will never run out of fresh boards, and Shapedoku draws on validated grids so every board is fair and unique, while the free Daily Challenge quietly taps into it each day. If numbers and counting delight you, the studio behind Shapedoku also makes Math On, a friendly game of quick arithmetic that scratches the same itch.
Ready to put it into practice?
Play Shapedoku free in your browser. No download, no login, just colorful shape Sudoku.
Play the Web App