Suppose you have 126 sweets to share equally, or 452 chairs to set out in equal rows. Before doing any long division, it helps to know whether the sharing will come out exactly. Divisibility rules answer that question in a few seconds, just by looking at the digits.
A number is divisible by another when it divides with no remainder. For example, 12 is divisible by 3, because with nothing left over. The rules below work for natural numbers, the counting numbers
Divisibility rule for 2
A natural number is divisible by 2 if the digit at the units place of the number is either 0 or 2 or 4 or 6 or 8.
Example 1
Is 452 divisible by 2?
The units digit is 2. So yes, 452 is divisible by 2. Check by long division: , with remainder 0.
Example 2
Is 1024 divisible by 2? The units digit is 4, so yes.
Is 753 divisible by 2? The units digit is 3, which is not 0, 2, 4, 6 or 8. So no.
Why it works. Every ten is , so any number of tens divides by 2 exactly. Only the units digit can leave anything over. This is the same as saying the number is even.
Divisibility rule for 3
A natural number is divisible by 3 if the sum of all its digits is divisible by 3.
Example 3
Is 117 divisible by 3?
Add the digits: . And 9 is divisible by 3, because . So 117 is divisible by 3.

Why it works. A hundred is and a ten is . The 99 and the 9 divide by 3 exactly. So every hundred and every ten leaves just 1 over. Collect all the leftovers and you get exactly the sum of the digits. That is the only part that can decide.
Example 4
Is 101010 divisible by 3?
, and 3 is divisible by 3. So yes.
Example 5
Is 7874 divisible by 3?
. Now is 8 with remainder 2. So 26 is not divisible by 3, and neither is 7874.
Example 6
Find the smallest number greater than 200 that is divisible by 3.
Try 201: , which is divisible by 3. So the answer is 201.
Divisibility rule for 4
A natural number is divisible by 4 if the last two digits of the number, taken together, are divisible by 4.
Example 7
Is 76532 divisible by 4?
The last two digits make 32. And with nothing left over. So 76532 is divisible by 4.

Why it works. A hundred is , so every hundred divides by 4 exactly. Cover everything except the last two digits. What you covered is a number of hundreds, and it divides by 4 already.
Example 8
Test 126, 50138 and 301096 for 4.
| Number | Last two digits | Divide by 4 | Divisible by 4? |
|---|---|---|---|
| 126 | 26 | 6, remainder 2 | no |
| 50138 | 38 | 9, remainder 2 | no |
| 301096 | 96 | 24, remainder 0 | yes |
Notice 126. It ends in 6, so it is divisible by 2. But it is not divisible by 4. Passing for 2 does not settle 4.
Divisibility rule for 5
A natural number is divisible by 5 if the digit at the units place of the number is either 0 or 5.
Example 9
| Number | Units digit | Divisible by 5? |
|---|---|---|
| 57875 | 5 | yes |
| 60120 | 0 | yes |
| 6021 | 1 | no |
Why it works. Every ten is , so the tens always divide by 5. Only the units digit can leave anything over, and only 0 and 5 leave nothing.
The four rules side by side
| Divisible by | Look at | It must be |
|---|---|---|
| 2 | the units digit | 0, 2, 4, 6 or 8 |
| 3 | the sum of all the digits | divisible by 3 |
| 4 | the last two digits together | divisible by 4 |
| 5 | the units digit | 0 or 5 |
Example 10
Test 12378 for 2, 57018 for 3, 57108 for 4 and 7101053 for 5.
- 12378 ends in 8, so it is divisible by 2.
- 57018: , and 21 is divisible by 3. So 57018 is divisible by 3.
- 57108 ends in 08, which is 8, and 8 is divisible by 4. So 57108 is divisible by 4.
- 7101053 ends in 3, so it is not divisible by 5.
Common mistakes
- Using the first digit instead of the last. For 2, 4 and 5, only the end of the number matters.
- Testing only the last digit for 4. 126 ends in 6, which is even, but 26 is not divisible by 4.
- Testing the digits one at a time for 3. Add all the digits first, then test the sum.
- Mixing up the rules for 2 and 5. A number ending in 5 is divisible by 5 but not by 2.
Key terms
- Divisible: a number is divisible by another when the division leaves no remainder.
- Units digit: the last digit of a number.
- Digit sum: the total of all the digits of a number.
Practice
- Is 452 divisible by 2? Explain your answer.
- Which of 371, 846 and 925 are divisible by 2?
- Is 918 divisible by 3? Give a reason.
- Is 2041 divisible by 3?
- Is 5316 divisible by 4?
- Is 7514 divisible by 4?
- Which of 4005, 7350 and 2552 are divisible by 5?
- Find the smallest number greater than 100 that is divisible by 3.
- Find the smallest number greater than 300 that is divisible by 4.
- Test 4710 for 2, 3, 4 and 5.
- Test 9135 for 2, 3, 4 and 5.
- Test 3360 for 2, 3, 4 and 5.
Answers
Show answers
- Yes. The units digit is 2.
- Only 846, because it ends in 6. 371 and 925 end in odd digits.
- Yes. , and 18 is divisible by 3.
- No. , and 7 is not divisible by 3.
- Yes. The last two digits make 16, and .
- No. The last two digits make 14, and is 3 with remainder 2.
- 4005 and 7350, because they end in 5 and 0. 2552 ends in 2.
- 102, because . (101 has digit sum 2.)
- 304, because the last two digits make 4, and 4 is divisible by 4.
- Divisible by 2 and by 5 (it ends in 0) and by 3 (). Not by 4, because 10 leaves remainder 2.
- Divisible by 3 () and by 5 (it ends in 5). Not by 2 (it ends in an odd digit) and not by 4 (35 leaves remainder 3).
- Divisible by all four: it ends in 0, , and the last two digits make 60, which is .