Divisibility Test Calculator

Divisibility Test

Check if a number is divisible by common integers and learn the rules.

Last updated: March 2026 | By ForgeCalc Engineering

Divisible by2
Divisible by3
Divisible by4
Divisible by5
Divisible by6
Divisible by7
Divisible by8
Divisible by9
Divisible by10
Divisible by11
Divisible by12
Divisible by13

Common Divisibility Rules

2

Rule for 2

Last digit is even

3

Rule for 3

Sum of digits is divisible by 3

4

Rule for 4

Last two digits are divisible by 4

5

Rule for 5

Last digit is 0 or 5

6

Rule for 6

Divisible by both 2 and 3

7

Rule for 7

Double last digit and subtract from rest

8

Rule for 8

Last three digits are divisible by 8

9

Rule for 9

Sum of digits is divisible by 9

10

Rule for 10

Ends in 0

11

Rule for 11

Alternating sum of digits is divisible by 11

12

Rule for 12

Divisible by both 3 and 4

13

Rule for 13

Add 4 times last digit to rest

Why Use Divisibility Tests?

Divisibility tests are mental shortcuts that allow you to determine if a large number is divisible by a smaller one without performing long division. These rules are essential for simplifying fractions, finding prime factors, and modular arithmetic.

Most rules are based on the properties of our base-10 number system. For example, the rule for 3 and 9 works because 10 is 1 more than 9, meaning any power of 10 leaves a remainder of 1 when divided by 9 or 3.

Frequently Asked Questions

What is the rule for 7?

Double the last digit and subtract it from the rest of the number. If the result is divisible by 7, the original number is too. (e.g., 203: 20 - (3*2) = 14, which is 7*2).

Can these rules be combined?

Yes! For composite numbers like 6 (2*3) or 12 (3*4), a number is divisible if it passes the rules for its relatively prime factors.

Is there a rule for every number?

Technically yes, but some rules (like for 17 or 19) are so complex that long division might actually be faster.

Why does the rule for 3 work?

Because 10 ≡ 1 (mod 3). This means 100 ≡ 1, 1000 ≡ 1, and so on. Any number can be written as a sum of its digits multiplied by powers of 10, so the whole number is congruent to the sum of its digits.

Related Tools