calc-hub.eu
← Guides & articles

Sudoku Solving Techniques

Róbert Horváth · 29 November 2026

From naked singles to X-Wing

In a classic sudoku, every row, every column and every 3×3 box must contain the digits 1 to 9 exactly once. A well-made puzzle has exactly one solution, and most puzzles can be solved by logic alone. Below are the techniques in the order I would learn them, from simple to advanced, and an honest note on when an online solver makes sense.

The routine is always the same: first scan for easy placements, then write down candidates (pencil marks), then look for patterns that remove candidates. When a pattern removes a candidate, go back to scanning, because a single removal often unlocks the next digit.

1. Scanning

Pick a digit, for example 5. Look at where 5 already appears and mentally cross out those rows and columns. If a 3×3 box has only one free cell left that is not crossed out, the 5 goes there. Repeat for every digit. Many easy puzzles fall to scanning alone.

2. Naked and hidden singles

A naked single is a cell where only one digit is still possible, because the other eight already appear in its row, column or box.

A hidden single is a digit that can go in only one cell of a row, column or box, even if that cell still has other candidates. Hidden singles are easy to miss, so check every digit in every row, column and box.

3. Pencil marks

When scanning stops working, write into every empty cell all the digits that are still possible. It takes a few minutes, but all the advanced techniques work on these candidates. Update them every time you place a digit. Forgetting to update is the most common source of mistakes.

4. Naked pairs

If two cells in the same row, column or box contain exactly the same two candidates, for example 3 and 7, then those two digits must go into those two cells. So 3 and 7 can be removed from all other cells of that row, column or box. The same idea works with three cells and three candidates (naked triple).

5. Pointing pairs and box-line reduction

Pointing pair: if inside a box all the candidates for a digit lie in one row (or column), that digit cannot appear anywhere else in that row (or column) outside the box. Remove it there.

Box-line reduction is the reverse: if inside a row (or column) all candidates for a digit lie in one box, the digit cannot appear in the other cells of that box.

6. X-Wing

Look at one digit. If in two rows that digit has candidates in exactly the same two columns (and nowhere else in those rows), the digit must occupy two opposite corners of the rectangle they form. Therefore it can be removed from every other cell of those two columns. The same works with rows and columns swapped. X-Wing is where many hard puzzles begin to open up.

7. Trial and error: what a solver does

Most puzzles can be solved without guessing. Computer solvers do guess, but systematically, a method called backtracking: pick the empty cell with the fewest candidates, try one digit, and continue; if that leads to a contradiction, go back and try the next digit. It is fast and always finds the solution of a valid puzzle, but it shows no reasoning. For a human solver, guessing is a last resort, because one wrong guess can be hard to undo.

Common mistakes

  • Copying the puzzle wrongly. If nothing works, compare your grid with the original.
  • Forgetting to update the pencil marks after placing a digit.
  • Placing a digit on a hunch instead of a proof.
  • Overlooking hidden singles. Check every digit, not only the empty cells that look easy.

When an online solver helps

A solver is a tool, and it is useful if you use it for the right things:

  • Checking your grid. If you enter your digits and the solver reports a contradiction or no solution, you know there is a mistake somewhere.
  • Getting unstuck. Solve the grid and look at just one cell, then continue by hand.
  • Verifying a finished puzzle. Compare your solution with the one the solver finds.
  • Puzzles with typos. Printed puzzles sometimes contain errors, and a solver tells you whether a puzzle really has exactly one solution.

Our Sudoku solver works like this: you click a cell and type the known digits (the arrow keys move around the grid), press the solve button, and the digits it adds are shown in colour. It shows the finished grid, not the steps, it handles classic 9×9 puzzles only, and everything runs in your browser, so nothing you enter is sent anywhere. If you want to learn, I recommend using it for checking, not for filling the whole grid.

A simple practice routine

  • Do one puzzle a day, 15 to 20 minutes is enough.
  • Start with easy puzzles until scanning and singles feel automatic.
  • When you get stuck, name the technique you are missing: pairs, pointing pairs or X-Wing.
  • Write down what finally unlocked each puzzle. After a few weeks you will see which technique you use most.

Frequently asked questions

Is using a sudoku solver cheating?

Not if you use it for what it is for. It is cheating only if you present a solved puzzle as your own in a competition. For learning, a solver is a useful way to check an answer or get unstuck.

Does every sudoku have exactly one solution?

A properly made puzzle does. If you enter too few digits or the puzzle contains a mistake, several solutions can exist, and the solver will tell you.

What is the minimum number of given digits?

The fewest givens in a classic sudoku with a unique solution is 17. No puzzle with 16 givens and a unique solution exists. Most newspaper puzzles have more.

Can every sudoku be solved without guessing?

Many can. The hardest puzzles may need advanced techniques beyond those listed here, such as swordfish, or trial and error.

What is the difference between a naked and a hidden single?

A naked single is a cell with only one candidate. A hidden single is a digit that has only one possible cell in a row, column or box. In both cases you can place a digit.

Final thoughts

Sudoku is a logic game, and the techniques above are the logic. Start with scanning and singles, learn pencil marks, and add pairs, pointing pairs and X-Wing when you need them. And when you want to check a grid or get unstuck, try the Sudoku solver. If you notice a mistake in this guide, write to me at info@calc-hub.eu.