Killer · Extreme

Rule of 45 (Innies & Outies)

Every row, column, and box sums to 45 — the leftover “innie” or “outie” cells have a known total.

In short

Look for a house whose cages almost fit inside it, with only a cell or two crossing the border. Add the totals of the wholly-inside cages and subtract from 45: the remainder is the exact total of the innie cells. A lone innie is placed outright; 2 to 4 innies behave like a cage.

What Is It?

Each house (row, column, box) totals 45. Add up the cages that sit fully inside a house; the cells that spill in (innies) or out (outies) must make up the difference. That hidden total constrains those cells like a mini-cage.

Why every house totals 45

A completed row holds each digit from 1 to 9 exactly once, so it adds to 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 = 45. The same holds for every column and box, giving 27 houses whose total is known before a digit is written. Houses of the same type never overlap, so the totals stack: any 2 rows come to 90, any 3 rows to 135, and likewise for columns and boxes.

Cages are drawn without regard for those borders, and the mismatch is the opening. Cells inside a house that belong to a cage reaching out are innies; cells outside a house that belong to a cage reaching in are outies. Both groups have a calculable total even when nothing in them has been placed.

The subtraction, step by step

Work one region at a time. Sort every cage that touches the region into two piles: cages lying wholly inside it, and cages crossing its border. Add the totals of the wholly-inside pile and call that F. The cells left over inside the region are the innies, and their total is 45 − F for a single house, or 90 − F and 135 − F for a pair or triple of houses.

Outies need a second sum. Add the totals of all the crossing cages and call that S. Those cages must contribute 45 − F inside the region, so everything they hold outside comes to S − (45 − F), a figure that needs the crossing cage totals and not the house total alone.

Three outcomes are worth chasing. One innie cell: its digit is the innie total, which has to land between 1 and 9. One outie cell: its digit is the outie total, on the same range. Two to four innie cells inside a single house: they share that house, so their digits are distinct and the innie total constrains them as a cage sum would.

A worked example: box 9's outie, then box 7's innies

Take box 9, the bottom-right box. Two cages sit wholly inside it: a 2-cell cage totalling 10 at r7c7+r8c7, and a 3-cell cage totalling 17 running down the right edge at r7c9+r8c9+r9c9. Between them they cover 5 of the box's 9 cells and account for 10 + 17 = 27. The other 4 cells — r7c8, r8c8, r9c7 and r9c8 — all belong to one 5-cell cage totalling 22, whose fifth cell, r9c6, drops out of the box into box 8.

The innie total is 45 − 27 = 18, so those 4 cells supply 18 of the crossing cage's 22. Everything that cage holds outside box 9 therefore comes to 22 − 18 = 4, and it holds exactly one cell out there, so r9c6 is 4 outright. That is a placement rather than an elimination, and it arrives before any candidate work in box 8.

Box 7, the bottom-left box, pays out the other way. A 3-cell cage totalling 9 at r7c1+r8c1+r8c2 and a 2-cell cage totalling 8 at r9c1+r9c2 both lie wholly inside it, covering 5 cells for F = 9 + 8 = 17. The innies are the other 4 cells, r7c2, r7c3, r8c3 and r9c3, and their total is 45 − 17 = 28. They share a box, so their digits are distinct and the total behaves like a cage sum.

Four distinct digits reach 28 in only two ways, {4,7,8,9} and {5,6,8,9}, so 1, 2 and 3 are impossible in all four cells. The reason 3 fails is the argument you reuse everywhere: if an innie held 3, the other three would have to make 28 − 3 = 25, and the three largest different digits, 7, 8 and 9, reach only 24. On this board 1 and 2 are already gone from those cells, so the elimination bites in r7c3, the one innie still carrying a 3 — won from arithmetic alone, with no digit placed anywhere on the grid.

Reading a multi-cell innie total

A multi-cell innie total is read like a cage sum, with one bound argument doing most of the work. For k cells totalling S, a digit d is impossible when the k − 1 largest remaining digits cannot reach S − d, and equally impossible when the k − 1 smallest already overshoot it.

The ends of the range are where a remainder pins an exact set rather than trimming a candidate or two. A 2-cell innie of 17 is 8 and 9. A 3-cell innie of 23 is 6, 8 and 9; at 24 it is 7, 8 and 9. A 4-cell innie of 30 is 6, 7, 8 and 9, and at 10 it is 1, 2, 3 and 4. A pinned set also bars those digits from every other cell of the house.

Middle totals give less: a 3-cell innie of 15 admits 8 sets and rules out no digit on its own, though it still narrows cells whose candidates are already thinned.

Where the Rule of 45 misfires

Combination reasoning is sound only when the innie cells all lie in one house. Across a band of 2 or 3 rows the innies can sit in different rows, so nothing stops them repeating a digit, and treating their total as a cage sum will remove digits that belong in the solution. Across bands and stacks only the 1-cell innie and outie conclusions hold, which is the restriction the site's step solver enforces.

Misclassification is the other common failure. A cage counts as wholly inside only when every one of its cells is inside; a cage poking a single corner in belongs to the crossing pile at its full total. Counting a cage in both piles, or missing one that barely reaches in, shifts the innie total and everything drawn from it.

Bounds catch most slips. A 1-cell innie total outside 1–9 means the arithmetic is wrong, not that the puzzle contradicts itself; a 3-cell innie must land in 6–24 and a 4-cell innie in 10–30. Judge the payoff too: a house with 5 or more innie cells and a middling total rarely returns anything.

Three-cell innie totals: every digit set that fits, and the digits it removes from all three cells

Innie totalPossible digit setsDigits ruled out of every innie cell
6{1,2,3}4, 5, 6, 7, 8, 9
7{1,2,4}3, 5, 6, 7, 8, 9
8{1,2,5} {1,3,4}6, 7, 8, 9
9{1,2,6} {1,3,5} {2,3,4}7, 8, 9
10{1,2,7} {1,3,6} {1,4,5} {2,3,5}8, 9
11{1,2,8} {1,3,7} {1,4,6} {2,3,6} {2,4,5}9
12{1,2,9} {1,3,8} {1,4,7} {1,5,6} {2,3,7} {2,4,6} {3,4,5}none
13{1,3,9} {1,4,8} {1,5,7} {2,3,8} {2,4,7} {2,5,6} {3,4,6}none
14{1,4,9} {1,5,8} {1,6,7} {2,3,9} {2,4,8} {2,5,7} {3,4,7} {3,5,6}none
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}none
16{1,6,9} {1,7,8} {2,5,9} {2,6,8} {3,4,9} {3,5,8} {3,6,7} {4,5,7}none
17{1,7,9} {2,6,9} {2,7,8} {3,5,9} {3,6,8} {4,5,8} {4,6,7}none
18{1,8,9} {2,7,9} {3,6,9} {3,7,8} {4,5,9} {4,6,8} {5,6,7}none
19{2,8,9} {3,7,9} {4,6,9} {4,7,8} {5,6,8}1
20{3,8,9} {4,7,9} {5,6,9} {5,7,8}1, 2
21{4,8,9} {5,7,9} {6,7,8}1, 2, 3
22{5,8,9} {6,7,9}1, 2, 3, 4
23{6,8,9}1, 2, 3, 4, 5, 7
24{7,8,9}1, 2, 3, 4, 5, 6

How Killer Sudoku Cages Work

Killer Sudoku keeps every rule of Classic Sudoku — fill the 9×9 grid so each row, column, and 3×3 box holds the digits 1 to 9 exactly once — and adds cages: dashed groups of cells with a small target sum, where no digit may repeat inside a cage. Puzzles usually start with zero given digits, so every deduction begins from the cage sums. That single extra rule unlocks a whole family of arithmetic techniques.

Practise this in Killer mode on Sudoku Challenge, where the in-game Next Step button walks the exact deduction taught in this lesson.

Frequently Asked Questions

What is the difference between an innie and an outie?

An innie is a cell inside the house you are analysing that belongs to a cage extending beyond it; an outie is a cell outside the house belonging to a cage that reaches in. Innie totals come from 45 minus the wholly-inside cage sums; outie totals come from the crossing cages minus that innie total.

Does the Rule of 45 work across more than one row?

Yes. Two rows total 90 and three rows total 135, and the same applies to pairs and triples of columns or boxes. Only the single-cell conclusions are safe across multiple houses, though, because innie cells in different rows may legitimately hold the same digit and cannot be treated as a cage.

Which innie totals give you a digit straight away?

A one-cell innie always does: the remainder is that cell's digit, and it must fall between 1 and 9. Beyond that, the extreme totals pin a whole set — 3, 4, 16 or 17 for 2 cells, 6, 7, 23 or 24 for 3 cells, and 10, 11, 29 or 30 for 4 cells.

How many innie cells is too many?

Beyond 4 the return usually collapses, and the site's step solver applies combination logic to innie groups of 2 to 4 cells only. Five or more cells with a mid-range total admit so many digit sets that nothing is eliminated. Look instead for houses whose cage borders are almost clean.

Can an innie cell that already has a digit still be used?

Yes. A placed cell contributes its value to the innie total and to the combination match exactly like an empty one, so the group stays usable as the house fills. The only difference is that no candidate can be removed from a cell already holding a digit.

Why is my innie total negative or greater than 45?

That result signals a bookkeeping error rather than a broken puzzle. The usual causes are counting a cage as wholly inside when one of its cells sits outside, adding the same cage to both piles, or missing a cage that reaches only one cell into the house. Recount the wholly-inside pile.

More Killer Sudoku Lessons

All Sudoku Techniques

Explore every Classic and Killer technique in the complete Learning Hub, or read how to play Sudoku to get started.