Cage combination calculator

Enter a sum and a number of cells to see every set of different digits that adds up to it. Works for Killer Sudoku cages and Kakuro runs.

Tap a digit once to require it, twice to exclude it.

3 cells adding to 15: 8 sets.

  • 1 5 9
  • 1 6 8
  • 2 4 9
  • 2 5 8
  • 2 6 7
  • 3 4 8
  • 3 5 7
  • 4 5 6

All combinations, 2 to 8 cells

Digits 1 to 9, each used at most once. The tables list all 501 digit sets for cages of 2 to 8 cells. "Always" marks digits in every set for that sum; "never" marks digits in none of them. A 1-cell cage is its own digit, and 9 cells always total 45.

2 cells (sums 3 to 17)

SumDigit setsAlwaysNever
3121 23 4 5 6 7 8 9
4131 32 4 5 6 7 8 9
514 23–5 6 7 8 9
615 24–3 6 7 8 9
716 25 34–7 8 9
817 26 35–4 8 9
918 27 36 45–9
1019 28 37 46–5
1129 38 47 56–1
1239 48 57–1 2 6
1349 58 67–1 2 3
1459 68–1 2 3 4 7
1569 78–1 2 3 4 5
16797 91 2 3 4 5 6 8
17898 91 2 3 4 5 6 7

3 cells (sums 6 to 24)

SumDigit setsAlwaysNever
61231 2 34 5 6 7 8 9
71241 2 43 5 6 7 8 9
8125 13416 7 8 9
9126 135 234–7 8 9
10127 136 145 235–8 9
11128 137 146 236 245–9
12129 138 147 156 237 246 345––
13139 148 157 238 247 256 346––
14149 158 167 239 248 257 347 356––
15159 168 249 258 267 348 357 456––
16169 178 259 268 349 358 367 457––
17179 269 278 359 368 458 467––
18189 279 369 378 459 468 567––
19289 379 469 478 568–1
20389 479 569 578–1 2
21489 579 678–1 2 3
22589 67991 2 3 4
236896 8 91 2 3 4 5 7
247897 8 91 2 3 4 5 6

4 cells (sums 10 to 30)

SumDigit setsAlwaysNever
1012341 2 3 45 6 7 8 9
1112351 2 3 54 6 7 8 9
121236 12451 27 8 9
131237 1246 134518 9
141238 1247 1256 1346 2345–9
151239 1248 1257 1347 1356 2346––
161249 1258 1267 1348 1357 1456 2347 2356––
171259 1268 1349 1358 1367 1457 2348 2357 2456––
181269 1278 1359 1368 1458 1467 2349 2358 2367 2457 3456––
191279 1369 1378 1459 1468 1567 2359 2368 2458 2467 3457––
201289 1379 1469 1478 1568 2369 2378 2459 2468 2567 3458 3467––
211389 1479 1569 1578 2379 2469 2478 2568 3459 3468 3567––
221489 1579 1678 2389 2479 2569 2578 3469 3478 3568 4567––
231589 1679 2489 2579 2678 3479 3569 3578 4568––
241689 2589 2679 3489 3579 3678 4569 4578––
251789 2689 3589 3679 4579 4678––
262789 3689 4589 4679 5678–1
273789 4689 567991 2
284789 56898 91 2 3
2957895 7 8 91 2 3 4 6
3067896 7 8 91 2 3 4 5

5 cells (sums 15 to 35)

SumDigit setsAlwaysNever
15123451 2 3 4 56 7 8 9
16123461 2 3 4 65 7 8 9
1712347 123561 2 38 9
1812348 12357 124561 29
1912349 12358 12367 12457 134561–
2012359 12368 12458 12467 13457 23456––
2112369 12378 12459 12468 12567 13458 13467 23457––
2212379 12469 12478 12568 13459 13468 13567 23458 23467––
2312389 12479 12569 12578 13469 13478 13568 14567 23459 23468 23567––
2412489 12579 12678 13479 13569 13578 14568 23469 23478 23568 24567––
2512589 12679 13489 13579 13678 14569 14578 23479 23569 23578 24568 34567––
2612689 13589 13679 14579 14678 23489 23579 23678 24569 24578 34568––
2712789 13689 14589 14679 15678 23589 23679 24579 24678 34569 34578––
2813789 14689 15679 23689 24589 24679 25678 34579 34678––
2914789 15689 23789 24689 25679 34589 34679 35678––
3015789 24789 25689 34689 35679 45678––
3116789 25789 34789 35689 456799–
3226789 35789 456898 91
3336789 457897 8 91 2
34467894 6 7 8 91 2 3 5
35567895 6 7 8 91 2 3 4

6 cells (sums 21 to 39)

SumDigit setsAlwaysNever
211234561 2 3 4 5 67 8 9
221234571 2 3 4 5 76 8 9
23123458 1234671 2 3 49
24123459 123468 1235671 2 3–
25123469 123478 123568 1245671 2–
26123479 123569 123578 124568 1345671–
27123489 123579 123678 124569 124578 134568 234567––
28123589 123679 124579 124678 134569 134578 234568––
29123689 124589 124679 125678 134579 134678 234569 234578––
30123789 124689 125679 134589 134679 135678 234579 234678––
31124789 125689 134689 135679 145678 234589 234679 235678––
32125789 134789 135689 145679 234689 235679 245678––
33126789 135789 145689 234789 235689 245679 345678––
34136789 145789 235789 245689 3456799–
35146789 236789 245789 3456898 9–
36156789 246789 3457897 8 9–
37256789 3467896 7 8 91
383567893 5 6 7 8 91 2 4
394567894 5 6 7 8 91 2 3

7 cells (sums 28 to 42)

SumDigit setsAlwaysNever
2812345671 2 3 4 5 6 78 9
2912345681 2 3 4 5 6 87 9
301234569 12345781 2 3 4 5–
311234579 12346781 2 3 4 7–
321234589 1234679 12356781 2 3–
331234689 1235679 12456781 2 6–
341234789 1235689 1245679 13456781–
351235789 1245689 1345679 23456785–
361236789 1245789 1345689 23456799–
371246789 1345789 23456894 8 9–
381256789 1346789 23457897 8 9–
391356789 23467893 6 7 8 9–
401456789 23567895 6 7 8 9–
4124567892 4 5 6 7 8 91 3
4234567893 4 5 6 7 8 91 2

8 cells (sums 36 to 44)

SumDigit setsAlwaysNever
36123456781 2 3 4 5 6 7 89
37123456791 2 3 4 5 6 7 98
38123456891 2 3 4 5 6 8 97
39123457891 2 3 4 5 7 8 96
40123467891 2 3 4 6 7 8 95
41123567891 2 3 5 6 7 8 94
42124567891 2 4 5 6 7 8 93
43134567891 3 4 5 6 7 8 92
44234567892 3 4 5 6 7 8 91

Every set in these tables is computed by code and checked against a brute-force count of all 511 non-empty subsets of 1 to 9. See the methodology page.