Divisibility Rules

Shortcuts to see whether a number divides evenly — without doing the division.

Divisible byRuleExample
2The last digit is even (0, 2, 4, 6, 8).1,358 ends in 8 ✓
3The sum of the digits is divisible by 3.2,451: 2 + 4 + 5 + 1 = 12 ✓
4The last two digits form a number divisible by 4.7,316: 16 ÷ 4 = 4 ✓
5The last digit is 0 or 5.4,935 ✓
6Divisible by both 2 and 3.1,242: even, digits sum to 9 ✓
7Double the last digit and subtract it from the rest; if the result is divisible by 7, so is the number (repeat if needed).203: 20 − 6 = 14 ✓
8The last three digits form a number divisible by 8.5,104: 104 ÷ 8 = 13 ✓
9The sum of the digits is divisible by 9.3,654: 3 + 6 + 5 + 4 = 18 ✓
10The last digit is 0.870 ✓
11Alternately add and subtract the digits; if the result is divisible by 11 (0 counts), so is the number.2,728: 2 − 7 + 2 − 8 = −11 ✓
12Divisible by both 3 and 4.1,524: digits sum 12, 24 ÷ 4 ✓

Using the rules to find factors

Run through the rules from 2 to 12 to find small factors fast, then divide to get the partner of each. To list every factor of a number, use the factor calculator; to test for primes, the prime checker.

Frequently asked questions

What is the divisibility rule for 3?

Add the digits; if the sum is divisible by 3, so is the number.

What is the divisibility rule for 7?

Double the last digit and subtract it from the rest of the number; if the result is a multiple of 7, so is the original. Repeat for big numbers.

What is the divisibility rule for 4?

Look at the last two digits: if they form a multiple of 4, the number is divisible by 4.