Or search by topic
Published 1997 Revised 2021
As you go along, you can use the interactivity in Dozens to test your understanding of the different divisibility rules.
In this article 'number' will always mean 'positive whole number'.
The easiest divisibility tests are for $2$ and $5$.
A number is divisible by $2$ if its last digit is even, and by $5$ if its last digit is $0$ or $5$.
Click to read why these tests work.
A number is divisible by $4$ if the number represented by its last two digits is a multiple of $4$, and it is a divisible by $8$ if the number represented by its last three digits is a multiple of $8$.
Click to read why these tests work.
A number is divisible by $3,$ or $9,$ if the sum of its digits is divisible by $3$ or $9.$
For example, $89474$ is divisible by $3$ if $8+9+4+7+4 = 32$ is divisible by $3,$ (which is divisible by $3$ if $3+2=5$ is divisible by $3).$ Since it's not, $89474$ is not divisible by $3.$
Click to read why these tests work.
$10$ is $9 + 1$ = (a multiple of $3$) + $1$
So $20$ is $(2\times 9) + 2$ = (a multiple of $3$) + $2$
$30$ is $(3\times 9) + 3$ = (a multiple of $3$) + $3$...
... and $80$ is $(8\times 9) + 8$ = (a multiple of $3$) + $8$...
... and so $81$ = (a multiple of $3$) $ + 8 + 1$
and so if $8 + 1$ = a multiple of $3$, $81$ is a multiple of $3$
and $82$ = (a multiple of $3$) $ + 8 + 2$
and so if $8 + 2$ = a multiple of $3$, $82$ is a multiple of $3$
and $86$ = (a multiple of $3$) $ + 8 + 6$
and so if $8 + 6$ = a multiple of $3$, $86$ is a multiple of $3$
For $257$, we note that $100$ is $99 + 1$, so $200=(2\times 99)+2$ = (a multiple of $3$) + $2$
Therefore $257=(($a multiple of $3)+2)+(($a multiple of $3)+5)+7 = ($a multiple of $3) + 2 + 5 + 7$
Once again, $257$ is a multiple of 3 if and only if the sum of its digits is a multiple of $3$. Since $2 + 5 + 7$ is not a multiple of $3$, neither is $257$.
In general, $10=9+1$, $100=99+1$, $1000=999+1$ and so on, so every 'power' of $10$ (like $10$, $100$, $1000$, $10000$ and so on) is just $1$ more than a multiple of $3$. This means the test can be applied to a number with any number of digits.
Because $10=9+1$, $100=99+1$, $1000=999+1$ and so on, we can see that every power of $10$ is just $1$ more than a multiple of $9$, and so this method for divisibility by $3$ works for $9$ too.
A number is divisible by $6$ if and only if it is divisible by both $2$ and $3$. It is divisible by $12$ if and only if it is divisible by both $3$ and $4$.
Click to read why these tests work and to find out about tests for other composite numbers.
To determine whether a number is a multiple of $11$, take the ones/units digit, then subtract the tens digit, add the hundreds digit, subtract the thousands digit, and so on until you've added or subtracted all of the digits. If the result is a multiple of $11,$ then so is the original number.
Click to see how this test works.
There isn't a quick test using the digits to see if a number is a multiple of $7,$ but there is an efficient method to work out if it is. Click to see it.
Thinking about remainders, it's possible to devise a divisibility test for any number. Click to read more.
Thinking about remainders, it's possible to check the answers to calculations involving multiplication. Click to read more.
An alternative way to think about using remainders is to use modular arithmetic (see the article Modular Arithmetic). For example, since $30 = 4 \times 7 + 2$ we have $30 \equiv 2 \text{ mod }7$, i.e. $30 \text{ mod }7$ is equal to the remainder when $30$ is divided by $7$. Click to read more.
With some ingenuity, particular tests can be contrived for some integers. Click to see some examples and challenges.
If the digits $5$, $6$, $7$ and $8$ are inserted at random in $3$_$1$_$4$_$0$_$92$ (one in each space), what is the probability that the number created will be a multiple of $396$?
The ten digit number will be a multiple of $4$, $9$ and $11$ ($2^2\times 3^2\times 11 = 396$) irrespective of where the digits $5$, $6$, $7$ and $8$ are placed.
Make a set of numbers that use all the digits from 1 to 9, once and once only. Add them up. The result is divisible by 9. Add each of the digits in the new number. What is their sum? Now try some other possibilities for yourself!