Sudoku rules
How the grid works, what you need to do, and how to get better at it.
What is sudoku?
Sudoku is a logic puzzle played on a 9Ć9 grid. The grid is divided into nine 3Ć3 boxes. Some cells come pre-filled with digits ā these are called givens. Your job is to fill every empty cell so that each row, each column, and each 3Ć3 box contains the digits 1 through 9 exactly once.
That is the entire rule. One rule. No math, no adding, no calculating. The digits could be letters or symbols ā the logic would be identical. Sudoku was originally called "Number Place" when Howard Garns created it in 1979 for Dell Magazines. It took off globally after Japanese publisher Nikoli picked it up in 1986, and the name sudoku (ę°ē¬, "single number") stuck.
The one rule
Every row, every column, and every 3Ć3 box must contain the digits 1 through 9 exactly once. That means:
- No digit repeats in any row (all nine cells across must be different).
- No digit repeats in any column (all nine cells down must be different).
- No digit repeats in any 3Ć3 box (the thick-bordered sections).
If a cell sits at the intersection of row 3, column 5, and the center box, the digit you place there must not already appear anywhere in row 3, column 5, or that center box. Every placement satisfies all three constraints simultaneously.
Solving a simple example
Imagine a 4Ć4 sudoku (the logic is the same, just smaller). The grid has four rows, four columns, and four 2Ć2 boxes. Each unit must contain 1, 2, 3, 4 exactly once.
āāāāā¬āāāā āāāāā¬āāāā ā 1 ā _ ā ā _ ā 4 ā ā _ ā 3 ā ā 1 ā _ ā āāāāā¼āāā⤠āāāāā¼āāā⤠ā _ ā 1 ā ā 4 ā _ ā ā 4 ā _ ā ā _ ā 1 ā āāāāā“āāāā āāāāā“āāāā
Row 1 has 1 and 4. The missing digits are 2 and 3. Column 2 already has 3 (from row 2), so R1C2 must be 2 and R1C3 must be 3.
Column 1 has 1 and 4. The missing digits are 2 and 3. Row 2 already has 1 and 3, so R2C1 must be 2. Then R3C1 must be 3.
Keep going ā each placement removes a possibility somewhere else, and the grid fills itself through elimination. The same logic applies to the full 9Ć9 grid, just with more cells to track.
How to play on this site
Click or tap an empty cell to select it. Type a digit (1-9) or use the on-screen number pad. The digit fills the cell. If it conflicts with an existing digit in the same row, column, or box, the conflicting cells highlight in red.
Use pencil marks to note candidates: hold Shift while typing a digit, or toggle pencil mode with the pencil icon. Pencil marks are small numbers in the corner of a cell ā they remind you which digits are still possible there.
Arrow keys move between cells. Backspace or Delete clears the selected cell. Press U or Ctrl+Z to undo. Press H to use a hint.
Difficulty levels
| Level | Givens | Techniques needed |
|---|---|---|
| Easy | 36ā40 | Naked singles only |
| Medium | 30ā35 | Hidden singles, basic elimination |
| Hard | 26ā29 | Naked pairs, pointing pairs |
| Expert | 22ā25 | Hidden pairs, box/line reduction |
| Einstein | 17ā21 | X-Wings, swordfish, advanced chains |
All puzzles on this site are solvable through logic alone ā no guessing required at any difficulty level. Harder puzzles just require more advanced elimination techniques.
Beginner tips
- Start with the most-filled rows, columns, and boxes. If a row already has 7 of 9 digits, finding the remaining two is straightforward.
- Focus on one digit at a time. Pick a number (say, 5) and scan the entire grid for where it can and cannot go. This cross-hatching technique is the backbone of all sudoku solving.
- Use pencil marks early. On medium and harder puzzles, trying to hold candidates in your head leads to mistakes. Write them down.
- Check your work after every few placements. One wrong digit early on can cascade into an unsolvable mess. Using Check on this site catches errors before they spread.
- Skip and come back. If a region is stuck, work on a different part of the grid. New placements elsewhere often unlock the stuck area.
Play modes
- Classic ā Untimed. Three hints. Undo and check available. Good for learning.
- Timed Trial ā Countdown clock scaled by difficulty. Three hints. Tests your speed.
- Challenge ā No hints, no check, no undo. Pure solving.
Frequently asked questions
What are the basic rules of sudoku?
Fill a 9Ć9 grid so that every row, every column, and every 3Ć3 box contains the digits 1 through 9 exactly once. That is the only rule. No math involved ā sudoku is pure logic.
Is sudoku a math puzzle?
No. Sudoku uses digits as symbols, but you never add, subtract, or calculate anything. You could replace the numbers with nine different colors or letters and the puzzle would work identically.
How do I solve sudoku without guessing?
Start with naked singles ā cells where only one digit fits given the row, column, and box constraints. Then look for hidden singles ā digits that can only go in one place within a unit. Use pencil marks to track candidates, and apply elimination techniques (naked pairs, pointing pairs, X-Wings) for tougher puzzles.
What is the difference between easy and hard sudoku?
The grid size is always 9Ć9. Easy puzzles start with 36-40 given digits and can be solved with basic scanning. Hard puzzles have 24-28 givens and require advanced techniques like naked pairs or X-Wings. The logic gets deeper, not the grid bigger.
Can a sudoku have more than one solution?
A valid sudoku has exactly one solution. If it can be solved in multiple ways, it is badly constructed. Every puzzle on this site is verified to have a unique solution.
What does "number place" mean?
Number Place was the original name when Howard Garns created the puzzle in 1979. The Japanese name sudoku (ę°ē¬) means "single number" and became the global standard after the puzzle exploded in popularity in Japan during the 1980s.
Related puzzle rules
- Killer Sudoku rules ā Sudoku with cage sums, no given digits
- KenKen rules ā Arithmetic cages on a Latin square grid
- Futoshiki rules ā Inequality constraints between adjacent cells
Ready to play? Start with an easy puzzle or pick your difficulty.