Divisibility Rules

Check divisibility rules for any number from 2 to 12.

What are Divisibility Rules?

Divisibility rules are mental shortcuts that determine whether a number divides evenly by another number without performing full division. These rules use digit patterns β€” last digit, digit sum, or alternating digit sum β€” to test divisibility by integers from 2 through 12. A divisibility calculator automates all 11 tests at once.

There are 11 standard divisibility rules for divisors 2 through 12. The simplest rules check only the last digit (rules for 2, 5, and 10). The digit-sum rules (for 3 and 9) add all digits. The composite-divisor rules (for 6 and 12) combine 2 simpler rules. The rule for 7 is the most complex, requiring iterative subtraction.

All 11 Divisibility Rules Explained

DivisorRuleExample
2Last digit is even (0, 2, 4, 6, 8).128 β†’ last digit 8 (even) β†’ divisible by 2.
3Sum of all digits is divisible by 3.252 β†’ 2+5+2 = 9, 9 Γ· 3 = 3 β†’ divisible by 3.
4Last 2 digits form a number divisible by 4.1,324 β†’ last 2 digits = 24, 24 Γ· 4 = 6 β†’ divisible by 4.
5Last digit is 0 or 5.990 β†’ last digit 0 β†’ divisible by 5.
6Divisible by both 2 and 3.252 β†’ even AND digit sum 9 divisible by 3 β†’ divisible by 6.
7Double the last digit, subtract from remaining digits. Repeat until clear.1,001 β†’ 100 - 2Γ—1 = 98 β†’ 9 - 2Γ—8 = -7 β†’ divisible by 7.
8Last 3 digits form a number divisible by 8.1,120 β†’ last 3 digits = 120, 120 Γ· 8 = 15 β†’ divisible by 8.
9Sum of all digits is divisible by 9.990 β†’ 9+9+0 = 18, 18 Γ· 9 = 2 β†’ divisible by 9.
10Last digit is 0.120 β†’ last digit 0 β†’ divisible by 10.
11Alternating sum of digits (odd position minus even position) is 0 or divisible by 11.1,001 β†’ 1-0+0-1 = 0 β†’ divisible by 11.
12Divisible by both 3 and 4.252 β†’ divisible by 3 (digit sum 9) AND by 4 (52 Γ· 4 = 13) β†’ divisible by 12.

Divisibility Sieve Grid

Select a divisor to see its multiples highlighted in the grid (up to 100).

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100

Examples of Divisibility Analysis

Click on an example number to see a breakdown of which rules it passes and why.

120
Click to expand
252
Click to expand
990
Click to expand

Frequently Asked Questions

Divisibility rules work because of properties of the base-10 number system and modular arithmetic. The rule for 3 works because 10 ≑ 1 (mod 3).