Solver

Sudoku Solver

Type in the digits of any sudoku. Next step shows the move a person would make, and why; Solve fills in the rest.

Tap a cell, then a digit. Leave the blanks empty.

How to solve a sudoku

  1. Every row, column and box holds each digit exactly once, so a digit already in a row, column or box is ruled out of every other cell there.
  2. Look for naked singles: a cell whose row, column and box already hold every digit but one can only take that one.
  3. Look for hidden singles: a digit with only one possible cell left in a row, column or box goes there, whatever else that cell could hold.
  4. Pointing: if a digit's possible cells in a box all lie in one row or column, cross that digit off the rest of that row or column.
  5. Naked pairs: two cells of one row, column or box that can only hold the same two digits take both, so cross those two digits off every other cell there.
How the solver works

How does the sudoku solver work?

It fills the grid by the one rule of sudoku: every row, column and box holds each digit exactly once. It tries every possibility that rule allows, so it solves any valid puzzle, however hard.

Can it show me just the next step?

Yes. Next step places one digit and names the technique that proves it (a single, a hidden single, pointing, claiming or a naked pair), with the cells that make the case highlighted.

What if my sudoku has more than one solution?

The solver says so and shows one of them. A well-made sudoku has exactly one solution, so a second one usually means a digit was left out or typed wrong.

Does it solve 6×6 Mini Sudoku?

Yes. Switch the grid to Mini: six rows and six columns, boxes of two rows by three columns, digits 1 to 6.

What is a hidden single?

A digit that has only one possible cell left in a row, column or box. It must go there, even if that cell could still hold other digits.

Does the solver know today's puzzle?

No. It solves only the grid you type in; today's puzzles are on the Sudoku and Mini Sudoku pages.