Sup­pose you have 126 sweets to share equally, or 452 chairs to set out in equal rows. Before doing any long divi­sion, it helps to know whether the shar­ing will come out exactly. Divis­i­bil­ity rules answer that ques­tion in a few sec­onds, just by look­ing at the dig­its.

A num­ber is divis­i­ble by another when it divides with no remain­der. For exam­ple, 12 is divis­i­ble by 3, because 12÷3=412 \div 3 = 4 with noth­ing left over. The rules below work for nat­ural num­bers, the count­ing num­bers 1,2,3,…1, 2, 3, \dots

Divis­i­bil­ity rule for 2

A nat­ural num­ber is divis­i­ble by 2 if the digit at the units place of the num­ber is either 0 or 2 or 4 or 6 or 8.

Exam­ple 1

Is 452 divis­i­ble by 2?

The units digit is 2. So yes, 452 is divis­i­ble by 2. Check by long divi­sion: 452÷2=226452 \div 2 = 226, with remain­der 0.

Exam­ple 2

Is 1024 divis­i­ble by 2? The units digit is 4, so yes.

Is 753 divis­i­ble by 2? The units digit is 3, which is not 0, 2, 4, 6 or 8. So no.

Why it works. Every ten is 2×52 \times 5, so any num­ber of tens divides by 2 exactly. Only the units digit can leave any­thing over. This is the same as say­ing the num­ber is even.

Divis­i­bil­ity rule for 3

A nat­ural num­ber is divis­i­ble by 3 if the sum of all its dig­its is divis­i­ble by 3.

Exam­ple 3

Is 117 divis­i­ble by 3?

Add the dig­its: 1+1+7=91 + 1 + 7 = 9. And 9 is divis­i­ble by 3, because 9÷3=39 \div 3 = 3. So 117 is divis­i­ble by 3.

Three boxes for 117: hundreds 1, tens 1, units 7. The hundred splits into 99 and 1, the ten into 9 and 1. Heap 1 is 108 = 3 × 36; heap 2 is 1 + 1 + 7 = 9 = 3 × 3.
Every hun­dred and every ten leaves exactly 1 over when shared in threes, so the left­overs add up to the digit sum.

Why it works. A hun­dred is 99+199 + 1 and a ten is 9+19 + 1. The 99 and the 9 divide by 3 exactly. So every hun­dred and every ten leaves just 1 over. Col­lect all the left­overs and you get exactly the sum of the dig­its. That is the only part that can decide.

Exam­ple 4

Is 101010 divis­i­ble by 3?

1+0+1+0+1+0=31 + 0 + 1 + 0 + 1 + 0 = 3, and 3 is divis­i­ble by 3. So yes.

Exam­ple 5

Is 7874 divis­i­ble by 3?

7+8+7+4=267 + 8 + 7 + 4 = 26. Now 26÷326 \div 3 is 8 with remain­der 2. So 26 is not divis­i­ble by 3, and nei­ther is 7874.

Exam­ple 6

Find the small­est num­ber greater than 200 that is divis­i­ble by 3.

Try 201: 2+0+1=32 + 0 + 1 = 3, which is divis­i­ble by 3. So the answer is 201.

Divis­i­bil­ity rule for 4

A nat­ural num­ber is divis­i­ble by 4 if the last two dig­its of the num­ber, taken together, are divis­i­ble by 4.

Exam­ple 7

Is 76532 divis­i­ble by 4?

The last two dig­its make 32. And 32÷4=832 \div 4 = 8 with noth­ing left over. So 76532 is divis­i­ble by 4.

A 10 by 10 grid of 100 squares split into four coloured blocks of 25, beside the note that 76532 = 76500 + 32 and only the last two digits need checking.
A hun­dred is four blocks of 25, so hun­dreds never leave a remain­der when divided by 4.

Why it works. A hun­dred is 4×254 \times 25, so every hun­dred divides by 4 exactly. Cover every­thing except the last two dig­its. What you cov­ered is a num­ber of hun­dreds, and it divides by 4 already.

Exam­ple 8

Test 126, 50138 and 301096 for 4.

Num­ber Last two dig­its Divide by 4 Divis­i­ble by 4?
126 26 6, remain­der 2 no
50138 38 9, remain­der 2 no
301096 96 24, remain­der 0 yes

Notice 126. It ends in 6, so it is divis­i­ble by 2. But it is not divis­i­ble by 4. Pass­ing for 2 does not set­tle 4.

Divis­i­bil­ity rule for 5

A nat­ural num­ber is divis­i­ble by 5 if the digit at the units place of the num­ber is either 0 or 5.

Exam­ple 9

Num­ber Units digit Divis­i­ble by 5?
57875 5 yes
60120 0 yes
6021 1 no

Why it works. Every ten is 2×52 \times 5, so the tens always divide by 5. Only the units digit can leave any­thing over, and only 0 and 5 leave noth­ing.

The four rules side by side

Divis­i­ble by Look at It must be
2 the units digit 0, 2, 4, 6 or 8
3 the sum of all the dig­its divis­i­ble by 3
4 the last two dig­its together divis­i­ble by 4
5 the units digit 0 or 5

Exam­ple 10

Test 12378 for 2, 57018 for 3, 57108 for 4 and 7101053 for 5.

  • 12378 ends in 8, so it is divis­i­ble by 2.
  • 57018: 5+7+0+1+8=215 + 7 + 0 + 1 + 8 = 21, and 21 is divis­i­ble by 3. So 57018 is divis­i­ble by 3.
  • 57108 ends in 08, which is 8, and 8 is divis­i­ble by 4. So 57108 is divis­i­ble by 4.
  • 7101053 ends in 3, so it is not divis­i­ble by 5.

Com­mon mis­takes

  • Using the first digit instead of the last. For 2, 4 and 5, only the end of the num­ber mat­ters.
  • Test­ing only the last digit for 4. 126 ends in 6, which is even, but 26 is not divis­i­ble by 4.
  • Test­ing the dig­its one at a time for 3. Add all the dig­its first, then test the sum.
  • Mix­ing up the rules for 2 and 5. A num­ber end­ing in 5 is divis­i­ble by 5 but not by 2.

Key terms

  • Divis­i­ble: a num­ber is divis­i­ble by another when the divi­sion leaves no remain­der.
  • Units digit: the last digit of a num­ber.
  • Digit sum: the total of all the dig­its of a num­ber.

Prac­tice

  1. Is 452 divis­i­ble by 2? Explain your answer.
  2. Which of 371, 846 and 925 are divis­i­ble by 2?
  3. Is 918 divis­i­ble by 3? Give a rea­son.
  4. Is 2041 divis­i­ble by 3?
  5. Is 5316 divis­i­ble by 4?
  6. Is 7514 divis­i­ble by 4?
  7. Which of 4005, 7350 and 2552 are divis­i­ble by 5?
  8. Find the small­est num­ber greater than 100 that is divis­i­ble by 3.
  9. Find the small­est num­ber greater than 300 that is divis­i­ble by 4.
  10. Test 4710 for 2, 3, 4 and 5.
  11. Test 9135 for 2, 3, 4 and 5.
  12. Test 3360 for 2, 3, 4 and 5.

Answers

Show answers
  1. Yes. The units digit is 2.
  2. Only 846, because it ends in 6. 371 and 925 end in odd dig­its.
  3. Yes. 9+1+8=189 + 1 + 8 = 18, and 18 is divis­i­ble by 3.
  4. No. 2+0+4+1=72 + 0 + 4 + 1 = 7, and 7 is not divis­i­ble by 3.
  5. Yes. The last two dig­its make 16, and 16÷4=416 \div 4 = 4.
  6. No. The last two dig­its make 14, and 14÷414 \div 4 is 3 with remain­der 2.
  7. 4005 and 7350, because they end in 5 and 0. 2552 ends in 2.
  8. 102, because 1+0+2=31 + 0 + 2 = 3. (101 has digit sum 2.)
  9. 304, because the last two dig­its make 4, and 4 is divis­i­ble by 4.
  10. Divis­i­ble by 2 and by 5 (it ends in 0) and by 3 (4+7+1+0=124 + 7 + 1 + 0 = 12). Not by 4, because 10 leaves remain­der 2.
  11. Divis­i­ble by 3 (9+1+3+5=189 + 1 + 3 + 5 = 18) and by 5 (it ends in 5). Not by 2 (it ends in an odd digit) and not by 4 (35 leaves remain­der 3).
  12. Divis­i­ble by all four: it ends in 0, 3+3+6+0=123 + 3 + 6 + 0 = 12, and the last two dig­its make 60, which is 4×154 \times 15.