- Foundation
- About 14 min
- 5 practice questions
Divisibility tests for 2, 4, 5, 8 and 10
Test whether a large number is divisible by 2, 4, 5, 8 or 10 by looking only at its last one, two or three digits, and explain why the tests work.
If something looks wrong, please tell us.
By the end of this lesson you can
- Use the last-digit tests for 10, 5 and 2.
- Use the last-two-digits test for 4 and the last-three-digits test for 8, and explain why they work.
- Apply the tests to puzzles such as leap years and remainders.
Is 8,560 divisible by 4? By 8? Long division would tell us, but there are faster ways. By looking at patterns in the multiples, we can test divisibility from just the last few digits.
Tests that use the last digit
| Divisible by | Test | Why it works |
|---|---|---|
| 10 | Last digit is 0 | Multiples of 10 are 10, 20, 30, … all ending in 0 |
| 5 | Last digit is 0 or 5 | Multiples of 5 end in 5, 0, 5, 0, … |
| 2 | Last digit is 0, 2, 4, 6 or 8 | Every 10 is even, so only the ones digit decides |
The last digit also gives the remainder. 2,347 ÷ 10 leaves remainder 7 (the last digit). 2,347 ÷ 5: the last digit 7 is 2 more than 5, so the remainder is 2. 2,347 ÷ 2: it ends in an odd digit, so the remainder is 1.
Divisibility by 4: the last two digits
The last digit is not enough for 4: 12 and 22 both end in 2, but only 12 is a multiple of 4. Look at the last two digits instead. Any number is a whole number of hundreds plus its last two digits, and 100 = 4 × 25 is divisible by 4. So the hundreds part is always a multiple of 4, and only the last two digits decide.
A number is divisible by 4 exactly when the number formed by its last two digits is divisible by 4. It is divisible by 8 exactly when the number formed by its last three digits is divisible by 8.
For 8, the same idea uses 1,000 = 8 × 125: thousands are always multiples of 8, so only the last three digits matter.
Worked example 1: testing 8,560
- By 10: ends in 0, yes. By 5: ends in 0, yes. By 2: ends in 0, yes.
- By 4: last two digits 60, and 60 = 4 × 15, so yes.
- By 8: last three digits 560, and 560 = 8 × 70, so yes. (Indeed 8,560 = 8 × 1,070.)
Worked example 2: a number that fails one test
Is 7,348 divisible by 4 and by 8? Last two digits 48 = 4 × 12, so it is divisible by 4 (7,348 = 4 × 1,837). Last three digits 348: 8 × 43 = 344 and 8 × 44 = 352, so 348 is not a multiple of 8. Hence 7,348 is not divisible by 8.
Choosing the right test
- For 2, 5 or 10 Look at the last digit.
- For 4 Look at the last two digits.
- For 8 Look at the last three digits.
- Check Divide just that small number in your head.
Worked example 3: leap years
In our calendar, a year is a leap year if it is divisible by 4, except century years (divisible by 100), which must also be divisible by 400. 2,000 was a leap year (2,000 = 400 × 5), but 1,900 was not (divisible by 100 but not by 400). How many leap years are there from 2024 to 2099? They are 2024, 2028, …, 2096. Count = (2096 − 2024) ÷ 4 + 1 = 72 ÷ 4 + 1 = 18 + 1 = 19.
Fun with special numbers
In a set like 9, 16, 25, 43, each number can be 'special' for a different reason: 9 is the only one-digit number, 16 the only even number, 25 the only multiple of 5, and 43 the only prime (and the only one that is not a square number). Looking for such reasons sharpens your eye for factors and multiples.
How many end digits to check
-
Last 1 digit
- Divisibility by 2
- by 5
- by 10
-
Last 2 digits
- Divisibility by 4
- because 100 = 4 × 25
-
Last 3 digits
- Divisibility by 8
- because 1,000 = 8 × 125
Key takeaways: 10 needs a final 0; 5 needs a final 0 or 5; 2 needs an even final digit; 4 needs the last two digits to form a multiple of 4; 8 needs the last three digits to form a multiple of 8. These shortcuts work because 10, 100 and 1,000 are themselves divisible by these numbers.
Check your understanding
-
1. Which number is divisible by 4?
- 3,426
- 5,318
- 7,134
- 2,936
Show answer
Answer: D. Check the last two digits: 26, 18 and 34 are not multiples of 4, but 36 = 4 × 9 is. So 2,936 is divisible by 4.
-
2. What is the remainder when 4,738 is divided by 5?
- 3
- 8
- 0
- 4
Show answer
Answer: A. Only the last digit matters for 5. The last digit is 8, and 8 = 5 + 3, so the remainder is 3.
-
3. Which number is divisible by 8?
- 13,516
- 24,108
- 51,624
- 30,412
Show answer
Answer: C. Check the last three digits: 624 = 8 × 78, so 51,624 is divisible by 8. 516, 108 and 412 are not multiples of 8 (8 × 64 = 512, 8 × 13 = 104, 8 × 51 = 408).
-
4. Why do only the last two digits matter when testing divisibility by 4?
- Because 4 is even
- Because 100 is divisible by 4, so the hundreds part never affects the result
- Because the last digit is never enough for anything
- Because 4 has two digits
Show answer
Answer: B. Every number is some hundreds plus its last two digits. Since 100 = 4 × 25, the hundreds part is always a multiple of 4, so divisibility by 4 depends only on the last two digits.
-
5. Will the year 2100 be a leap year under the calendar rule?
- Yes, because 2100 is divisible by 4
- Yes, because it is a century year
- No, because it is odd
- No, because it is divisible by 100 but not by 400
Show answer
Answer: D. Century years must be divisible by 400 to be leap years. 2100 ÷ 400 = 5 remainder 100, so 2100 is not a leap year, even though it is divisible by 4.
Sign in to keep track of the lessons you finish.