The short answer: most divisibility tests need only the last digits or the digit sum. Use the last digit for 2 and 5, the last two digits for 4, the last three for 8, the digit sum for 3 and 9, and the alternating digit sum for 11. For composite numbers, test two co-prime factors, such as 8 and 9 for 72.

The tests

Divisibility rules
DivisorTest
2Last digit is 0, 2, 4, 6 or 8
3Sum of digits is a multiple of 3
4Number formed by last two digits is a multiple of 4
5Last digit is 0 or 5
8Number formed by last three digits is a multiple of 8
9Sum of digits is a multiple of 9
11Sum of digits at odd places minus sum at even places is 0 or a multiple of 11
7Remove the last digit, subtract twice that digit from the rest; repeat; result is 0 or a multiple of 7

For 6, 12, 15 and other composites, use two co-prime factors: 6 = 2 and 3; 12 = 3 and 4; 72 = 8 and 9.

Example 1: checking 8 and 3

Is 738,424 divisible by 8? Take the last three digits, 424. 424 ÷ 8 = 53 exactly, so yes. Is it divisible by 3? The digit sum is 7 + 3 + 8 + 4 + 2 + 4 = 28, which is not a multiple of 3, so no. A number can pass one test and fail another.

Example 2: the rule for 11

Is 918,082 divisible by 11? Number the digits from the right: 2 (1st), 8 (2nd), 0 (3rd), 8 (4th), 1 (5th), 9 (6th). Odd places: 2 + 0 + 1 = 3. Even places: 8 + 8 + 9 = 25. The difference is 25 − 3 = 22, a multiple of 11, so the number is divisible. Check: 83,462 × 11 = 918,082.

Example 3: a missing digit

Find the digit x so that 72x35 is divisible by 9. The digit sum is 7 + 2 + x + 3 + 5 = 17 + x. The next multiple of 9 after 17 is 18, so x = 1. The other candidate, 27, would need x = 10, which is not a digit. So there is only one answer, and 72,135 = 9 × 8,015. The same number is also divisible by 3, as it must be.

Example 4: the rule for 7

Is 2,149 divisible by 7? Remove the last digit 9 and subtract twice it (18) from 214: 214 − 18 = 196. Repeat: remove 6, 19 − 12 = 7. Seven is a multiple of 7, so yes. Check: 7 × 307 = 2,149.

Example 5: the smallest four-digit number divisible by 72

Since 72 = 8 × 9, the number must pass both tests, but a faster route is division. 1,000 ÷ 72 is about 13.9, so the next whole multiple is 14 × 72 = 1,008. Test it: the last three digits 008 are divisible by 8, and the digit sum 1 + 0 + 0 + 8 = 9 is divisible by 9.

Mistakes that cost marks

  • Testing 12 with 2 and 6. These are not co-prime: 18 passes both and is not divisible by 12. Use 3 and 4.
  • Using the digit sum for 11, or the alternating sum for 9.
  • Mixing up the places in the 11 test. Pick a starting end and keep alternating; a difference of 0 or any multiple of 11 means divisible.
  • Treating zero as a failure. A difference of 0 in the 11 test means divisible.
  • Forgetting that a missing-digit question can have more than one answer for 3, and only one or two for 9 and 11.

Course · Beginner · Free

Quantitative Aptitude — Number System: Foundation

Foundation course on Number System (Quantitative Aptitude): the basics, explained from the start.

Test yourself on number system questions.

Take a practice test

Frequently asked questions

Why does the digit-sum rule work for 3 and 9?

Because 10 leaves remainder 1 when divided by 3 or 9, so every power of 10 does too. A number leaves the same remainder as its digit sum.

Is zero divisible by every number?

Yes. Zero divided by any non-zero number is exactly 0, with no remainder.

What is the rule for 6?

The number must be even and its digit sum must be a multiple of 3.

How do I check divisibility by 13 or 17 fast?

There are tests, but they are slow. Most exams use 2 to 12, so for 13 or 17 just divide.

Do these rules work in other number systems?

These tests are for the decimal system. Binary and other bases have their own tests.