Introduction
Divisibility tests are quick ways to tell whether one whole number divides another without carrying out long division. Many depend on familiar features such as a number’s last digit or the sum of its digits. Once you know why a test works, you can apply it mentally, check your arithmetic, and spot useful patterns in everyday calculations.
What a divisibility test tells you
A whole number is divisible by another whole number if the division leaves no remainder. For example, 42 is divisible by 7 because 42 ÷ 7 = 6, while 43 is not because the result is not a whole number.
A divisibility test is a shortcut for deciding whether that remainder is zero. It does not usually tell you the answer to the division itself; it tells you whether the division comes out evenly. The tests below apply to whole numbers, including zero where the rule makes sense, and to positive divisors.
The shortcuts work because our number system is based on ten. A number such as 583 can be written as 5 × 100 + 8 × 10 + 3. Since powers of ten have predictable remainders when divided by a chosen divisor, parts of a number can sometimes be combined, removed, or reduced without changing whether the whole number divides evenly.
Quick tests using the last digit
Divisibility by 2, 5, and 10
These are the simplest tests because they depend only on the final digit.
By 2: A whole number is divisible by 2 if its last digit is 0, 2, 4, 6, or 8. These are the even numbers. For instance, 1,738 is even because it ends in 8.
By 5: A number is divisible by 5 if it ends in 0 or 5. For example, 2,415 divides evenly by 5, while 2,416 does not.
By 10: A number is divisible by 10 if it ends in 0. In the base-ten system, each place value beyond the units place is a multiple of ten, so the final digit determines whether the number has any remainder when divided by 10.
Divisibility by 4 and 8
For 4, inspect the last two digits. A number is divisible by 4 if the number formed by those digits is divisible by 4. For example, 7,316 is divisible by 4 because 16 is divisible by 4. The thousands and hundreds contribute multiples of 100, and 100 itself is divisible by 4, so those earlier digits do not affect the remainder.
For 8, inspect the last three digits instead. A number is divisible by 8 if those digits form a number divisible by 8. Thus 24,136 is divisible by 8 because its last three digits, 136, divide evenly by 8. The digits before them represent multiples of 1,000, and 1,000 is divisible by 8.
If a number has fewer than two or three digits, use the entire number for the relevant test. Leading zeroes do not change the value: for instance, the last three digits of 42 can be treated as 042.
Tests based on adding digits
Divisibility by 3 and 9
Add the digits of the number. If their sum is divisible by 3, the original number is divisible by 3. If their sum is divisible by 9, the original number is divisible by 9.
For example, the digits of 5,832 add to 18. Since 18 is divisible by both 3 and 9, 5,832 is divisible by both. For 4,127, the digit sum is 14, which is not divisible by 3 or 9, so neither test is passed.
The reason is that 10 leaves a remainder of 1 when divided by 9, and the same is true of 100, 1,000, and higher powers of ten. As a result, a number has the same remainder after division by 9 as the sum of its digits. The same reasoning also works for 3.
For a long number, you can repeat the process. If a digit sum is still large, add its digits again. For example, 8,745 has a digit sum of 24, and 2 + 4 = 6. Because 6 is divisible by 3 but not by 9, 8,745 is divisible by 3 but not by 9.
Combining simple tests
Divisibility by 6 and 12
A number is divisible by 6 if it is divisible by both 2 and 3. So check that it is even, then add its digits and check that the sum is divisible by 3. For 1,254, the last digit is even and the digit sum is 12, so the number is divisible by 6.
A number is divisible by 12 if it is divisible by both 3 and 4. Check the digit sum for divisibility by 3, then check the last two digits for divisibility by 4. For example, 3,156 passes both tests: its digit sum is 15, and its last two digits, 56, are divisible by 4.
These combined tests work because 6 is made from the factors 2 and 3, while 12 is made from 3 and 4. In general, being divisible by each of two numbers guarantees divisibility by their product when the two numbers share no common factor greater than 1. When they do share factors, check the required prime factors and powers carefully. For example, a number divisible by both 4 and 6 is divisible by 12, but simply multiplying 4 by 6 would suggest 24, which is not required.
More distinctive mental tests
Divisibility by 11
Starting at one end of the number, add every other digit, then add the remaining digits. Find the difference between the two sums. The number is divisible by 11 if that difference is 0 or another multiple of 11.
For 2,728, one group is 2 + 2 = 4 and the other is 7 + 8 = 15. Their difference is 11, so 2,728 is divisible by 11. The groups can be swapped without changing the result, and the difference may be negative; what matters is whether it is a multiple of 11.
This alternating-sum rule comes from the fact that powers of ten alternate between remainders 1 and −1 when divided by 11. The alternating pattern therefore preserves the number’s remainder for this test.
Divisibility by 7
One useful test for 7 is to remove the last digit, double it, and subtract that result from the number made by the remaining digits. If the result is divisible by 7, the original number is too. You can repeat the process until the result is small enough to recognize.
For 203, the remaining digits are 20 and the last digit is 3. Calculate 20 − 2 × 3 = 14. Since 14 is divisible by 7, 203 is also divisible by 7. For 371, calculate 37 − 2 × 1 = 35, which is divisible by 7; therefore 371 is divisible by 7.
The result can be negative, and that is not a problem: a negative multiple of 7 is still a multiple of 7. If the calculation produces an inconvenient number, repeating the rule or using ordinary division may be simpler. Unlike the tests for 2, 5, or 9, the 7 test is a shortcut rather than an especially quick glance at one digit.
A handy test for 13
For 13, take the last digit, multiply it by 4, and add that to the number formed by the remaining digits. If the result is divisible by 13, so is the original number. Repeat if useful.
For 286, calculate 28 + 4 × 6 = 52. Since 52 is divisible by 13, 286 is divisible by 13. This rule follows from the relationship between powers of ten and remainders when divided by 13. It is a less familiar test, so for difficult numbers it may be easier to verify the result with division or a calculator.
How to choose a test efficiently
Begin with the divisor’s factors. If the divisor is 10, the final digit settles the question. If it is 6, combine the tests for 2 and 3. If it is 12, combine the tests for 3 and 4. This often turns an unfamiliar divisibility question into two familiar checks.
For a large number, use the test that reduces the most work. A digit sum is often convenient for 3 or 9; the final two or three digits are convenient for 4 or 8. The 7 and 13 rules can shrink a number over repeated steps, though they may involve more arithmetic than a quick division.
Remember that a test answers a yes-or-no question. If you need the quotient, you still have to divide. A test can also help check a calculation: if a claimed result does not pass a necessary divisibility test, there is an error somewhere.
Common mistakes to avoid
For the tests for 4 and 8, use the final two or three digits respectively, not the digit sum. The digit-sum shortcut applies to 3 and 9, not generally to other divisors. For example, a number’s digits can add to a multiple of 9 even though its last two digits are not divisible by 4.
When combining tests, use the correct conditions. Passing the test for 2 alone does not show divisibility by 6; the number must also pass the test for 3. Similarly, passing the test for 3 does not establish divisibility by 12 without the test for 4.
Finally, apply each rule to the number as written and keep track of signs and arithmetic. A subtraction result of zero is divisible by every positive divisor, and a negative result can still be a multiple. If a mental calculation feels uncertain, direct division is a perfectly sound way to confirm it.
Conclusion
Divisibility tests turn many division questions into quick checks: inspect the last digit, look at the final few digits, add digits, or combine simpler rules. The tests for 2, 3, 4, 5, 8, 9, and 10 are especially easy to use, while rules for 7, 11, and 13 offer further shortcuts. Knowing the reasoning behind them makes the tests easier to remember and apply correctly.

