Sudoku Offline

How to play sudoku

Fill the grid so that every row, column and 3 by 3 box holds the digits 1 to 9 once each. Below are the first moves on a real board, with the reason for each.

A sudoku starts with some digits already filled in, called givens. You fill the empty cells. Each digit may appear once in a row, once in a column and once in a box, so a cell is solved when only one digit can go there. A proper puzzle has one answer.

The rules of sudoku

  • The grid has 9 rows and 9 columns. Thick lines split it into nine boxes of 3 by 3 cells.
  • Every row, every column and every box must hold the digits 1 to 9, each of them once.
  • The givens stay where they are.

You never add anything up. The digits are only nine different signs, and our Christmas pages have a version that plays the same way with the letters of SNOWFLAKE.

To talk about a cell we write its row and column: R3C1 is row 3, column 1. Boxes are numbered from the top left, so box 1 is the top left corner, box 2 is next to it, and box 9 is the bottom right corner.

How to start a sudoku

Pick a box, row or column that is nearly full and ask where one of its missing digits can go. On the board below, box 1 lacks only 2, 4 and 9. Column 2 already has a 4 in R5C2, which rules out R1C2 and R2C2. The 4 has one place left.

71396637858619167426231541816354325792458242452945245241245424723423489345894589423489235895795789713513585794578946748954587926792323236797927928844618
The first move. In box 1 the 4 fits only in R3C1.

A digit with only one possible cell in a box, row or column is called a hidden single. The same board has more of them, and each digit you place helps with the next. Try to see why before you read on.

  1. R2C2 is 9. Box 1 still needs 2 and 9, and row 1 already has a 9, so the 9 cannot go in R1C2.
  2. R1C2 is 2, because it is now the last empty cell of box 1.
  3. R3C5 is 7. Rows 1 and 2 have a 7 already, so box 2 must have its 7 in row 3, where R3C5 is the only empty cell.
  4. R1C4 is 8. Rows 2 and 3 have an 8, and R1C4 is the only empty cell of box 2 in row 1.
  5. R2C9 is 1. Rows 1 and 3 have a 1, and R2C9 is the only empty cell of box 3 in row 2.

Moves 3 to 5 use the same trick. Two of the three rows that cross a box already have the digit, so the third row must take it. Columns work the same way.

When only one digit is left for a cell

You can also look at a single cell and cross out what its row, column and box already hold. On the next board, row 2 has 2, 3, 5 and 7. Column 2 adds 4, 8 and 9, and box 1 adds the 1. Eight digits are gone for R2C2, so the ninth goes in.

596357212547431856298945176743896287452486485292724783781347138136489681461896778936783673892362361251259291313135715737913791317136136713
One digit left. 6 is the only digit still possible in R2C2.

This is a naked single. Hidden and naked singles are enough for every Easy and Medium puzzle on this site.

How to use notes

When scanning finds nothing more, write the digits that could still go in a cell as small notes. The pictures above show them in every empty cell. Each time you place a digit, take it out of the notes in its row, column and box. A cell with one note left is solved. The page about pencil marks explains when to start and how many to write.

How to play on this site

Open the Easy board, choose a cell and press a digit, on the screen or on your keyboard. Under each digit you see how many of it are still missing. Notes are a button, or the N key. With "Mark mistakes" on, a wrong digit is shown at once; switch it off if you prefer to find it yourself. If you would rather use a pencil, print a page of easy puzzles with the answers at the end.

What to learn after singles

From Hard on, the board reaches a point where no cell can be filled directly. You then remove notes until a single appears. Start with pointing pairs, then naked pairs. The list of sudoku techniques has the rest in order.

Questions

What is the trick to solve sudoku?

Ask two questions in turn. Where in this box, row or column can this digit go? And which digits can still go in this cell? Those two finish every Easy and Medium puzzle on this site.

Is there a formula to solve sudoku?

There is nothing to calculate. A program can find the answer by trying digits until a grid fits. Our solver can give you the whole answer that way, and its Next step button uses the logic a person would.

Can a digit repeat on the diagonal?

Yes. In classic sudoku only rows, columns and boxes count, so the same digit may stand twice on a diagonal.

What is the 45 rule in sudoku?

The digits 1 to 9 add up to 45, so every finished row, column and box does too. Classic sudoku does not need it. In Killer sudoku it is the main tool, and the rule of 45 has its own page.

Does every sudoku have one answer?

A proper one does. If you suspect yours has two, check it here.

Keep reading