Skip to content

Divisibility Rules Cheat Sheet: Quick Tests for 2 to 12

By Sprout Calculator Editorial Team Bylines · Published November 5, 2026 · Updated November 6, 2026

Divisibility rules let you tell whether one number divides another without doing long division. Check the last digit for 2, 5 and 10, add the digits for 3 and 9, and look at the last two or three digits for 4 and 8. Combine rules to test 6 and 12.

What does divisible mean, and why use divisibility rules?

A number is divisible by another if the division leaves no remainder. We say 84 is divisible by 7 because 84 ÷ 7 = 12 exactly. We say 85 is not divisible by 7, because 85 ÷ 7 leaves a remainder of 1.

A divisibility rule is a shortcut that answers the question by looking at the digits. It is quicker than dividing. It also helps you break a number into prime factors, simplify fractions and spot mistakes in your work.

What are the rules for 2, 5 and 10?

These three depend on the last digit only.

  • 2: The number ends in 0, 2, 4, 6 or 8. Example: 3,476 ends in 6, so it is divisible by 2.
  • 5: The number ends in 0 or 5. Example: 2,915 ends in 5, so it is divisible by 5.
  • 10: The number ends in 0. Example: 4,130 ends in 0, so it is divisible by 10.

A number that is divisible by both 2 and 5 is automatically divisible by 10. That is why only numbers ending in 0 pass the test for 10.

What are the rules for 3 and 9?

Add up the digits. If the sum is divisible by 3, so is the number. If the sum is divisible by 9, so is the number.

Test 4,581. The digits add to 4 + 5 + 8 + 1 = 18. Since 18 is divisible by both 3 and 9, the number 4,581 is divisible by both. Check: 4,581 ÷ 9 = 509.

Test 2,347. The digits add to 16. That is not divisible by 3 or by 9, so 2,347 is neither. If the digit sum is still large, add its digits again. For 98,765, the digits add to 35, then 3 + 5 = 8, so it is not divisible by 3.

What are the rules for 4 and 8?

For 4, look at the last two digits. If they form a number divisible by 4, so is the whole number. For 8, look at the last three digits and test them for 8.

  • Test 1,732 for 4. The last two digits are 32, and 32 ÷ 4 = 8. So 1,732 is divisible by 4. Indeed, 1,732 ÷ 4 = 433.
  • Test 5,128 for 8. The last three digits are 128, and 128 ÷ 8 = 16. So 5,128 is divisible by 8.
  • Test 3,150 for 4. The last two digits are 50, and 50 ÷ 4 leaves a remainder of 2. So 3,150 is not divisible by 4.

These work because 100 is a multiple of 4 and 1,000 is a multiple of 8. Everything before the last digits is already divisible, so only the end matters.

What are the rules for 6 and 12?

Combine two simpler rules. A number is divisible by 6 if it passes the tests for 2 and 3. A number is divisible by 12 if it passes the tests for 3 and 4.

Test 1,248 for 6. It ends in 8, so it is even. Its digits add to 15, which is divisible by 3. So it is divisible by 6. Check: 1,248 ÷ 6 = 208.

Test 756 for 12. The digits add to 18, so it passes for 3. The last two digits are 56, and 56 ÷ 4 = 14, so it passes for 4. So 756 is divisible by 12. Check: 756 ÷ 12 = 63.

Do not use 2 and 6 together to test for 12. A number like 18 is divisible by 2 and 6 but not by 12. Use the pair 3 and 4, which share no factors.

What is the rule for 7?

Double the last digit and subtract it from the number made by the other digits. If the result is a multiple of 7, the original number is too. Repeat if the result is still large.

Test 693. The last digit is 3, and doubling gives 6. The rest of the number is 69. Subtract: 69 − 6 = 63. Since 63 = 7 × 9, the number 693 is divisible by 7. Check: 693 ÷ 7 = 99.

Test 1,547. The last digit is 7, and doubling gives 14. The rest is 154. Subtract: 154 − 14 = 140, which is 7 × 20. So 1,547 is divisible by 7, since 1,547 ÷ 7 = 221.

What is the rule for 11?

Add the digits in the odd positions and add the digits in the even positions. Subtract the two sums. If the difference is 0 or a multiple of 11, the number is divisible by 11.

Test 2,728. Reading from the right, the digits in odd positions are 8 and 7, which add to 15. The digits in even positions are 2 and 2, which add to 4. The difference is 15 − 4 = 11. So 2,728 is divisible by 11. Check: 2,728 ÷ 11 = 248.

Rules for 13 and larger divisors

13: Multiply the last digit by 4 and add it to the rest of the number. If the result is a multiple of 13, so is the original. Test 1,001: 100 + 4 × 1 = 104, then 10 + 4 × 4 = 26 = 2 × 13. So 1,001 is divisible by 13.

Many larger divisors are combinations of rules you already have. Pair two divisors that share no common factor:

DivisorTestExample
15passes 3 and 52,145: digit sum 12, ends in 5, so yes
16last four digits divisible by 1631,248: 1,248 ÷ 16 = 78, so yes
18passes 2 and 97,362: even, digit sum 18, so yes
20last two digits are 00, 20, 40, 60 or 806,540 ends in 40, so yes
25last two digits are 00, 25, 50 or 757,425 ends in 25, so yes
100ends in 003,700, yes; 3,750, no

The same warning as for 12 applies: 2 and 9 work for 18, but 3 and 6 do not, because 3 and 6 share a factor.

Divisibility chart for sample numbers

Each tick means the number divides evenly. Try to predict a row with the rules before you read it.

Number2345678910111213
360✓✓✓✓✓–✓✓✓–✓–
1,001–––––✓–––✓–✓
2,310✓✓–✓✓✓––✓✓––
5,040✓✓✓✓✓✓✓✓✓–✓–
7,425–✓–✓–––✓–✓––

Notice 1,001. It fails every small test but passes 7, 11 and 13, because 1,001 = 7 × 11 × 13. And 5,040 is divisible by everything from 2 to 10, since it is 7 × 6 × 5 × 4 × 3 × 2.

Why do the rules work?

Each rule comes from what 10 leaves as a remainder.

  • 3 and 9. 10 is one more than 9, so 10, 100, 1,000 and every power of 10 leave remainder 1 when divided by 9 (or 3). A number like 4,581 is 4 × 1,000 + 5 × 100 + 8 × 10 + 1, which leaves the same remainder as 4 + 5 + 8 + 1.
  • 11. 10 is one less than 11, so the powers of 10 leave remainders of 1, −1, 1, −1 in turn. That is why the digits are added and subtracted alternately.
  • 7. Write the number as 10a + b, where b is the last digit. Multiplying by −2 does not change whether a number is a multiple of 7, and −2 × (10a + b) = −20a − 2b, which is a − 2b plus a multiple of 21. So 10a + b and a − 2b pass or fail together.
  • 13. The same idea with 4 instead of −2: 4 × (10a + b) = 40a + 4b, which is a + 4b plus a multiple of 39.

You do not need the proofs to use the rules, but they explain why a rule for 7 looks so different from the rule for 3.

How do you use the rules to factor a number?

Run through the rules in order, from the smallest prime up. Divide whenever a rule says yes, and carry on with the quotient.

Factor 2,520.

  1. It ends in 0, so divide by 2 to get 1,260.
  2. Divide by 2 again to get 630, and again to get 315.
  3. 315 ends in 5, so divide by 5 to get 63.
  4. 63 has digits adding to 9, so divide by 3 to get 21, and by 3 to get 7.

So 2,520 = 2³ × 3² × 5 × 7. The same method is the basis of prime factorization. You can confirm it with the factor calculator.

How do the rules help simplify fractions?

Find a common divisor of the top and bottom, divide both, and repeat. The rules tell you which divisors to try.

Simplify 168⁄252.

  • Both end in even digits, and 68 and 52 are divisible by 4. Divide by 4 to get 42⁄63.
  • The digits of 42 add to 6 and of 63 add to 9. Both are divisible by 3. Divide by 3 to get 14⁄21.
  • Both are multiples of 7. Divide by 7 to get 2⁄3.

The fraction in lowest terms is 2⁄3. The greatest common factor of 168 and 252 is 4 × 3 × 7 = 84. Our GCF calculator finds it in one step, and you can read more in GCF and LCM explained.

Where do the shortcuts trip people up?

  • Using only the last digit for 3 or 9. These need the digit sum, not the last digit.
  • Testing 4 with only the last digit. Use the last two digits.
  • Testing 12 with 2 and 6. Use 3 and 4.
  • Making a sign slip with the rule for 7 or 11. Write each subtraction on its own line.
  • Stopping at one rule. A number can pass several tests. Check them all before you divide.

Quick reference table

DivisorTest
2Last digit is even
3Digit sum divisible by 3
4Last two digits divisible by 4
5Last digit is 0 or 5
6Passes both 2 and 3
7Double the last digit, subtract from the rest
8Last three digits divisible by 8
9Digit sum divisible by 9
10Last digit is 0
11Alternating digit sum is 0 or a multiple of 11
12Passes both 3 and 4
13Four times the last digit, added to the rest
25Last two digits 00, 25, 50 or 75

Test yourself

Use the rules, then check the answers.

  1. Is 4,374 divisible by 9? Yes. The digits add to 18, and 4,374 ÷ 9 = 486.
  2. Is 9,152 divisible by 8? Yes. The last three digits, 152, are 8 × 19.
  3. Is 3,003 divisible by 7? Yes. 300 − 6 = 294, then 29 − 8 = 21, which is 7 × 3. So 3,003 = 7 × 429.
  4. Is 8,437 divisible by 11? Yes. From the right, 7 − 3 + 4 − 8 = 0, and 8,437 = 11 × 767.
  5. Is 45 divisible by 9? Yes. 4 + 5 = 9.

To see every factor of a number at once, use the factor calculator.

FAQ

Frequently asked questions

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

Each power of 10 is one more than a multiple of 9, because 10 = 9 + 1 and 100 = 99 + 1. So a number leaves the same remainder as the sum of its digits when divided by 9, and also when divided by 3.

02Is there a rule for 7?

Yes. Double the last digit and subtract it from the rest of the number. If the result is a multiple of 7, so was the original. You can repeat the step on larger numbers. The rule is less handy than the others, so many people just divide.

03Do divisibility rules work for negative numbers?

Yes. Ignore the minus sign and apply the same test. Negative 84 is divisible by 4, 3 and 12 for the same reasons 84 is. Divisibility depends on whether the division leaves a remainder of zero, and the sign does not change that.

04What is the divisibility rule for 11?

Alternately add and subtract the digits from left to right. If the result is 0 or a multiple of 11, the number is divisible by 11. For 2,728: 2 − 7 + 2 − 8 = −11, so 2,728 is divisible by 11, and 2,728 ÷ 11 = 248.

05Can I combine divisibility rules?

Yes, for numbers made of factors that share no common factor. A number divisible by both 3 and 4 is divisible by 12. But passing the tests for 2 and 4 does not prove divisibility by 8, because 2 and 4 share a factor.

06What is the divisibility rule for 13?

Multiply the last digit by 4 and add the result to the rest of the number. Repeat until the number is small. If you reach a multiple of 13, the original is divisible by 13. For 1,001: 100 + 4 = 104, then 10 + 16 = 26, which is 2 × 13.

07Is 45 divisible by 9?

Yes. The digits of 45 add to 4 + 5 = 9, and any number whose digit sum is divisible by 9 is itself divisible by 9. Indeed, 45 ÷ 9 = 5.