Sudoku Sum Calculator

Killer Sudoku and Kakuro cage combinations for any total, cell count and digit rule.

  1. Enter valuesUse your own inputs or an example
  2. CalculateApply your selected settings
  3. View resultExplore the answer and explanation

Describe the cage

Enter your values below to get started.

Examples:
The small number in the corner of the cage.
Digits you know are in the cage.
Digits already used in the cage's row, column or box.
Reset restores the default values.

Tips for this calculator

Type digits without spaces in the include or exclude box: 59 means 5 and 9.

A combination is a set: the calculator lists {6, 9}, and the cells can hold 6 and 9 in either order.

Open Digit frequency: a full bar is a digit that must be in the cage.

Use the rule of 45 to turn row, column and box totals into new cage totals.

A sudoku sum calculator lists every set of different digits that fills a Killer Sudoku or Kakuro cage with a given total. Enter the cage total and the number of cells, add digits you already know are in or out of the cage, and the calculator returns all combinations, the digits common to all of them and the digits that cannot appear.

What is a Sudoku Sum?

A sudoku sum is the total printed in the corner of a Killer Sudoku cage: the digits in the cage's cells must add up to it, with no digit repeated. A 2-cell cage marked 15 holds either 6 and 9 or 7 and 8.

d1+d2+⋯+dk=S,di∈{1,…,9}, di≠djd_1 + d_2 + \cdots + d_k = S, \qquad d_i \in \{1, \dots, 9\},\ d_i \ne d_j

Killer Sudoku combines the classic 9×9 Sudoku rules with these sum cages. The variant came from Japan and reached a wide audience in 2005, when The Times in London began printing it daily. Kakuro uses the same arithmetic: each clue gives the total of a run of white cells filled with distinct digits 1–9.

Every row, column and 3×3 box of a solved Sudoku holds 1 to 9 once, so each one adds up to 1 + 2 + … + 9 = 45.

InteractivePick a cage and see its digit sets

How Does the Sudoku Sum Calculator Work?

The sudoku sum calculator checks every set of k different digits, keeps the sets that add up to the cage total and then applies your include and exclude digits. For digits 1–9 there are only 29 = 512 subsets, so the full search takes under a millisecond.

InteractiveScan every digit set for one total
  1. Check the range

    k distinct digits total at least k(k+1)/2 and at most k(19 − k)/2; a 3-cell cage must total 6 to 24.

  2. Search the subsets

    There are C(9, k) sets of k different digits: 36 for k = 2, 84 for k = 3, 126 for k = 4.

  3. Filter

    Sets missing a must-include digit or containing an excluded digit are dropped.

  4. Summarize

    Digits in every set are certain; digits in no set are impossible for that cage.

Sudoku Sum Formulas: Smallest and Largest Cage Totals

A Killer Sudoku cage of k cells has a smallest total of k(k + 1)/2 and a largest total of k(19 − k)/2. The smallest uses the digits 1, 2, …, k and the largest uses 9, 8, …, 10 − k.

Smallest Cage Total

Smin⁡(k)=1+2+⋯+k=k(k+1)2S_{\min}(k) = 1 + 2 + \cdots + k = \frac{k(k+1)}{2}

Largest Cage Total

Smax⁡(k)=9+8+⋯+(10−k)=k(19−k)2S_{\max}(k) = 9 + 8 + \cdots + (10-k) = \frac{k(19-k)}{2}

For digits 1 to m in general, the largest total is k(2m + 1 − k)/2; a 3-cell cage in a 6×6 grid tops out at 6 + 5 + 4 = 15.

Complement Rule

A set of k digits totaling S matches the set of the other 9 − k digits totaling 45 − S. So 8 cells totaling 40 miss exactly the digit 5.

{d1,…,dk} sums to S  ⟺  its complement sums to 45−S\{d_1,\dots,d_k\} \text{ sums to } S \iff \text{its complement sums to } 45 - S
InteractivePossible totals for cages of 1 to 9 cells

Types of Killer Sudoku Cages

There are 3 types of Killer Sudoku cages by difficulty: unique cages with 1 combination, narrow cages with 2 or 3 combinations and open cages with many. Experienced solvers learn the unique cages by heart: they fix the digits at once.

InteractiveCombinations per total, unique cages in orange

2-cell unique cages

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

3-cell unique cages

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

4-cell unique cages

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

5-cell unique cages

15, 16, 34 and 35, the complements of the 4-cell unique cages.

Narrow cages

15 in 2 cells: {6, 9} or {7, 8}. 5 in 2 cells: {1, 4} or {2, 3}.

Open cages

20 in 4 cells has 12 combinations; 27 in 5 cells has 11. Use include and exclude digits to narrow them.

How to Find Sudoku Sum Combinations by Hand

To find cage combinations by hand, start from the smallest digit, pick the next digits in increasing order and keep only the sets that reach the total. Here is 10 in 3 cells.

  1. Start with 1 and 2: the third digit is 10 − 3 = 7 → {1, 2, 7}.
  2. 1 and 3: third digit 6 → {1, 3, 6}.
  3. 1 and 4: third digit 5 → {1, 4, 5}.
  4. 2 and 3: third digit 5 → {2, 3, 5}. 2 and 4 would need 4 again, so stop.
  5. Result: 4 combinations; 8 and 9 never appear in a 10/3 cage.
InteractiveStep through 3 cage problems

    The Rule of 45 in Sudoku Sums

    The rule of 45 says that every row, column and 3×3 box of a Sudoku adds up to 45, so the cells left outside the cages of a region total 45 minus the cage totals. It turns partial information into new cages.

    innies=45×r−∑cage totals inside the r regions\text{innies} = 45 \times r - \sum \text{cage totals inside the } r \text{ regions}
    • Innies: cells inside a region that are not covered by cages wholly inside it.
    • Outies: cells of cages that stick out of the region; their total is the cage totals minus 45.
    • Several regions: 2 rows add up to 90 and 3 rows to 135, the same idea scaled up.
    • Whole grid: all 81 cells add up to 9 × 45 = 405, so the cage totals of a Killer Sudoku always add up to 405.
    InteractiveRule of 45 on one row

    Common Mistakes with Sudoku Sums

    • Repeating a digit in a cage: 12 in 2 cells is not 6 + 6; the pairs are {3, 9}, {4, 8} and {5, 7}.
    • Forgetting the cage can span boxes: a cage across 2 boxes still has no repeats inside it.
    • Mixing up order and set: {6, 9} is 1 combination, even though the cells can hold 6–9 or 9–6.
    • Applying 1–9 limits to a 6×6 grid: 3 cells in a 6×6 Killer Sudoku top out at 15, not 24.
    • Misreading innies and outies: innies use 45 − cages; outies use cages − 45.
    InteractiveTrue or false: sudoku sums
    1. A 2-cell cage totaling 17 must hold 8 and 9.

    2. A 2-cell cage totaling 12 can hold 6 and 6.

    3. Every row of a solved Sudoku adds up to 45.

    4. A 3-cell cage can total 25.

    5. The cage totals of a 9×9 Killer Sudoku add up to 405.

    Score: 0 / 5

    How to Use the Sudoku Sum Calculator

    Enter the cage total and the number of cells, pick the digit range, add any must-include or must-exclude digits and press Find combinations. The answer lists every combination; the tabs show the steps, a digit-frequency chart and a numbered table.

    InteractiveLoad a ready-made cage

    Each button fills the calculator and lists the combinations.

    1. Read the cage

      Count the cells inside the dashed line and note the total in its corner.

    2. Set the digits

      1–9 for standard Killer Sudoku and Kakuro; 1–6 or 1–4 for smaller grids.

    3. Add what you know

      Exclude digits already placed in the same row, column or box; include digits you have pinned down.

    4. Use the frequency chart

      A digit in every combination can be pencilled into the cage at once.

    Where Sudoku Sums Are Used

    Sudoku sums are the core arithmetic of 4 popular puzzle types: Killer Sudoku, Kakuro, small-grid Killer Sudoku and sum-based variants such as Sandwich Sudoku. The same combination lists serve all of them.

    • Killer Sudoku: cages with totals replace most or all given digits.
    • Kakuro: first printed as Cross Sums by Dell Magazines in the US and renamed Kakuro by the Japanese publisher Nikoli.
    • 6×6 and 4×4 Killer Sudoku: digit ranges 1–6 and 1–4 for beginners and children.
    • Sandwich Sudoku: clues give the total of the digits between 1 and 9 in a row or column.
    • Math classes: cage combinations practice addition, sets and the formula 1 + 2 + … + n = n(n + 1)/2.
    InteractiveOne clue in 4 puzzle types

    Sudoku Sum Examples

    7 cages and their combinations. Press Try to load any row into the calculator.

    Sudoku Sum Examples
    CageDigits / ruleCountCombinationsCalculator
    15 in 2 cells1–92{6, 9}, {7, 8}
    10 in 3 cells1–94{1, 2, 7}, {1, 3, 6}, {1, 4, 5}, {2, 3, 5}
    23 in 3 cells1–91{6, 8, 9}
    20 in 4 cells1–912{1, 2, 8, 9} … {3, 4, 6, 7}
    20 in 4 cellsexclude 97{1, 4, 7, 8} … {3, 4, 6, 7}
    14 in 3 cellsinclude 53{1, 5, 8}, {2, 5, 7}, {3, 5, 6}
    10 in 3 cells1–6 (6×6)3{1, 3, 6}, {1, 4, 5}, {2, 3, 5}

    Popular Sudoku Sum Problems

    Work out the combinations, then reveal the answer or check it in the calculator.

    1. Which digits fill a 2-cell cage with a total of 17?

      Show answer8 and 9 (unique)
    2. How many combinations does a 3-cell cage totaling 12 have?

      Show answer7: {1,2,9}, {1,3,8}, {1,4,7}, {1,5,6}, {2,3,7}, {2,4,6}, {3,4,5}
    3. A 4-cell cage totals 25 and contains a 9. List the combinations.

      Show answer5: {1,7,8,9}, {2,6,8,9}, {3,5,8,9}, {3,6,7,9}, {4,5,7,9}
    4. How many combinations does a 5-cell cage totaling 27 have?

      Show answer11 combinations
    5. Which digits fill a 6-cell cage totaling 21?

      Show answer1, 2, 3, 4, 5 and 6 (unique)
    6. A 3-cell cage totals 13 and must contain a 1. What are the options?

      Show answer{1, 3, 9}, {1, 4, 8}, {1, 5, 7}

    Explore More Sum Calculators

    Discover 67 free sum calculators across different categories. Find the right calculator for your needs.

    Browse All 67 Calculators
    Questions and answers

    Frequently Asked Questions

    What is a sudoku sum calculator?

    A sudoku sum calculator is a Killer Sudoku and Kakuro helper that lists every combination of different digits with a given total and number of cells. It marks the digits that every combination shares and the digits no combination uses.

    What does the number in a Killer Sudoku cage mean?

    The number is the total of the digits in the cage's cells. The digits must add up to that total and cannot repeat inside the cage.

    Can digits repeat in a Killer Sudoku cage?

    No, a digit appears at most once in a cage, the same as in a row, column or 3×3 box.

    What is the rule of 45?

    The rule of 45 uses the fact that every row, column and box of a Sudoku adds up to 1 + 2 + … + 9 = 45. Subtracting the cage totals inside a region from 45 gives the total of the remaining cells.

    Which Killer Sudoku cages have only one combination?

    For 2 cells: 3, 4, 16 and 17. For 3 cells: 6, 7, 23 and 24. For 4 cells: 10, 11, 29 and 30. For 5 cells: 15, 16, 34 and 35.

    What is the largest total for a 3-cell cage?

    The largest 3-cell total is 9 + 8 + 7 = 24, and the smallest is 1 + 2 + 3 = 6.

    Does the calculator work for Kakuro?

    Yes, Kakuro clues follow the same rule: a run of white cells holds distinct digits 1–9 that add up to the clue. Enter the clue as the cage total and the run length as the number of cells.

    How many combinations can a cage have?

    The most is 12 combinations, reached by 4 cells totaling 20 and by 5 cells totaling 25. All cage sizes together draw on only 512 sets of the digits 1–9.

    Can I use it for 6×6 or 4×4 Killer Sudoku?

    Yes, choose Digits 1–6 or 1–4. The calculator then limits every combination and the possible totals to that range.

    Conclusion

    A sudoku sum is the cage total of a Killer Sudoku or the clue of a Kakuro run, and the sudoku sum calculator lists every set of different digits that reaches it. Learn the unique cages, apply the rule of 45 to rows, columns and boxes, and use the include and exclude boxes to cut long lists down to the digits that fit your grid.

    Stuck on a cage? Answer up to 3 questions below.

    InteractiveWhat should you try on a stuck cage?