Checking a sum by hand in thirty seconds
You've done a long multiplication on paper, or added up a column of figures, and you want to know if it's right without doing it all again. There are two old checks that take a few seconds each. Neither proves the answer is right. Together they catch nearly every slip people actually make, and it's worth knowing the one they don't.
Check one: casting out nines
Add up the digits of a number. If the result has more than one digit, add those digits too, until you have one digit. Treat 9 as 0. Call that the number's nines remainder. (It is the remainder after dividing by 9.)
The trick: the nines remainders obey the same arithmetic as the numbers. So do the sum on the remainders and compare.
Example: 347 × 862, worked on paper as 299,114.
347 3+4+7 = 14 → 5
862 8+6+2 = 16 → 7
5 × 7 = 35 → 8
299114 2+9+9+1+1+4 = 26 → 8
Both sides give 8. The check passes.
Speed-up: you can throw away any 9, or any group of digits that adds to 9, before you start. In 299,114, cross out both 9s; what's left, 2 + 1 + 1 + 4, is 8 straight away. That's where the name comes from: you are casting out nines.
Check two: casting out elevens
Now alternate the signs, starting from the rightmost digit with plus: plus the last digit, minus the one before it, plus the one before that, and so on. If you get a negative number, add 11; if you get 11 or more, do it again. Call this the elevens remainder.
347 7 − 4 + 3 = 6
862 2 − 6 + 8 = 4
6 × 4 = 24 → 4 − 2 = 2
299114 4−1+1−9+9−2 = 2
Both sides give 2. Passes again.
Why they work
Ten is one more than nine, so every power of ten (10, 100, 1000, ...) leaves remainder 1 when divided by 9. A number is a sum of digits times powers of ten, so dividing by 9 just leaves the sum of the digits.
Ten is one less than eleven, so the powers of ten leave remainders 1, −1, 1, −1, ... when divided by 11. That's where the alternating signs come from.
Remainders survive adding, subtracting and multiplying, which is why you can do the sum on them instead of the full numbers.
Using them for each operation
- Adding a column: the remainder of the total should equal the remainder of the sum of the remainders.
- Subtracting: same, with subtraction. If the remainder goes negative, add 9 (or 11).
- Multiplying: multiply the remainders, as above.
- Dividing: check the multiplication instead. If you found 9,876 ÷ 37 = 266 remainder 34, test 37 × 266 + 34 = 9,876. Nines: 1 × 5 + 7 = 12 → 3, and 9,876 → 30 → - Elevens. Elevens: 4 × 2 + 1 = 9, and 9,876 → 6−7+8−9 = −2 → 9. Both pass.
What each one catches
I wanted numbers rather than folklore, so I simulated it. I multiplied 200,000 random pairs of three-digit numbers, then planted one kind of mistake in each product and asked whether each check noticed. Seeded Python, about thirty lines; the core idea is that a wrong answer w slips past a check exactly when the difference w − c from the correct answer is divisible by 9 (or 11).
mistake 9s 11s
one digit wrong 98% 100%
adjacent swap 0% 100%
carry slip 100% 100%
extra zero 0% 83%
row shifted 0% 91%
swap two apart 0% 0%
What the rows mean, and why the numbers come out as they do:
- One digit wrong. Nines misses only a 0 written as 9 or a 9 written as 0, since those differ by a multiple of 9. Elevens never misses this: the error is between 1 and 9 times a power of ten, and none of those divide by 11.
- Adjacent swap, writing 291,914 for 299,114. The digit sum is unchanged, so nines is blind to it every time. Elevens catches all of them: 291,914 gives 7, not 2. This is the main reason to carry the second check.
- Carry slip, an answer off by exactly 10, 100, 1000 because a carry went wrong. Both catch every one.
- Extra zero, writing ten times the answer. Nines can't see it (multiplying by 10 doesn't change a digit sum). Elevens catches it unless the true answer happens to be a multiple of 11. For a product of two random numbers that happens about 17% of the time, because either factor being a multiple of 11 is enough. Two extra zeros pass both checks, since 100 leaves remainder 1 for both 9 and 11.
- Row shifted, the classic long-multiplication slip: one partial-product row placed one column too far left. The error is 9 × (that row), so nines never sees it. Elevens catches it unless the top number is a multiple of 11 (about 1 time in 11).
- Swap two apart, writing 912 for 219. The error is a multiple of 99, which is 9 × 11. Both checks pass it, every time.
So the honest summary: nines alone is a weak check that misses the two most common slips (swapped digits and misplaced rows). Nines plus elevens catches everything above except lost or extra pairs of zeros and digits swapped across a gap. If the answer were pure garbage, the pair would let through about 1 in 99.
A thirty-second routine
- Size. Glance at size first: 347 × 862 is a bit more than 300 × 900 = 270,000. Six digits starting with 2 or 3. This catches the zero errors the two checks are worst at.
- Nines. Nines remainder of each input, combine, compare.
- Elevens. Elevens remainder of each input, combine, compare.
- Read back. If all three agree, the remaining risk is mostly digits swapped across a gap. Read the answer back against your working once.
If any step disagrees, the answer is wrong, but a passing check can also be wrong if you slipped while doing the check itself. When a check fails, redo the check before you redo the sum.