The Divisibility Rule for Seven Takes Seven Steps; Division Takes One
Published 12/2/2026 · 3 min read · Everyday calculators
Lena Hoffmann — Science & education writer at OneKitly
Mathematics · Physics
Checked against 2 sources
The useful rules read the digits once. A number divides by 3 or 9 when its digit sum does — 123,456,789 sums to 45, so both hold. It divides by 11 when the alternating sum of its digits does; here that alternating sum is 5, so it does not. The rule for 7 works differently: drop the last digit and subtract twice it, and repeat until the number is small. On this example that takes seven rounds and ends at 12, which is not a multiple of seven — a correct answer reached by seven operations where one division would have done.
Testing 123,456,789 by the double-and-subtract rule needs seven rounds. The rules for 3, 9 and 11 are one glance; the rule for 7 is not worth learning.
Why the digit sum works at all
Ten leaves a remainder of one when divided by nine, so every power of ten does too, and a number is therefore congruent to the sum of its digits modulo nine. The rule for eleven works the same way with a twist: ten leaves a remainder of minus one, so the powers alternate and the digits are added and subtracted in turn. Both rules are properties of writing numbers in base ten, not of the numbers themselves — in base twelve the easy tests are for eleven and thirteen instead.
The rules that survived are the ones a person can do
Rules exist for every divisor, and almost all of them are slower than dividing. Seven, thirteen and seventeen have tests that need repeated passes and mental subtraction, which is why they are taught as curiosities and forgotten. The ones that stayed in use — two, five and ten from the last digit, four and eight from the last digits, three and nine from the digit sum, eleven from the alternating sum — all read the number once and require no arithmetic beyond addition. Usefulness selected them, not elegance.
| Divisor | Rule | Result |
|---|---|---|
| 3 and 9 | digit sum = 45 | divisible by both |
| 11 | alternating sum = 5 | not divisible |
| 7 | seven rounds, ends at 12 | not divisible |
| 2, 4, 5, 8, 10 | last digits only | none of them divide it |
Frequently asked questions
- What are these rules actually used for?
- Mostly for checking rather than for dividing. Casting out nines — comparing the digit sums of the inputs and the output of a multiplication — catches a large fraction of arithmetic slips at almost no cost, and it was standard practice in accounting before machines. The same idea survives as the check digit on a bank account, an ISBN and a barcode, where a weighted digit sum must come out to a fixed remainder or the number is rejected before it is used.
- Is there a rule for any number at all?
- Yes for any divisor coprime to ten, and the tool will build one on request. The construction takes the multiplicative inverse of ten modulo the divisor and uses it as the multiplier applied to the last digit, which is where the doubling in the rule for seven comes from. The rules exist, they are correct, and past about thirteen they are slower than the division they replace — which is the honest summary of the whole family.
Articles you may find interesting
All guides →Related tools
Sources
Spotted a mistake in this article?