Divisibility Rules

Watch the video explainer

Learning goals

  • Test for 22, 55 and 1010 by reading the last digit
  • Add the digits to settle 33 and 99
  • Check the last two or three digits for 44 and 88
  • Combine the 22 and 33 tests for 66, since they share no factor above 11
  • Explain why each rule works, from place value for most, and from combining two rules for 66
  • State what divisible means, and tie factor to multiple

What “divisible” means

A whole number is divisible by a positive whole number when the division leaves remainder 00. For example, 20÷5=420 \div 5 = 4 with nothing left over, but 23÷523 \div 5 leaves 33. We do not divide by zero. Zero itself is divisible by every positive whole number: 0÷5=00 \div 5 = 0, for example.

The same division fact has three useful descriptions:

Each says 20=5×420 = 5 \times 4: four groups of five use all twenty objects. In the picture, change the count and the row width. A full set of rows means the width is a factor; the hollow dots in a short last row show the remainder.

Divides evenly, or leaves a remainder

12 dots in rows of 5 make 2 full rows with 2 dots left over. So 5 is not a factor of 12. Dots laid out in equal rows, filling from the top left. Dots that do not complete a row are drawn hollow. Use the controls below the figure to change the number of dots or the row width.
Dots Rows of

12 dots in rows of 5 make 2 full rows with 2 dots left over. So 5 is not a factor of 12.

Dots laid out in equal rows. Choose how many dots there are and how many go in each row; dots that cannot complete a row are drawn hollow.

Set the count to 1010 and step the row width from 22 up to 66. Exactly two of those five widths leave nothing hollow, and each of the other three leaves a remainder you can count on the picture.

Check your understanding

Since 99 is a factor of 6363, which statement says the same thing?

Answer choices

The one idea behind most rules

Most tests use one idea: split off a part that divides evenly, then test the leftover.

For example, 28=20+828 = 20 + 8. The 2020 is five groups of 44 and the 88 is two groups of 44. Together they make seven groups, so 2828 is divisible by 44.

The same idea works with subtraction. The numbers 1818 and 1212 are six threes and four threes. Adding gives ten threes; subtracting gives two threes:

18+12=3×(6+4),18−12=3×(6−4).18 + 12 = 3 \times (6 + 4), \qquad 18 - 12 = 3 \times (6 - 4).

For any positive divisor dd, adding or subtracting two multiples of dd just adds or subtracts their counts of groups. This is the distributive property in reverse. If the two counts are mm and nn, then

(d×m)+(d×n)=d×(m+n),(d×m)−(d×n)=d×(m−n).\begin{aligned} (d \times m) + (d \times n) &= d \times (m+n),\\ (d \times m) - (d \times n) &= d \times (m-n). \end{aligned}

For a whole-number difference, subtract the smaller count from the larger. A divisor of both numbers therefore divides their sum and difference. This explains the shortcut in both directions. If the leftover is a multiple of dd, so is the whole, because it is a sum of two multiples. If the whole is a multiple, so is the leftover, because it is a difference of two multiples. The whole passes exactly when the leftover does.

For example, 836=830+6836=830+6, and 830830 is 8383 tens. The picture separates that known multiple of 1010 from the ones digit left to test.

Splitting 836 into 830 plus 6836 separated into 830 (hundreds and tens) and 6 (ones). The 830 piece is a multiple of 10; only the 6 must be tested.836 = 830 + 68306tens and hundreds(a multiple of 10)ones digittest this
Split 836 at the ones column. The 830 part is built only from tens and hundreds, so it is already a multiple of 10, and therefore of 2 and of 5. Only the last digit, 6, is left to test.

Divisibility by 2, 5, and 10: read the last digit

Every place-value column above the ones is made from tens. Since 10=2×510 = 2 \times 5, that part already divides evenly by 22, 55, and 1010.

Why only the last digit matters for 22, 55, and 1010#

Split 574574 into 570+4570 + 4. The 570570 is 5757 tens, so all three divisors divide it evenly. Only the 44 is left to test: it is divisible by 22, but not by 55 or 1010.

The same works for any whole number, since every whole number splits into a whole number of tens and its ones digit. By the sum-and-difference reasoning above, the whole number passes each test exactly when that ones digit does.

A whole number divisible by 22 is even; any other whole number is odd. Zero is even, because 0=2×00 = 2 \times 0.

Worked example 1 Test 4,1704{,}170 for divisibility by 22, 55, and 1010

Only the ones digit needs testing, and it is 00.

To see why the rest drops out, split off that last column:

4,170=(417×10)+0,4{,}170 = (417 \times 10) + 0,

where the 417×10417 \times 10 piece is 417417 tens, already a multiple of 1010. The leftover ones digit is 00, and 00 is a multiple of 22, of 55, and of 1010 at once.

So 4,1704{,}170 is divisible by 22 (the digit 00 is even), by 55 (the digit is 00), and by 1010 (the digit is 00). Any number ending in 00 clears all three tests together.

Check your understanding

Which statement correctly tests 2,4502{,}450 using its last digit?

Answer choices

Check your understanding

Why do 5,9025{,}902 and its last digit 22 give the same results for divisibility by 22, 55, and 1010?

Answer choices

Divisibility by 3 and 9: add the digits

The last digit cannot settle divisibility by 33: 1212 passes and 3232 fails, although both end in 22. Instead, add the digits. For 531531, the sum 5+3+1=95+3+1=9 passes both the 33 and 99 tests. To see why this works, look at place value.

Why the digit sum decides divisibility by 99 (and by 33)#

Use 34743474 so that four columns contribute. Each place value above the ones is one more than a multiple of 99:

10=9+1,100=99+1,1000=999+1.\begin{aligned} 10 &= 9+1,\\ 100 &= 99+1,\\ 1000 &= 999+1. \end{aligned}

Split each column that way and distribute:

3474=3(999+1)+4(99+1)+7(9+1)+4=2997+396+63+(3+4+7+4)=3456+18.\begin{aligned} 3474 &= 3(999+1)+4(99+1)\\ &\quad +7(9+1)+4\\ &= 2997+396+63\\ &\quad +(3+4+7+4)\\ &= 3456+18. \end{aligned}

The first part is 9×3849 \times 384, so it divides evenly by 99. Only the digit sum, 1818, remains. It too divides evenly by 99, giving 3474=9×3863474=9\times386.

The same split works for any digits and any number of columns. A hundred contributes a group of 9999 and one leftover unit; a thousand contributes 999999 and one; each larger place behaves the same way. Multiplying by the digit in that column leaves exactly that many units. All the other pieces are multiples of 99, so the whole number and its digit sum leave the same remainder on division by 99. Since every multiple of 99 is also a multiple of 33, the argument works for 33 too.

A number is divisible by 33 or by 99 exactly when its digit sum is divisible by that divisor. You may add the digits again if the sum is still awkward: 9,9969{,}996 gives 3333, then 66. So 9,9969{,}996 passes the 33 test and fails the 99 test.

Why the digit sum of 531 decides divisibility by 9531 split column by column: each place gives a multiple of 9 plus its digit. The leftover digits 5, 3, 1 sum to 9.531 = (5 × 99 + 3 × 9) + (5 + 3 + 1)5 × 99 + 3 × 9a multiple of 95 + 3 + 1digit sumdigit sum = 9, and 9 is divisible by 9,so 531 is divisible by 9
Each place value is one more than a multiple of 9, so every column hands over a multiple of 9 and keeps only its digit. Those leftover digits add up to the digit sum.

Check your understanding

Why does the digit sum test 642642 for divisibility by both 33 and 99?

Answer choices

Worked example 2 Is 4,7284{,}728 divisible by 33? By 99?

Add the digits:

4+7+2+8=21.4 + 7 + 2 + 8 = 21.

Now test the digit sum 2121. It is divisible by 33, since 21=3×721 = 3 \times 7, but not by 99, since 9×2=189 \times 2 = 18 and 9×3=279 \times 3 = 27 step right over 2121.

If you cannot read 2121 at a glance, fold it once more: 2+1=32 + 1 = 3, which is divisible by 33 and not by 99, the same verdict. So 4,7284{,}728 is divisible by 33 but not by 99.

Check your understanding

Add the digits of 7,2547{,}254 to test divisibility by 33 and 99. Which conclusion follows?

Answer choices

A missing-digit question uses the same rule. To make 51□51\square divisible by 99, start with 5+1=65+1=6. The missing digit must raise the sum to 99, so it is 33. The next multiple, 1818, would require a digit of 1212, which is impossible. Thus 513=9×57513=9\times57 is the only answer.

Divisibility by 4 and 8: check the last two or three digits

For 44 and 88, keep a block of digits instead of adding them.

Why the last two digits decide divisibility by 44#

Split 7,3167{,}316 into 7,300+167{,}300+16. Each hundred is 4×254\times25, so the 7373 hundreds divide evenly by 44. The leftover 16=4×416=4\times4 does too, so 7,3167{,}316 passes the 44 test.

For 88, split the same number into 7,000+3167{,}000+316. Each thousand is 8×1258\times125, so only 316316 needs testing. Since 316=8×39+4316=8\times39+4, the number fails the 88 test.

For any whole number, the part above the last two digits is a whole number of hundreds, all divisible by 44. Thus the last two digits, read as one number, decide the 44 test. Similarly, the part above the last three digits is a whole number of thousands, all divisible by 88. The last three digits decide the 88 test. If the number has fewer digits than the rule asks for, test the whole number.

Every hundred is divisible by 44, but 100=8×12+4100=8\times12+4 is not divisible by 88. That is why the 88 test needs three digits: every thousand is divisible by 88.

Check your understanding

Why can you test 5,5365{,}536 using 3636 for 44, but 536536 for 88?

Answer choices

Worked example 3 Is 53,61653{,}616 divisible by 44? By 88?

For 44, ignore everything but the last two digits, which form 1616:

16=4×4,16 = 4 \times 4,

so 53,61653{,}616 is divisible by 44.

For 88, keep the last three digits, which form 616616, and test that smaller number:

616=8×77,616 = 8 \times 77,

so 53,61653{,}616 is divisible by 88 as well. To check 616616, use 8×70=5608 \times 70 = 560; the remaining 5656 is 8×78 \times 7.

Check your understanding

Which number is divisible by 44 but not by 88?

Answer choices

Divisibility by 6: combine 2 and 3

A number is divisible by 66 exactly when it passes both the 22 and 33 tests. For example, 4242 is even and its digit sum is 66; indeed, 42=6×742=6\times7.

Why passing both the 22 test and the 33 test means divisible by 66#

Take 7878, which is even and divisible by 33. Write it as three equal rows of 2626 objects. Each row can be paired, since 26=2×1326=2\times13. The three rows together contain 3×2×13=6×133\times2\times13=6\times13 objects.

For any multiple of 33, arrange the objects in three equal rows. If the row length is even, the rows split into pairs and the total is a multiple of 66. If the row length is odd, each row leaves one unpaired object; the three leftovers make one pair and one extra, so the total is odd. Thus an even multiple of 33 must have even row length and must be a multiple of 66. Conversely, every group of 66 splits into three twos and also into two threes, so every multiple of 66 passes both tests.

Combining two divisor tests works when the divisors share no factor above 11, as 22 and 33 do. Passing the 22 test twice does not test 44: 66 passes both copies of the same test but is not divisible by 44. When two divisors share a factor above one, passing both tests does not show that the number is divisible by their product.

Check your understanding

Why must an even number that is divisible by 33 also be divisible by 66?

Answer choices

Worked example 4 Is 2,5142{,}514 divisible by 66?

Run the two tests that make up 66.

First, divisibility by 22: the last digit is 44, which is even, so 2,5142{,}514 passes.

Next, divisibility by 33: the digit sum is

2+5+1+4=12,2 + 5 + 1 + 4 = 12,

and 12=3×412 = 3 \times 4 is a multiple of 33, so 2,5142{,}514 passes that test too.

It clears both halves, so 2,5142{,}514 is divisible by 66. As a check, 2,514=6×4192{,}514 = 6 \times 419.

Check your understanding

Which number is divisible by 66?

Answer choices

Putting the rules to work

These tests are much quicker than long division, and you can run several of them on one number in a single pass. Here is the whole toolkit:

DivisorTest
22last digit is even (0,2,4,6,80, 2, 4, 6, 8)
33digit sum is a multiple of 33
44number formed by the last two digits is a multiple of 44
55last digit is 00 or 55
66passes both the 22 test and the 33 test
88number formed by the last three digits is a multiple of 88
99digit sum is a multiple of 99
1010last digit is 00

Worked example 5 Which of 2,3,4,5,6,8,9,102, 3, 4, 5, 6, 8, 9, 10 divide 7,3807{,}380?

Run each test on 7,3807{,}380 in turn.

The last digit is 00, so the number is even and divisible by 22, by 55, and by 1010 all at once.

The digit sum is 7+3+8+0=187 + 3 + 8 + 0 = 18, which is 9×29 \times 2, so the number is divisible by 33 and by 99.

Because it passes the 22 test and the 33 test, it is divisible by 66.

The last two digits form 8080, and 80=4×2080 = 4 \times 20, so it is divisible by 44.

The last three digits form 380380, and 380=(8×47)+4380 = (8 \times 47) + 4, a remainder of 44, so 7,3807{,}380 is not divisible by 88.

So 7,3807{,}380 is divisible by every one of 2,3,4,5,6,9,2, 3, 4, 5, 6, 9, and 1010, but not by 88. The rules share their work: you used one digit sum (1818) for both the 33 and the 99 tests, and the final zero for three tests at once. Each test is still checked on its own, though: the tests for 44 and 88 look alike but gave different answers here.

Check your understanding

A whole number ends in 00 and has digit sum 1818. Which of these is it?

Answer choices

Common mistakes

Practice

Multiple Choice Questions (MCQ)

Progressively harder sets of questions. Each opens on its own page.

Core practice

Practice problems at the level of the course, to be worked out on paper. Hints one at a time, then the answer or the full worked solution, with your progress kept in this browser.

Core practice Work it out on paper 10 problems Start →
More practice (optional)

Extra sets, as hard as the Challenge set. Each one opens on its own page.

More resources (optional)

Other explanations of this lesson, if you want a second take.

A bit of history (optional)

Suppose a merchant has added a long column of figures and wants to check the total without doing all that work again.

One old method was casting out nines: replace each number by its remainder after division by 99, using digit sums. Add the small leftovers, then compare that sum’s remainder with the claimed total’s remainder. If the two remainders differ, there is an error somewhere. If they match, the total may still be wrong, since an error of 99 or a multiple of 99 goes unnoticed.

Luca Pacioli, a Franciscan friar and mathematics teacher, included the method in his Summa, printed in Venice in 1494. He was passing on an existing practice: the printed Treviso Arithmetic had described it in 1478. MacTutor’s history of the term records both appearances.

Pacioli’s book became famous for another practical subject: the first printed account of double-entry bookkeeping. Merchants could read how to organize accounts as well as check arithmetic in the same volume. ICAEW’s account of Pacioli’s life describes how his teaching and writing connected mathematics with the counting house.

Your progress

See all your progress →