Sudoku Solver

Fractions & numbersFreeNo sign-up

Type the clues of your puzzle into the grid (or load an example) and press Solve. Hint fills one cell and names the rule that proves it, so you can learn the logic instead of just copying the answer.

FreeHintsUnique check

An easy example is loaded. Press Solve, or try it and use Hint when you are stuck.

How to use the sudoku solver

  1. Click a square and type a digit 1 to 9. Arrow keys move around the grid.
  2. Press Solve for the full answer, Hint for one cell with its reason, or Check to test your progress.
  3. Conflicting digits turn red. The solver also tells you if a puzzle has no solution or more than one.

The rules of sudoku

Fill the 9 × 9 grid so that every row, every column and every 3 × 3 box contains the digits 1 to 9 exactly once. A proper puzzle has exactly one solution.

Solving techniques

  • Naked single: a cell where only one digit is still possible after looking at its row, column and box.
  • Hidden single: a digit that has only one possible cell left in a row, column or box.
  • Pairs and triples: when two cells in a unit can only hold the same two digits, those digits can be removed from the rest of the unit.
  • Trial and error (backtracking): guess a digit, follow the consequences, and back up if you reach a contradiction. That is how a computer finishes the hardest puzzles.

The math of sudoku

There are 6,670,903,752,021,072,936,960 completed sudoku grids (Felgenhauer and Jarvis, 2005), and a puzzle needs at least 17 clues to have a unique solution (McGuire, Tugemann and Civario, 2012).

Sudoku logic quiz: 10 questions

Test yourself with 10 multiple-choice questions. Choose an answer and press Submit to see if you are right and why. Your score appears at the end.

Question 1 of 10
1. How many cells does a standard sudoku have?

Found a mistake? Let us know!

2. Each row must contain…

Found a mistake? Let us know!

3. What is the sum of each row?

Found a mistake? Let us know!

4. What is the sum of all 81 digits in a solved grid?

Found a mistake? Let us know!

5. A naked single is a cell…

Found a mistake? Let us know!

6. A hidden single is a digit…

Found a mistake? Let us know!

7. The minimum number of clues for a unique sudoku is…

Found a mistake? Let us know!

8. A row has 1, 2, 3, 4, 5, 6, 7, 8 filled. The last cell is…

Found a mistake? Let us know!

9. How many 3 × 3 boxes are there?

Found a mistake? Let us know!

10. Backtracking means…

Found a mistake? Let us know!

Frequently asked questions

Can this sudoku solver solve any puzzle?

Yes, any valid 9 × 9 sudoku. It uses logic first, then a fast backtracking search for the hardest puzzles.

How do I get a hint instead of the whole answer?

Press Hint. It fills one cell and explains the rule (naked single or hidden single) that proves it.

What if my puzzle has more than one solution?

The solver tells you and shows one of them. Published puzzles should have exactly one.

Why does it say no solution?

Two clues conflict, or a typo made the puzzle impossible. Red squares show direct conflicts.

Is sudoku math?

Sudoku uses logic rather than arithmetic, but it is closely tied to Latin squares, combinatorics and graph coloring.

Sources

Related calculators

Browse all calculators

More fractions & numbers calculators

Browse all 457 calculators

Related to This Article

What people say about "Sudoku Solver: Solve Any Sudoku With Hints and Steps"?

No one replied yet.

Leave a Reply