Skip to main content
ilovecalcs logoilovecalcs.

Solver · Live

Killer Sudoku Solver, cages in, finished grid out.

Use this free killer sudoku solver to fill a 9×9 grid from its cages: tap the cells of each cage, enter its sum, add any given digits and press solve. The built-in cage combinations calculator lists every digit set for a sum and cell count.

How it worksCombinationsConstraint solver

Interactive

Killer Sudoku Solver

Tap the board to…

Tap the cells of one cage on the board, type the small number printed in that cage, then press Add cage. Tap an existing cage to change its sum or delete it.

Draw the cages first: tap cells, enter the cage's sum, then press Add cage.

Recreate your puzzle's cages: the dashed outlines and small corner numbers are the cages and their sums.

Helper

Cage combinations calculator

Pick how many cells a cage has and its sum to list every set of different digits that can fill it. Use the digit buttons to narrow the list.

Cells in the cage

Must contain

Must not contain

8 combinations for 3 cells adding to 15

  • 1 + 5 + 9
  • 1 + 6 + 8
  • 2 + 4 + 9
  • 2 + 5 + 8
  • 2 + 6 + 7
  • 3 + 4 + 8
  • 3 + 5 + 7
  • 4 + 5 + 6
Sums with only one possible set (2–5 cells)

2 cells: 3 = 1+2, 4 = 1+3, 16 = 7+9, 17 = 8+9

3 cells: 6 = 1+2+3, 7 = 1+2+4, 23 = 6+8+9, 24 = 7+8+9

4 cells: 10 = 1+2+3+4, 11 = 1+2+3+5, 29 = 5+7+8+9, 30 = 6+7+8+9

5 cells: 15 = 1+2+3+4+5, 16 = 1+2+3+4+6, 34 = 4+6+7+8+9, 35 = 5+6+7+8+9

Field guide

How the Killer Sudoku Solver works.

Killer Sudoku keeps every rule of the classic puzzle: each row, column and 3×3 box holds the digits 1 to 9 once. What changes is the set of clues. Instead of starting digits, the grid is divided into outlined cages, and each cage carries a small total in its corner. The digits inside a cage must all be different and must add up to that total. Because those totals are the only clues, a good killer puzzle is as much arithmetic as logic.

Entering your puzzle

Stay in Draw cages mode, tap each cell of one cage on the board, type the cage's sum and press Add cage. The cage appears with a dashed outline and its sum in the corner, just like the printed puzzle. A tint separates neighbouring cages, and tapping a finished cage lets you change its sum or delete it. If your puzzle does show a few starting digits, switch to Enter given digits. The status line watches for slips: a complete grid must total 405, a cage cannot hold an impossible sum, and an uncaged cell is flagged. The Example button loads a practice puzzle written for this tool.

Cage combinations

Every cage is a small puzzle on its own: which different digits can add up to the total? A cage of n cells can only reach sums within a fixed range.

smallest sum = n × (n + 1) ÷ 2  ·  largest sum = n × (19 − n) ÷ 2

Two cells can reach 3 to 17, three cells 6 to 24. Totals at the edge of a range have only one answer: two cells adding to 17 must be 8 and 9, and three cells adding to 7 must be 1, 2 and 4. A total one step inside, such as three cells adding to 8, allows two sets, 1 + 2 + 5 or 1 + 3 + 4. The calculator above the guide lists these sets for any size and sum, and lets you require or rule out digits as you learn more about the grid.

The 45 rule, worked through

Each row, column and box adds to 45, which gives the solver extra clues that are not printed. Suppose three cages lie entirely inside one row and their sums are 9, 16 and 11. Together they use 36, so the two remaining cells of that row must add to 9. Cells that poke out of a unit work the same way once the whole unit is caged. The solver adds these implied cages automatically.

What happens when you press Solve

The solver keeps a list of possible digits for every cell. It strips out digits already used by a row, column or box, fills cells that have only one candidate left, and for each cage keeps only digits that appear in a combination still consistent with its cells. When that stops making progress it guesses in the most constrained cell and backtracks if the guess fails. The search runs in a background thread with a limit, so the page never freezes. After finding a grid it also looks for a second one and tells you if your puzzle is not unique, which usually means a misread sum.

Tips for solving by hand

  • Start with the extremes. Two cells adding to 3 or 17, three cells adding to 6 or 24, and similar cages have only one digit set.
  • Use the 45 rule early. Total the cages inside a row, column or box and see what is left over.
  • Cross-check cages with their units. Cages that sit in one row cannot reuse a digit used elsewhere in that row.

Disclaimer: This tool is an independent puzzle aid, not affiliated with any puzzle publisher or app, and is provided for practice and entertainment only. Check the result against your own puzzle before relying on it.